The interlocks are specially important because if both relays are on it would be a short circuit.
Dc motor limit switch circuit.
Any help in amending the code to include the limit switches would be greatly appreciated as i am a bit out of my depth.
As illustrated the relays have to be dc same coil voltage as the motor but the bottom can be separated and fed from a different voltage.
The circuit uses 2 relays 2 limit switches and a dc motor.
Imagine you have two circuits each carrying the same current one is an ac circuit and the other is a dc circuit.
A very cool and easy dc motor speed controller circuit could be build using a just a single mosfet a resistor and a pot as shown below.
The motor should then rotate until it hits the other limit switch and then wait for the button to be pressed again to rotate in the opposite direction.
Since diode cr1 will not conduct with a negative potential across it the motor will stop.
Used to vary the pwm of the pulses at the output and which eventually is used for the speed regulation of the connected motor.
Enjoy the videos and music you love upload original content and share it all with friends family and the world on youtube.
The switch s1 is used to instantly reverse the motor direction whenever.