Introduction
I wanted to control a DC motor with a microcontroller but I didn't have a relay so I made one using a servo motor instead.
I have a DC motor which is rated for 24V. To control it with a microcontroller I either need a relay or an H bridge motor driver IC. But I didn't have those. used this servo motor which will act as a relay or a switch. It will complete the circuit or break the circuit similar to a relay or a switch.
This is a 24 Volts relay, it connects its contacts when powered with 24 volts. It can be used to control the motor. But we didn't use it.
Circuit Schematic With SPDTThis is what the circuit would have looked like if we had used a SPDT relay. But we used the servo instead and now it looks like this.
Real DesignThis is the real circuit, here we have a wire attached to the horn of the servo which is extended. When this arm rotates then this wire touches the metal strip completing the circuit. Arduino uno will be sending the commands to the servo motor and all the wiring and connections are done on the breadboard for quick prototyping.
Applications & LimitationsThis type of relay can be used to control any device with any voltage we have to enclose and secure this setup and we also have to take care of the sparks that get generated during connection and disconnection, these sparks damage both the connecting metallic parts. So using solid-state & transistor-based relays or switches like mosfets/igbts is better.
Comments