Getting Started CircuitPython with Pi Pico W

CircuitPython is based on Python: 

Python is the fastest growing programming language. It's taught in schools and universities. It's a high-level programming language which means it's designed to be easier to read, write and maintain. It supports modules and packages which means it's easy to reuse your code for other projects. It has a built-in interpreter which means there are no extra steps, like compiling, to get your code to work. And of course, Python is Open Source Software which means it's free for anyone to use, modify or improve upon.

CircuitPython adds hardware support to all of these amazing features. If you already have Python knowledge, you can easily apply that to using CircuitPython. If you have no previous experience, it's really simple to get started!

CircuitPython is a programming language designed to simplify experimenting and learning to code on low-cost microcontroller boards.

CiruitPython for Raspberry Pi Pico W:


Where to buy? 

Raspberry Pi Pico W:

Maker Pi Pico Base:

1. Grove 4 Pin Buckled to Female Cable

Python IDE: Thonny

My GitHub

Sample Codes

CircuitPython code and schematic using Fritzing

Blink built-in LED

Blink An External LED (GP0)





Example Code

  1. Blink built-in LED (Code)
  2. Blink an External LED (GP0) (Code)
  3. Switch/Push Button (GP20) and Blink the LED (GP0) (Code)
  4. Built-in Temperature Sensor (Code)
  5. PWM Output for LED Brightness (Code)
  6. Grove I2C LCD (Code | Buy Here)
  7. Grove OLED Display (Code | Buy Here)
  8. Grove Temperature Sensor (Code Buy Here | Datasheet )
  9. DHT22 Sensor (Code | Buy Here )
  10. BMP280 Sensor (Code | Buy Here)
  11. Common Anode RGB LEDs (Code | Buy Here)
  12. Grove Light Sensor (Code | Buy Here)
  13. RGB Color Sensor with IR Filter (Code | Buy Here)
  14. Basic WiFi Connect (Code)
  15. SdCard (Code)


  1. Pi Pico W Basic WiFi Test (Code | How to create .env file | Example .env file)
  2. Send BMP280 Sensor Data to (Code | Dashboard | Example .env file)
  3. Telegram Bot (Code | How to Generate a Token | Example .env file | Reference)
  4. Environment Data (DHT22, BMP280) + Grove OLED Display + adafruit (Code | Image | Dashboard | OLED Convert Image to BMP | Reference)

Pi Pico W Pinout