Building an IoT Button
In this chapter, we will build an essential component of our IoT home security system: an IoT button. We will build two versions of this button, using different hardware bases – the M5Stack ATOM Matrix and the Raspberry Pi Pico W.
The M5Stack ATOM Matrix is a compact ESP32-based microcontroller boasting a built-in dot-matrix screen that also serves as a touch button, a design choice that significantly reduces its size, making it a highly compact solution for IoT projects. Our now familiar Raspberry Pi Pico W stands as a favored microcontroller option, noted for its versatility and seamless integration with a wide array of external peripherals.
We will build a simple version of an IoT button, starting with the ATOM Matrix, before we create a more advanced version with our Raspberry Pi Pico W:
Figure 7.1 – IoT button architecture
In our design, the IoT alarm module (from Chapter 6), Raspberry Pi Pico W, and M5Stack...