This is a small collection of my code for the IMHO excellent TTGO T5S board.
The board is a 2.7" WBR ePaper display, with an ESP32 MCU mounted to the back along with some IO and support circuitry.
See https://www.aliexpress.com/item/TTGO-T5s-V1-9-ESP32-2-7-EPaper-module-for-Alexa-I2S-DAC-MAX98357A-MEMS-microphone/32896563518.html for more details
- Lastest ESP32 Version: REV1
- 2.7″ePaper board consisting of ESP32-D0WDQ6, I2S DAC MAX98357A, and two pcs I2S MEMS microphone ICS43434
- Single channel, Class-D amplifier embedded DAC, MAX98357 is connected to ESP32 through I2S bus.
- MEMS microphone Invensense ICS-43434 is connected to ESP32 through I2S bus.
- On-board USB-UART interface (CP2102) with several glue logic for direct binary uploading.
- WIFI
- Bluetooth
- 4 MB Flash
- 3D ANTENNA
- 2A Battery Management
- LED indicator: There are 4 LEDs show the battery status in real time.
- Power button: Click one time will start. Fast click 2 times will shut down.
- 2.7″ ePaper module 264*176 pixels,
- TFCARD
- Protection: Short protection. Over charging protection. Overflowing
- Three buttons (IO34, IO35, IO39)
- Reset button
The OpenSCAD file contains a (rough, wip) model of the approximate dimensions I built to help me verify the case design will fit properly.
EZDevice ESP32 prototype project
This is a nice chunk of sample code, and has some useful (very!) comments about sleep mode and power management, as well as identifying the pin (22) to which the BLUE LED is attached!
Nice and comprehensive WiFi config
Verified to work on my TTGO T5S v1.9, with two caveats : LED_PIN should be 22 and the LED ON/OFF are reversed.