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 -
NODs stop responding, but ping works.
Troubleshooting • 8 Mar 2025, 19:47 • Marcin 8 Mar 2025, 19:47 -
JSN SR04T - Temperature Influencing Readings
Troubleshooting • 6 Sept 2019, 07:51 • Timbergetter 27 days ago -
DHT22 wrong sensor type in Home Assistant
Troubleshooting • 14 days ago • Commodoreuno 9 days ago -
Echo request is not set
Troubleshooting • 12 Aug 2024, 15:36 • kamilb85 3 Sept 2024, 08:58 -
Can not compile MySensors on esp8266
Troubleshooting • 24 Aug 2024, 15:35 • TheoL 29 Aug 2024, 20:47