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:
Here are the GPIO connections that I made from the Raspberry Pi to the 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.
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?