Setting up the wireless pack
In this section, we will discuss the setup and testing of the wireless pack. We will be using the same wireless pack for internet connectivity across all projects.
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 figure:
Figure 2.31 – Pico and wireless pack mounted on to a Pico Omnibus – Dual Expander
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
- MOSI → GP19
- MISO → GP16
A Fritzing schematic of the interface is shown in Figure 2.32:
Figure 2.32 – Interfacing an ESP32 co-processor with the Raspberry Pi Pico
To connect to a Wi-Fi network using the wireless pack, create a file...