Description
About the book
Espressif's ESP8266 and ESP32 microcontrollers have brought DIY home automation to the masses. However, not everyone is fluent in programming these microcontrollers with Espressif's C/C++ SDK, the Arduino core, or MicroPython. This is where ESPHome comes into its own: with this project, you don’t program your microcontroller but configure it.
This book demonstrates how to create your own home automation devices with ESPHome on an ESP32 microcontroller board. You’ll learn how to combine all kinds of electronic components and automate complex behaviours. Your devices can work completely autonomously, and connect over Wi-Fi to your home automation gateways such as Home Assistant or MQTT broker.
By the end of this book, you will be able to create your own custom home automation devices the way you want. Thanks to ESPHome and the ESP32, this is within everyone’s grasp.
- Set up an ESPHome development environment and create maintainable configurations
- Use buttons and LEDs
- Sound a buzzer and play melodies
- Read measurements from various types of sensors
- Communicate over a short distance with NFC, infrared light, and Bluetooth Low Energy
- Show information on various types of displays
About the board
Chipset | Espressif-ESP32 240 MHz Xtensa single-/dual-core 32-bit LX6 microprocessor |
FLASH | QSPI flash 16 MB |
SRAM | 520 kB SRAM |
Button | Reset |
USB to TTL | CP2104 |
Modular interface | UART, SPI, SDIO, I²C, LED PWM, TV PWM, I²S, IRGPIO, ADC, capacitor touch sensor, DACLNA pre-amplifier |
Display | IPS ST7789V 1.14 Inch |
Working voltage | 2.7-4.2 V |
Working current | About 67 MA |
Sleep current | About 350 uA |
Working temperature range | -40℃ ~ +85℃ |
Size & Weight | 51.52 x 25.04 x 8.54 mm (7.81 g) |
Power Supply | USB 5 V/1 A |
Charging current | 500 mA |
Battery | 3.7 V lithium battery |
JST Connector | 2-Pin 1.25 mm |
USB Connector | USB-C |