You're right, I slipped up this time!There should be dots at the junctions between the 10K and 100K resistors.
You're right, I slipped up this time!There should be dots at the junctions between the 10K and 100K resistors.
When both inputs are either high or low the chip goes into "Apply the Brakes" mode, as they term it, so I expect either both upper, OR both lower transistors/MOSFET's are turned on.What does the L9100 driver do when both direction inputs go high at the same time??Now that I can see a circuit schematic it is clear that is what is happening now.
That appears to be what is happening when neither sensor is activared, based on the circuit in post #19. If neither transistor is conducting because neither sensor is activated, then both outputs are high.When both inputs are either high or low the chip goes into "Apply the Brakes" mode, as they term it, so I expect either both upper, OR both lower transistors/MOSFET's are turned on.
Thank you for this!Ok, here's what I mean. I've drawn all the voltages as if connected to the same 5V supply, but if you wish to run the diode from a lower voltage, don't forget the resistor! Just make sure that it's a suitable value.
View attachment 314293
EDIT: Image corrected!
With my circuit attached, and the inputs IA & IB connected to the collectors of the transistors Q5 & Q6, and no buttons pressed, the voltage on both inputs should be pulled High by the 1k resistors to approximately+5v, and the motor should be stopped.Thank you for this!
Although I am somewhat confused by this design. To my understanding the 5V running through the 1k Ohm resistor would result in almost no voltage flowing to the IA or IB pins. Also when the button is pushed down and the opto npn transistor is not active, the Q1 npn opens therefore setting the IB voltage to 0V when it shouldn't resulting in the motor not spinning. Please let me know if I am understanding this wrong.
Ok thanks! I understand now, I appreciate the help!With my circuit attached, and the inputs IA & IB connected to the collectors of the transistors Q5 & Q6, and no buttons pressed, the voltage on both inputs should be pulled High by the 1k resistors to approximately+5v, and the motor should be stopped.
If either buttons is pressed, the corresponding input, either IA or IB should be pulled Low to nearly 0V, and the motor should rotate!
Is it working?Ok thanks! I understand now, I appreciate the help!