I am trying to re-purpose an RC/remote control to interface to an Atmel AVR MCU. The existing output of the R/C receiver drives a small DC motor with +/- 3 volts on two wires out. The motor will be discarded. This corresponds to pressing one of two switches on the transmitter. Let's call them S1 and S2. When S1 is pressed, the receiver outputs 0,+3V. When S2 is pressed, the receiver outputs 0,-3V, i.e. the polarity on the two outputs is reversed. I need a simple/cheap cicruit that can detect the polarity and drive two mutually exclusive outputs (A,B) to Vcc. When no switch is pressed (0 volts out on the R/C), both should be low. When +3v is present, A goes high.
WHen -3 volts is pressed, B goes high. I am thinking I need some kind of comparator, did some googling for "polarity detection circuit" and have not had much success. Any suggestions would be appreciated!
Thanks,
Leor
WHen -3 volts is pressed, B goes high. I am thinking I need some kind of comparator, did some googling for "polarity detection circuit" and have not had much success. Any suggestions would be appreciated!
Thanks,
Leor