I need to know if I can replace the input LEDs (IN1, IN2, IN3, IN4) by a diode or resistor and if this can help me to reduce the voltage consumption generated by these LEDs.

The circuit is a 4 relay module for use in Arduino and RPi projects. I have this module connected to my RPi, but the RPi show me a "LOW POWER" message when I connect the module to GPIO pins. The RPi is powered with their appropriate power supply.

4 channel relay schematic

4 channel relay PCB

4 channel relay product photo

(*) All pics taken from SUNFOUNDER. For more info about the relays module visit SUNFOUNDER.

  • \$\begingroup\$ What do you mean by 'Low Power Message' ...do you mean the lightning warning on the display? \$\endgroup\$ Apr 21, 2019 at 5:16
  • 1
    \$\begingroup\$ Why, why, why do the companies that make these things put optocouplers in the circuit, but then connect the grounds? If the grounds are connected, there's no point in the optocoupler. If you need the isolation provided by the optocoupler, then you shouldn't connect the grounds. Cargo cult design, I guess. \$\endgroup\$
    – JRE
    Apr 21, 2019 at 9:16
  • \$\begingroup\$ grounds are not connected in this circuit, than the supplies can be separated by jumper. \$\endgroup\$ Apr 21, 2019 at 12:17
  • 1
    \$\begingroup\$ there's no way that's going to overload the 2.5A raspberry pi power-supply, you're doing something wrong with the wiring. \$\endgroup\$ Apr 21, 2019 at 12:21

3 Answers 3


If you are unable to power the relay module with Raspberry Pi (i.e. the relays do not switch properly), it is because the module requires 5V input but RPi GPIO can only output 3.3V.

This problem can be solved by powering the relays with external 5V voltage source.

Follow this diagram:

enter image description here

The Low Power message is due to the relays drawing quite a lot of current from RPi power supply. Removing the LEDs won't solve the problem as those LEDs don't consume much current.

  • \$\begingroup\$ Hi @Electric_90, thanks for reply. I'm using external power supply in the relay module and the RPi only for signal, however the RPi shoe me the "LOW POWER" message when I connect the relay module and the LED's turn on. \$\endgroup\$ Apr 21, 2019 at 4:30
  • 1
    \$\begingroup\$ Can you confirm that the RPi is being powered with appropriate power supply (i.e. 5V, 1A or more) and your connections are as mentioned above. Try using a beefier 5V power supply (somehing like 1.5A - 2A) for RPi. \$\endgroup\$ Apr 21, 2019 at 4:33
  • \$\begingroup\$ Yes, the RPi is being powered by a 5V-2A power supply and the connections are as mentioned above. \$\endgroup\$ Apr 21, 2019 at 4:36
  • 1
    \$\begingroup\$ @EdwardNavarro, Removing LEDs will save power but not enough to create an impact on the performance. Try checking the RPi input voltage with a multi meter whether the voltage actually drops or not. \$\endgroup\$ Apr 21, 2019 at 4:44
  • 1
    \$\begingroup\$ The relays DO NOT draw power from the R'Pi )or Arduino) GPIO. The GPIO sinks current from the relay power supply. \$\endgroup\$ Apr 21, 2019 at 5:47

Removing the LEDs won't really help. The optocouplers require a certain current through their LEDs to turn on correctly. The manufacturer of the board will have designed it so that the combination of a 1K resistor and an external LED results in the correct current.

You could replace the LEDs with resistors. But you would have to choose resistors that give the same current as before. The end result is just as much current draw, and no indicators to tell you which outputs are on.


assuming that by their appropriate power supply you mean this one: https://www.raspberrypi.org/products/raspberry-pi-universal-power-supply/ that should have plenty of power to spare for 4 relays.

so I'm guessing you're trying to operate the relays of 3.3V. this may kind-of work, but the raspberry pi probably can't spare enough current from it 3.3V source

Connecting the VCC to +5V seems wrong as the GPIO is not 5V tolerant. but the optocoupler will drop about 0.9V and the LEDs will drop about 1.6V so the voltage seen at the GPIO will be well within the range allowed.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.