safely connecting a rc decoder
hello I reciently purchased a rc device from ebay and wish to connect it to my boebot for directional control.
All the seller gave on ebay as a pinout info was:
Pin Assignment :
I tested the decoder circut with my board of education vcc and vss was hooked·to vcc and ground·,·· vt wasnt hooked up to anything.
Do - D3 would·power a LED through a 470 ohm resistor just fine.
I used the same 470 ohm resistors and then connected the outputs to my bs2
I get a valid high signal·from the debug panel when testing but when trying to set up my robot program·do and d1 seem to work·but not d2 and d3
The servo just glitches when I push the button on the·transmitter button for d2 and d3.
I thought there might be a problem with my bs2 i/o pins used but I tested them also they will light a led with the high signal so I think they are ok.
Similarly the d2 and d3 will light a led when they are hooked up.
Could my current be to low from these two pins to correctly send a high signal?
Could it be because I havent hooked up the VT pin on the decoder ?
What is the lowest resistor·value ·I should place between DO - D3 and the BS2 i/o pins·· 220 ohm?
How should VT be hooked up·? I suspect that it may be an internal issue with the decoder·because VT isnt hooked up but i dont want to fry anything incorrectly hooking up the switching voltage vt.
Thanks in advance James.
·
All the seller gave on ebay as a pinout info was:
Pin Assignment :
- D0: Output 0
- D1: Output 1
- D2: Output 2
- D3: Output 3
- GND: Ground
- VT: Switching voltage (will be transmitted to the corresponding output when pressing a button)
- VCC: Supply Voltage
I tested the decoder circut with my board of education vcc and vss was hooked·to vcc and ground·,·· vt wasnt hooked up to anything.
Do - D3 would·power a LED through a 470 ohm resistor just fine.
I used the same 470 ohm resistors and then connected the outputs to my bs2
I get a valid high signal·from the debug panel when testing but when trying to set up my robot program·do and d1 seem to work·but not d2 and d3
The servo just glitches when I push the button on the·transmitter button for d2 and d3.
I thought there might be a problem with my bs2 i/o pins used but I tested them also they will light a led with the high signal so I think they are ok.
Similarly the d2 and d3 will light a led when they are hooked up.
Could my current be to low from these two pins to correctly send a high signal?
Could it be because I havent hooked up the VT pin on the decoder ?
What is the lowest resistor·value ·I should place between DO - D3 and the BS2 i/o pins·· 220 ohm?
How should VT be hooked up·? I suspect that it may be an internal issue with the decoder·because VT isnt hooked up but i dont want to fry anything incorrectly hooking up the switching voltage vt.
Thanks in advance James.
·
Comments
vt is an output, goes 1 when the output is valid.
It looks as though you should be inputing vt into bs2 as well and only reading D0-3 when Vt is high.
I will try that and see if that fixes the issue I am having.