72V Motor with Arduino
We can't switch ON and OFF a 72V motor directly with an Arduino. But we can switch a 72V motor or higher voltage than 72V like 240V or higher through a Relay switch.
Don't know what is a Relay? click here!!
Now lets see how to turn ON and OFF that 72V motor by using Arduino.
For this we will need:
An Arduino board
An Relay or a Relay module(which comes with transistor, indication led and resistor build in)
A NPN transistor (BC547)
A Resistor (1K)
A diode(IN4007) for the protection of the Relay
Some connecting wires and breadboard
Connect the circuit as per the circuit diagram given below:
The diode in the above circuit is used to cut off the back EMF (Electro Magnetic Force) generated by the relay coil while it is demagnetizing, if your not using an diode then the back EMF generated by the coil inside the relay may damage the additional electronic components connected in the circuit.
Program Code:
void setup() {
// put your setup code here, to run once:
pinMode(5,OUTPUT);
}
void loop() {
// put your main code here, to run repeatedly:
digitalWrite(5,HIGH);
}
If you are using Arduino and trying to control a relay you can use a push button to turn the relay ON and OFF. But here there is no push button, therefore whenever the Arduino is powered it turns the relay ON and whenever the Arduino is OFF the relay also turned OFF. And also we can edit the program to set a timer delay like 5 seconds or 10 seconds which in further turn the relay ON and wait for 5 seconds and turn the relay OFF automatically.
Without an Arduino:
However, we can control a relay without an microcontroller like Arduino. In this way, if you are using 12V relay then you must need an 12V DC power supply(no matter you can use battery or power adaptor) because this power supply will switch the relay ON and OFF. In this switching circuit of the relay you can use simple slide or a normal switch available in the electronic store. Providing a slide switch or some other type of switches for the relay switching circuit is your own wish and for your own convenient.
For more internet of things and electronics related projects and doubts feel free to visit my site and
Don't forget to visit and subscribe our youtube channel:
0 Comments