Lagos, Nigeria
info@ezefidelity.com

[FIX] Raspberry Pi relay not working



How do I fix my relay not working on Raspberry Pi?

1. Reconnect your relay

  1. Connect the 5V Pi pin to the Vcc pin on the relay board.
  2. Then connect the ground pin of the Pi to the ground pin of the relay board.
  3. Connect GPIO pin to the input of the transistor circuit above and the output to IN1 pin of the relay board.
  4. If you have other relays repeat the process for each of them

Note: Each relay requires a separate transistor circuit,  drawing approximately 72mA from the Pi when activated, given that the Pi itself required 500mA.

Make sure the Pi’s power supply can power all of them. A 1.5 Amp power supply would be the safest choice.

Your issue might come from a relay that is not connected properly to your Raspberry Pi. Sometimes a misplaced pin will not allow the circuit to function and you will be left wondering why it doesn’t work.

The steps above will help you if your Raspberry Pi relay is not working.


2. Check the power supply

The power supply can cause a series of problems to your Raspberry Pi. If it doesn’t have the right voltage, your relays will not be powered, and in some cases, the Pi itself will fail to boot.

Make sure you have a stable PSU that is compatible with your model of Raspberry Pi. Many people use smartphone chargers to power their Raspberry Pis, although they are not reliable.

You should make sure you use a dedicated, suitable PSU instead.


3. Check the operating system

Your Raspberry Pi needs an operating system to work. Even if you successfully connected your relay, you still need to program it using scripts.

Make sure that your Raspberry Pi has one of the many available OS installed on it. If you do have an OS installed, check for corrupted files that might alter its functionality.

Install an OS

  1. Download the required software and files on another device.
  2. Get your SD Card and Card Reader.
  3. Go to My Computer and find the mounted SD Card.
  4. Format your SD Card.
  5. Write the Operating System you downloaded on the card.
  6. Insert it into your Raspberry Pi and install your OS.

Installing a new Operating System on your Raspberry Pi is pretty simple. You just need to download the OS you chose on another device and copy it on an SD card compatible with your Pi.



This post was written by Vladimir Popescu and was first posted to WindowsReport



Do you find this article helpful? Your Friend might too. So, please Share it with them using the Share button above.
Will you like to get notified when I post new updates? Then Follow me on any of my social media handles: Google News, Telegram, WhatsApp, Twitter, Facebook, Pinterest.
You can also drop your email address below if you wish to be notified by mail.


Tags: , ,

What's your thought on this?

%d bloggers like this: