In this section, we are going to explore how we can rapidly prototype our sensor node to explore how we can perform automation and control using an Android device. Before we dive in and start building our project, it's always a good idea to spend just a few minutes thinking through the hardware and software architecture.
Hardware and software design
The hardware architecture
For this project, there are essentially three major components that we need in order to execute our idea:
- An ESP32-DevKitC board
- Several LEDs
- A few pushbuttons
Once the idea has been proven, we can replace the LEDs with circuits to directly control objects and the switches with contact monitors. We can also add various sensors to the I2C and SPI...