Raspberry Pi Pico Blinking LED

by caoow31 in Circuits > Raspberry Pi

429 Views, 2 Favorites, 0 Comments

Raspberry Pi Pico Blinking LED

Photo on BE 2566-7-26 at 9.20 AM.jpg

Today, let us learn how to make a led blink using Raspberry Pi Pico. Let us begin!

Supplies

Photo on BE 2566-7-26 at 8.56 AM #2.jpg
Photo on BE 2566-7-26 at 8.56 AM.jpg
Photo on BE 2566-7-26 at 8.57 AM.jpg
Photo on BE 2566-7-26 at 8.57 AM #2.jpg
Photo on BE 2566-7-26 at 8.57 AM #3.jpg

1 color LED

Breadboard

2 Jumper wires

1 resistor (50 - 330 ohm)

Raspberry Pi Pico (H)

Putting on the Raspberry Pi

Photo on BE 2566-7-26 at 8.58 AM.jpg

Place the Raspberry Pi Pico on the breadboard, leaving 2 rows of pins out on both sides. In other words, place it in the center.

Adding the Resistor

Photo on BE 2566-7-26 at 9.01 AM.jpg

Add on the resistor at 44 at the very right side and the other end at 40 on the very right side.

The LED

Photo on BE 2566-7-26 at 9.13 AM.jpg

Add the LED as shown. The longer hand is the one on the resistor's side and the shorter hand is on the side with nothing yet. Place the LED at 40 on the right side and 40 on the left.

Jumper Wiring 1

Photo on BE 2566-7-26 at 9.03 AM.jpg

Connect 1 jumper wire to GPIO pin 38 closest to the Raspberry Pi. Then stab the other end into the first one on the left hand corner.

Jumper Wiring 2

Photo on BE 2566-7-26 at 9.04 AM.jpg

Add the second jumper wire to 40, the closest to the left hand side. Then, jab the other end into the last one of the 4th cluster of pins above. Like shown

Thonny Code

Photo on BE 2566-7-26 at 9.04 AM #2.jpg

Install Thonny IDE and on the application, install MicroPython. Then type in the code as the image. Click run and enjoy!