I've created a simple H-Bridge circuit to control a 5V DC motor, and I'm trying to have the motor go forward when a normally open push button is pressed, then have it switch to reverse once the output of a photoelectric sensor becomes true (which will not be held). I'm not sure how to latch the motor into forward, then unlatch the forward and latch the reverse. Any input would be appreciated. I attached a picture of the way I'm seeing this circuit in my head (in ladder logic), and once again, I'm just not sure how to create this with a small budge and a 9V - 5V power supply. I have the supply switching, emergency stop, and everything else figured out, I'm only trying to figure out how to switch inputs without having to hold a button or anything.
9.1 KB Views: 14