Your shopping cart is empty!
IoT on Raspberry Pi Pico using CircuitPython and Adafruit IO
- Idris Zainal Abidin
- 26 May 2021
- 1274
Introduction
Previous tutorial we already managed to make ESP32 as a WiFi co-processor for the Raspberry Pi Pico. It is already connected to the WiFi network and made a request to get the latest bitcoin price. This time we try to create an IoT application using Adafruit IO, and of course we program it using CircuitPython.
Video
This video shows how to develop simple IoT application on Raspberry Pi Pico using CircuitPython and Adafruit IO.
Hardware Preparation
This is the list of items used in the video.
- Maker Pi Pico
- Raspberry Pi Pico - Pre-soldered Headers
- Maker Pi Pico Base
- Node32 Lite
- Breadboard 8.5x5.5cm (400 Holes)
- 40 Ways Male to Female Jumper Wire
- 40 Ways Male to Male Jumper Wire
Sample Program
You can get the sample code from Adafruit Learn page:
- Usage with Adafruit IO - secrets.py and code.py
Don't forget to include these 5 libraries from CircuitPython Libraries bundle.
- adafruit_bus_device
- adafruit_esp32_spi
- adafruit_io
- adafruit_minimqtt
- adafruit_requests
Thank You
References:
- GitHub esptool.py
- NINA firmware
- CircuitPython - Raspberry Pi Pico
- CircuitPython Libraries
- Quickstart IoT - Raspberry Pi Pico RP2040 with WiFi
Thanks for reading this tutorial. If you have any technical inquiries, please post at Cytron Technical Forum.
"Please be reminded, this tutorial is prepared for you to try and learn.
You are encouraged to improve the code for a better application."