No description
- C++ 100%
| data | ||
| include | ||
| src | ||
| .gitignore | ||
| LICENSE.md | ||
| platformio.ini | ||
| README.md | ||
ESP-ATM
– a mini ATM running on an ESP32 for fun
SPIFFS
The project uses LittleFS for PIN storage. Remember to "Upload Filesystem
Image" from the Platform.io IDE before usage.
Output
The GPIO for switching the money dispenser is 1 (TXD).
Keypad
Pinout keypad from left to right (while looking at the pins):
| PIN | color | ESP32 pin |
|---|---|---|
1 |
black | – |
2 |
white | 23 |
3 |
grey | 22 |
4 |
purple | - |
5 |
blue | 21 |
6 |
green | 32 |
7 |
yellow | 12 |
8 |
orange | 27 |
9 |
red | 13 |
10 |
brown | 4 |
Display
The "4.0" TFT SPI 480x320 V1.1" display uses the ILI9488_DRIVER driver. The
Pinout (pin 1 at bottom of the display, when viewing from the front and pins
are to the right) is:
| PIN | color | ESP32 pin |
|---|---|---|
1 VCC |
red | 3V3 |
2 GND |
blue | GND |
3 CS |
yellow | 16 |
4 RESET |
yellow | 33 |
5 DC/RS |
black | 26 |
6 SDI/MOSI |
green | 15 |
7 SCK |
purple | 14 |
8 LED |
blue | 18 |