Web improvements, NFC config

This commit is contained in:
2023-10-15 00:24:58 +02:00
parent a3be4cbb3c
commit 578281d9d1
5 changed files with 111 additions and 66 deletions

View File

@@ -111,14 +111,23 @@ Place these sounds in the folder `system` on the SD card:
sleep.mp3 will be played just before the timed shutdown, start.mp3 will be played if the box started and initialized successfully.
## Battery Voltage
The battery voltage is measured by the ADC of pin 13. A voltage divider halves the voltage so that the pin can not be overloaded (max 3.3V).
The voltage divider consists of two 100kOHM resistors, the voltage is measured between them. One side is connected to the battery and the other to ground.
Pin 13s ADC (ADC2) can not be used while WIFI is on... damn.
## TODOs
* Card Reader with SPI. Configure hspi, second SPI channel? Or does SD Card + RFID run at the same channel?
![](images/wemos-d1-mini-esp32.png)
## Schematic without modules
### Charging circuit
https://ww1.microchip.com/downloads/en/AppNotes/01149c.pdf
MCP73837 ?