Your shopping cart is empty!
ESP32 as WiFi co-processor for Raspberry Pi Pico
- Idris Zainal Abidin
- 18 May 2021
- 1653
Introduction
We want to create IoT related projects using Raspberry Pi Pico and program it using CircuitPython. We know that the Maker Pi Pico comes with a connector for the ESP8266. But unfortunately CircuitPython has stopped supporting this module. Alternatively, we can use ESP32 as a WiFi co-processor for the Raspberry Pi Pico.
Video
This video shows how to add ESP32 as a WiFi co-processor for the Raspberry Pi Pico and program using CircuitPython.
Hardware Preparation
This is the list of items used in the video.
- Maker Pi Pico OR
- Raspberry Pi Pico - Pre-soldered Headers with
- 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:
- Sample code 1 - code.py
- Sample code 2 - 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."