Powering problem with nano and 4 relays
-
Hi
Can anyone help me with my relay control?
I can't control my relays without my arduino nano is connected by USB to PC or power supply.
In the setup i already have an 5V 1A power supply connected.
/Nikolaj
-
The fritzling looks ok.
Speculating: Could it for some reason pull too much from the gpios when controlling the relays?
If you have a multimeter, measure the current on one of the gpios, when turning on a relay.
-
Try running relay-ground through the arduino and not directly to source gnd?
-
@hek The currunt is 0,002A from arduino pin4 to IN2 on the relay board
@sundberg84 Din't work with the GND from the arduino
Update it will only work when it's connected USB to the PC with the monitor program and remove the jumper on the relay board (JD-VCC - VCC current 0,308A).
-
I think you should start by measuring voltage across VCC and GND on your Arduino pins when USB is not connected. On a lot of these breadboards "GND" and "VCC" rails are not connected the whole "width". Its not unusual that VCC is separated into two rails. Sometimes both VCC and GND are separated in the center of the rails.
Of course I can't see your actual setup but if it looks something like that image it can be a good idea to check connections between DC-plug and VCC/GND on you Arduino.
Worth a try.
-
@peka VCC and GND on arduino is 5,337V and from Pin 3-6 to IN1-4 i messurt 4,3V
Update i can trigger the relay when i remove the jumper
Suggested Topics
-
Day 1 - Status report
Announcements • 23 Mar 2014, 22:45 • hek 24 Mar 2014, 20:12 -
Forum Search not working?
Troubleshooting • 4 Oct 2023, 23:33 • Gibber 2 Sept 2024, 20:28 -
DHT22 wrong sensor type in Home Assistant
Troubleshooting • 17 days ago • Commodoreuno 11 days ago -
JSN SR04T - Temperature Influencing Readings
Troubleshooting • 6 Sept 2019, 07:51 • Timbergetter 30 days ago -
Getting system time from the controller
Troubleshooting • 27 Feb 2025, 01:39 • dpcons 3 Mar 2025, 01:00 -
NODs stop responding, but ping works.
Troubleshooting • 8 Mar 2025, 19:47 • Marcin 8 Mar 2025, 19:47