Raspberry Pi Pico Simulator projects | Blink an LED - MicroPython | using Free Wokwi Pi Pico Simulator

How to Blink an LED on Pi Pico using Micro Python?πŸ’‘

Project Summary

In this Pi Pico example, we will blink an LED connected to Raspberry Pi Pico. We will code using Micro Python. The LED is connected to pin GP5 of the Raspberry Pi Pico. Let's start the simulation!

Wokwi Raspberry Pi Pico simulator is used here as it is free and easy to use online. You will get the code and the connection diagram explicitly in the Pi Pico simulation section below. 

Wokwi Raspberry Pi Pico Simulator - Blink an LED

Tip🚨: Always connect a resistor of about 220 ohms in series with the LED. Do not connect them directly to the Raspberry Pi Pico Pin.

Components you need

  1.  Raspberry Pi Pico Board
  2. LED
  3. 220 ohms resistor
  4. connecting wire

Challenges you are ready to take on

  • Change the LED toggling rate to 10 Hz
  • Change the color of the LED in the simulator to green

Raspberry Pi Pico Simulation

In the section below, you can also modify the code and see the results instantly. You can change the code and recompile it by clicking on Rerun/Run button. For more help, please visit Discord channel of the Wokwi Pi Pico Simulator. 

Comments

Post a Comment

Popular posts from this blog

Raspberry Pi Pico Simulator projects - Interfacing LCD1602 with Pi Pico

Raspberry Pi Pico simulator | Pi Pico SDK 7 segment example

Blink two LEDs on Pi Pico | Raspberry Pi Pico Simulator | Virtual Raspberry Pi Pico Simulator