I've been working on a very small project and I just need someone to point me in the right direction.
I'm attempting to wire a small dc circuit. The basic idea is: given two small phototransistors, spin a little dc motor either forward or backward. If the first phototransistor has light, spin the motor one way, if light is on the other transistor, spin the opposite direction.
I currently have a single phototransistor connected to the base of a medium power transistor which allows me to spin the motor in one direction. This works. That's it. The next part is a hurdle for me.
I've read online that an h-bridge configuration is roughly what I need to do this job. So I kinda started to imagine an h-bridge. I figured one pair of switches (running forward through the motor) would be controlled by the first phototransitor and the other set of switches (running through the motor in reverse) controlled by the second phototransistor Can't seem to wire it right so it works on a single battery.
I'd appreciate anyone's help.
Also, is their a recommend modeling software (using linux) where I could draw this type of thing?
I'm attempting to wire a small dc circuit. The basic idea is: given two small phototransistors, spin a little dc motor either forward or backward. If the first phototransistor has light, spin the motor one way, if light is on the other transistor, spin the opposite direction.
I currently have a single phototransistor connected to the base of a medium power transistor which allows me to spin the motor in one direction. This works. That's it. The next part is a hurdle for me.
I've read online that an h-bridge configuration is roughly what I need to do this job. So I kinda started to imagine an h-bridge. I figured one pair of switches (running forward through the motor) would be controlled by the first phototransitor and the other set of switches (running through the motor in reverse) controlled by the second phototransistor Can't seem to wire it right so it works on a single battery.
I'd appreciate anyone's help.
Also, is their a recommend modeling software (using linux) where I could draw this type of thing?