DIY - Relay Switch Motor Controller - Arduino - 4 Steps (With Pictures) - Instructables
DIY - Relay Switch Motor Controller - Arduino - 4 Steps (With Pictures) - Instructables
Download Favorite
auto=webp&frame=1&width=1024&height=1024&fit=bounds&md=b41f824e53a37004c4c4e842747858a8)
(https://content instructables com/FNS/3H7F/I9UDIRDM/FNS3H7FI9UDIRDM jpg?
(/member/Simple-Circuits/)
By Simple-Circuits (/member/Simple-
Circuits/)
SimpleCircuits More by
(http://www.youtube.com/channel/UCh5aXlcWXmVQ4ipj0y3qjbw?
the author:
&ab_channel=SimpleCircuits)
Follow
Hello everyone,
In this tutorial, we will be building a motor controller using two relay switches and an arduino.
9v battery: http://www.amazon.ca/Tenergy-Charger-250mah-Recha...
(http://www.amazon.ca/Tenergy-Charger-250mah-Rechargeable-Batteries/dp/B0045WGWCE)
http://www.dx.com/p/dd15-dc-9v-battery-button-pow... (http://www.dx.com/p/dd15-dc-9v-
battery-button-power-plug-for-arduino-2560-2560r3-uno-uno-r3-328-5-pcs-
273059#.VVLGlK1VhBcWires:)
Motor: http://www.amazon.ca/6760RPM-Rotary-Speed-bornes-...
(http://www.amazon.ca/6760RPM-Rotary-Speed-bornes-
%C3%A9lectriques/dp/B00RKCV0R8/ref=sr_1_9?ie=UTF8&qid=1432000905&sr=8-
9&keywords=9v+motor)
auto=webp&frame=1&width=1024&height=1024&fit=bounds&md=9e1895ec7dc88b74dfe1fa60a92a19e2)
(https://content instructables com/FLJ/BSNC/I9UDIRNF/FLJBSNCI9UDIRNF jpg? auto=webp&frame=1&width=1024&height=1024&fit=bounds&m
(https://content instructables com/FUZ/RJ2V/I9UD
Connections:
In this project, both wires from the motor will connect to both of the COM (middle) inputs of the
relay switches.
The positive wire from the 9v battery will connect to both of the NO (top) inputs.
The negative wire from the 9v battery will connect to both of the NC (bottom) inputs.
This external power supply (9v battery) will be used to power the motor. This can be changed to
control the speed of the motor.
auto=webp&frame=1&width=1024&height=1024&fit=bounds&md=5ed05dd9510e562b0fbdcfb8997b19d2)
(https://content instructables com/FY5/5M1H/I9UDIRTP/FY55M1HI9UDIRTP jpg? auto=webp&frame=1&width=1024&height=1024&fit=bounds&m
(https://content instructables com/FXY/22JL/I9U
Connection:
After we finish connecting the motor, all we need to do is power the relay switch module itself.
using the arduino, we can connect the wires and send signals to activate the relay switches.
auto=webp&frame=1&width=1024&height=1024&fit=bounds&md=eae95643cd05b89aa6aed2fdf035a226)
(https://content instructables com/FSZ/9W9E/I9UDJ29R/FSZ9W9EI9UDJ29R png?
//end of code//
https://drive.google.com/open?id=0Bwb-DkQkOX3jfkdI... (https://drive.google.com/open?
id=0Bwb-
DkQkOX3jfkdIRVRCYjRRZlJ5MUdtWlFHbWJDb3BvZlNGbXF5eTRTZUdJMUVjRjVaYlU&authuser=0
)
Add Tip V Ask Question | Comment Download
Step 4: Done!
auto=webp&frame=1&width=1024&height=1024&fit=bounds&md=0adaf730db6a05aa8a02b9cb6c3be2fa)
(https://content instructables com/FX0/QSUL/I9UDIRUV/FX0QSULI9UDIRUV jpg?
If everything was done correctly, you should end up with a motor that spins clockwise for 1
second and counter-clockwise for 1 second.
As always, you can modify the code and change the voltage for your own projects.
If you want to see this project in action, please click on the link below:
Participated in the
View Contest
Move It (/contest/flexbot/)
Farooqitj MattH320
(/member/Farooqitj/) (/member/MattH320/)
made it! made it!
I Made It!
Recommendations
w 1 69 8 8.7K
V |
Add Tip Ask Question Post Comment
47 Comments
Answer / Upvote
hi sir , how to add pir sensor on this circuit for maing it sensing motion
Answer / Upvote
Good Day , This I Build works well on DC motor , but I am busy with a AC 220 Volt Split Phase motor.
The motor is fitted with a centrifugal switch and that cause the problem Once the motor is CW motion
you cant change the direction before the centrifugal switch closes.
Some more information :
1/2 Hp 220 Volt Motor with Starting Winding, Red and Brown Wire Live and Neutral Starting Capacitor
330 Uf in series with Live
Directional , Crossover Switch was in Place before I get a Two Channel , Opto Isolated Relays
controlled by my Spark-fun Red Board , Same as UNO
Red and White is the Running Winding and desperately connected to Live and Neutral
Is there a other way to make the relays both "Low" to let the centrifugal switch close and to start the
CCW Motion
The motor starts perfectly with manual switch in both directions Amps 3.5 on 50 hz 220 Volt
I am 64 Years old on Pension and electronics and Programming was never part of my Scope
Help will be appreciated , Only God can Safe my 30 Year old Speed Queen