diff --git a/README.md b/README.md new file mode 100644 index 0000000..27abdce --- /dev/null +++ b/README.md @@ -0,0 +1,31 @@ +# Elevator control + +Project for handling elevator button with esp32. Configuration for esphome, without connection to home assistant, mqtt, +or Wi-Fi + +## Features + +* Momentary button press + * turns on/off light + * turns on/off music +* Lock switch turns fan for 5 minutes +* Music plays on a loop while light is on + +## Pinout + +### ESP32 + +| PIN | Role | +|-----|----------------------------| +| 1 | UART TX - RX DFPlayer Mini | +| 3 | UART RX - TX DFPlayer Mini | +| 14 | Lock status | +| 25 | Button | +| 26 | Light relay | +| 27 | Fan relay | +| 32 | Up LED | +| 33 | Down LED | + +### DFPLayer Mini + +![dfplayer mini pinout](img/dfplayer%20mini.png) diff --git a/img/dfplayer mini.png b/img/dfplayer mini.png new file mode 100644 index 0000000..da3259d Binary files /dev/null and b/img/dfplayer mini.png differ