![]() Vin pin of Arduino cannot easily supply this much current for both relay. Besides we are using 12v relay in this project. ** if you have two separate 12 v battery then connect one battery’s positive terminal to the negative terminal of another battery and use remaining two terminals as positive and negative.ĭigital pins of Arduino cannot supply the amount of current needed to turn on a normal 5v relay.Connect Potentiometer's end terminal to 5v pin and Gnd pin of Arduino respectively.Connect diode across relay exactly as shown in figure.Digital pin 2 and 3 of Arduino, each one in series with pushbutton, goes to base of transistors.Connect emitter terminal of both transistor to GND pin of Arduino.Out of two remaining terminals, one goes to the Vin pin of Arduino Uno and other to the collector terminal of transistor (for each relay).Connect motor in between the middle terminal of relays.Connect 10k resistor from gate to source and 1N4007 diode from source to drain. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |