
The first task is to copy the required libraries from the CircuitPython folder stored on a computer to the lib folder on the CIRCUITPY drive.įor the ESP32 the following library folders and.
#Install paho mqtt for python on mac how to#
For this guide I will go through how to setup the Pico with a WiFi connection using CircuitPython.įor writing scripts in Python the Pico can use either Micropython or CircuitPython.

I have the ESP32spi which can communicate with WiFi or Bluetooth and uses a SPI connection to connect to the Pico. The ESP32 is a complete module which handles all the wifi connectivity leaving the Pico just to handle the data that is being transmitted. The other option is to get a ESP32 WiFi co-processor.

The Raspberry Pi Pico RP2040 micro controller is a good option for projects but if you need wifi connectivity you will need to use a different micro controller with WiFi or you can make you project with a Raspberry Pi Zero or RPi4. With an example of sending data with MQTT.
#Install paho mqtt for python on mac upgrade#
Give your Raspberry Pi Pico a WiFi upgrade with the ESP32 WiFi co-processor and get connected with this CircuitPython setup guide.

Raspberry Pi Pico WiFi with the ESP32 AirLift and CircuitPython
