Hardware and software requirements
Let's first see what we need for this project. You will mainly need components we already used in previous chapters, such as the ESP8266 module, an LED, and the DHT11 sensor.
The only new component here is a PIR motion sensor that we will use to detect motion in our home. I used a simple 5V-compatible PIR motion sensor, which is a pretty standard component.
I listed all the components for this chapter, based on one motion sensor module, one LED dimmer, and one sensor module. Of course, if you want to use more of each module, this is no problem, you just need to add more ESP8266 modules to the project.
This is a list of all the components that will be used in this chapter:
- Adafruit ES8266 module (x3) (https://www.adafruit.com/products/2471)
- FTDI USB module (https://www.adafruit.com/products/284)
- DHT11 sensor (https://www.adafruit.com/products/386)
- LED (https://www.sparkfun.com/products/9590)
- 330 Ohm resistor (https://www.sparkfun.com/products/8377)
- PIR motion...