Arduino Relay Driver
Loading...
12,536
Uploader Comments (RuthJ180)
see all
Video Responses
see all
All Comments (18)
-
@aaronandnicole i am starting a new blog and my first post was a 4 channel relay driver check out at oscircuit blogspot. with pcb design and wathever
-
@Froggy19510 Thanks for checking out the video and thanks for the info. I read that it was there to protect against any surges but I didn't know exactly how they could happen.
-
Very good video. FYI there is always high voltage across the power leads on the relay when it releases. It acts like a solenoid and produces high voltage spikes . That is the reason for the diode.8)
-
i lke it....
Loading...
Great vid and detailed explaination (not to mention the high video quality) ☺
Thank You for uploading it!
I gather from this video and others that using an external power source would be in my best interest to drive my relays/servos/DC motors (inductive loads),... just to be on the safe side when the mA`s are in question.
TheTubejunky 5 months ago
@TheTubejunky, Glad you liked the video! I usually power the circuit on my breadboard with the 5V and Gnd in the Power header on the Arduino. There are a lot of options when it comes to powering your components. You could use a variable power supply, a batter pack, or a voltage converter with the right adapter so you can use power from a wall receptacle. Make sure you follow the schematic that is in the video notes. The diode is what will protect your power supply.
RuthJ180 5 months ago
That makes sense. I have just ordered a arduino mega and a 4 relay board for a differential temp/pump controller system. Did you have any problems with the relay needing to many Many mA. I think the arduion puts out about 40mA and the relays I need consume about 72. Do I wire up 2 output pins at once? Thanks in advance.
aaronandnicole 1 year ago
@aaronandnicole, I used relay with part number OJE-SH-105DM. It could handle up to 5 Amps at 240V AC. The data sheet for it says: Rated Coil Voltage = 5 VDC, Nominal Current = 91 mA, Must Operate Voltage = 3.5 VDC. I was able to use it with the Arduino. I don't think you can add current by having more than one output pin. I think you may need an external power source. The place you bought the relay board from may be able to anwser the question better. I'm always learning more about relays.
RuthJ180 1 year ago
question, why does everyone use arduino pin 3?
aaronandnicole 1 year ago
@aaronandnicole, I always take some sample code from the Arduino software and modify it. So I guess it always uses pin 3. According to the Arduino documentation: Each of the 14 digital pins on the Duemilanove can be used as an input or output, using pinMode(), digitalWrite(), and digitalRead() functions. Some pins have specialized functions also, check out the Arduino web site and choose the "Hardware" link. YouTube isn't letting me post the URL.
RuthJ180 1 year ago