Installing the requisite libraries
In this section, we will install the requisite libraries needed for interfacing the soil sensor, NeoPixel LED, and the wireless pack to the Raspberry Pi Pico. The libraries are all part of the Adafruit CircuitPython bundle. The latest bundle can be downloaded as a ZIP file from https://circuitpython.org/libraries. We used the bundle version meant for CircuitPython 6.x.x.
After downloading the ZIP file, extract its contents so that we can copy the libraries we need for the project.
Soil sensor
We are using a capacitive soil sensor based on the Adafruit seesaw framework. You can see this in the following screenshot:
If you are not familiar with Adafruit seesaw, this is a framework that enables the interfacing of any type of sensor, drive motor, control pulse-width modulation (PWM) output, and so on via the I2C interface. This is especially helpful in scenarios...