Setting up the wireless pack
In this section, we will discuss setting up and testing the wireless pack. For the sake of convenience, we will make use of Pico Omnibus (Dual Expander) from Pimoroni. The Pico and the wireless pack are mounted onto the expander, as shown in the following screenshot:
Breadboard Connections
If you don't have an expander, the following pins are used to communicate with the ESP32: CS → GP7; Ready → GP10; Reset → GP11; Clock → GP18; Master Out Slave In (MOSI) → GP19; Master In Slave Out (MISO) → GP16. A Fritzing schematic of the interface is shown here:
To connect to a Wi-Fi network using the wireless pack, create a file called secrets.py
on your Pico and store the following information in it: