mirror of
https://code.hackerspace.pl/gro/elevator-control.git
synced 2024-11-25 13:35:33 +00:00
Add README
This commit is contained in:
parent
46166eaa2f
commit
b89a564fcc
31
README.md
Normal file
31
README.md
Normal file
@ -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)
|
BIN
img/dfplayer mini.png
Normal file
BIN
img/dfplayer mini.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 38 KiB |
Loading…
Reference in New Issue
Block a user