0

I was making connections from my Raspberry Pi to a relay module. While I was running some sample code, I noticed that after I had terminated the program I was still getting a high CPU usage (around 60%), but it didn't show anything in the task manager. I decided to reboot it hoping that everything will reset back to normal. It started booting normally, the logo came up and everything, and then suddenly the touchscreen turned off and started flashing black. And now it won't even boot up. Here is an image of the connections:

Over view of circuit connections

Here are the GPIO connections that I made from the Raspberry Pi to the relay module

Raspberry Pi

16-channel relay module

I also made the 5 V connections from the Raspberry Pi to the relay module as well as the ground. Since I needed two 5 V connections, the other one was being used for the display, so I decided to experiment and try to connect the 3.3 V pin to the relay in addition to the single 5 V pin.

3.3 V, 5 V and two ground pin connections from Pi

Power connections to relay

As you can see in the "Power connections to Relay" image, there are two wires on the right side. Those supply 12 V at 1 A directly to the relay module. This is the basic set up I had, and whenever I ran some code over it nothing would work.

This is the code:

import RPi.GPIO as GPIO
import time

GPIO.setmode(GPIO.BCM)
GPIO.serwarnings(False)

x = [27,28,29,32,31,36,33,38,35,40]

for y in x:
    GPIO.setup(y,GPIO.OUT)
    GPIO.output(y, GPIO.HIGH)
    time.sleep(0.5)
    GPIO.output(y,GPIO.LOW)
GPIO.cleanup()

Where did I go wrong, or why isn't my Raspberry Pi turning on anymore? As well as, what should I do to fix this issue?

migrated from superuser.com Jun 26 at 20:24

This question came from our site for computer enthusiasts and power users.

0

"I think I fried my Raspberry Pi but I'm not sure?" - ALMOST certainly - see my answer to your other question https://raspberrypi.stackexchange.com/a/100014/8697

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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