Connecting to Wi-Fi
One of the main features of using an ESP32-based board is the Wi-Fi functionality. Let’s jump straight in and learn how to connect to Wi-Fi so that we can get more out of our board. We can also use over-the-air (OTA) updates for this board. If our ESP32 board is installed somewhere that’s not easily accessible, we can program it through Wi-Fi. This does require installer code (this code must be in all your uploaded sketches to that board for it to continue working) to be on the board first before it can be used this way; it’s a good feature.
Activity 7.3 – Let’s get connected
There are a few examples we can use for connecting to Wi-Fi. We will look at these examples so that you can start to see the potential of using an ESP32 board for your wearable projects. We will look at the following:
- Scanning to see the networks near us
- Connecting to your Wi-Fi network
Let’s start by scanning for networks...