Flip-Flop troubleshooting + wiring Transistor to control RC car


hey guys.  i'm working on building car starts / stops moving when exposed light.  i've got circuit set detect voltage corresponding light intensity, compare threshold voltage, , toggle flip-flop when detects pulse.  flip-flop (increased 9v op-amp) in turn controls whether or not current flow across transistor, in theory should cause rc transmitter transmit 'forward' signal.

however, there couple bugs in circuit.  first, flip-flop not transition between states each time receives pulse.  rather, acting normally-closed switch, transitioning open (turning off led indicator) upon incident light, , closed when light removed.  in other words, doesn't seem latching properly.

the flip-flop (cd4013) wired follows:
1: q led / transistor base
2: q bar data 1 (5)
3: clock 1 comparator output
4: reset 1 set (6) vss (7) ground
14: vdd red (9v)

the second issue lies transistor controlling transmitter.  can't seem controlled directly flip-flop, car runs when led comes on , stops when goes off.  currently, transistor either allows transmitted run in either toggle state or in neither toggle state (depending on how wire it).

the transistor portion of circuit shown base coming in @ 0/9v op-amp, +3v (two aas enclosed in transmitter) feeding collector, , emitter connecting 1k ohm resistor 0v end of transmitter.


here're couple images of circuit. first shows half of circuit master power switch led indicating flip-flop output.  green lead leaving @ top of image same 1 in second image.






and here's schematic of i'm trying do.  now, i'm mechanical engineer, theory might bit off -- correct me if i'm wrong, okay? :)



if guys @ all, appreciated.



Arduino Forum > Using Arduino > General Electronics > Flip-Flop troubleshooting + wiring Transistor to control RC car


arduino

Comments

Popular posts from this blog

Thread: PKI Client 5.00 install (for eToken Pro)

ATmega2560-Arduino Pin Mapping

Crossfader Arduino Tutorial