MarcNBarrett
Posts: 8
Joined: Fri Sep 06, 2019 7:05 pm

Did I damage my Raspberry Pi 4?

Mon Feb 10, 2020 9:39 pm

I am trying to slowly update my electronics skills, which I have allowed to atrophy. I decided to start at the beginning, with something simple. Here is what I am trying to do:
I can't get it to work. When I connect the LED to +3.3V and GND from the GPIO connector, the LED lights up. But When I do exactly it says, and run the Python program, it doesn't work. The Python program runs, but the LED doesn't blink. It doesn't turn on at all.

I am using a Pi 4, and running Raspbian Buster.

I did notice that the text description talks about connecting to "GPIO 0", but the picture has the wire connected to GPIO 17. I carefully tapped the wire to the other GPIO pins while running the Python program, but the LED never blinked.

I was wondering if someone with a Raspberry Pi 4 and a breadboard could wire this up and tell me if I did something wrong? I suspect that this tutorial was created before the Pi 4 was produced, and maybe the Pi 4 is incompatible with it. If so, I might have to buy an old Pi 2 or Pi 3 just to do these old basic electronics tutorials.

User avatar
B.Goode
Posts: 10191
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: Did I damage my Raspberry Pi 4?

Mon Feb 10, 2020 9:59 pm

Although the Raspberry Pi people might be happy about the benefits to their sales, there is no need to buy older hardware to perform such a basic task.

I recommend using the documentation from Raspberry Pi themselves here https://projects.raspberrypi.org/en/pro ... -computing which starts with the same Blinking LED project.

User avatar
Burngate
Posts: 6290
Joined: Thu Sep 29, 2011 4:34 pm
Location: Berkshire UK Tralfamadore
Contact: Website

Re: Did I damage my Raspberry Pi 4?

Tue Feb 11, 2020 11:09 am

There should be no need to downgrade to a Pi 3 or 2; the differences between those and the 4 should not affect this.

The Sunfounder page was written before the Pi 4 came out, but also is rather badly written; the C code uses the depricated WiringPi - that's where the designation GPIO0 comes from, for BCM 17 and physical pin 11.

It's also using Python 2, which has been superceded by Python 3

As B.Goode says, follow the RPI documentation - it's better written, and up-to-date.

Return to “Beginners”