Difference between revisions of "ESP-LCD32"

From ElectroDragon Wiki
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
new page - https://w2.electrodragon.com/gollum/search?q=NWI1241-dat.md
 
== Pin Definitions of Extra Pins ==
I2C Port
* IO21 IO22 GND 3V3 +5V
Extra Pin Header Pins:
* GND VBAT +5V +3V3
* IO4 IO16 IO17 IO26
Jumper
* RST: Connect ESP32 Rest pin to button
* Network Resistor and Jumpers for only IP5306-I2C Version
 
 
 
 
 
== Main Pin Definitions ==
[[File:ESP-LCD32.png|thumb|right]]
#define button1 IO39
#define button2 IO36
#define button3 IO33
#define button4 IO0
#define led1 IO19
 
#define SPK IO25
 
#define TFT_RESET IO5
#define TFT_SCK IO18
#define TFT_DC IO32
#define TFT_CS IO27
#define TFT_SDA IO23
#define TFT_SDO IO12
 
#define SD_CS IO13
#define SD_MOSI IO15
#define SD_MOSI IO14
#define SD_MISO IO2
 
#define IP5306_SCL IO22
#define IP5306_SDA IO21
#define IP5306_LED3 IO34
 
#define BAT_ADC IO35
 
 
 
 
== Arduino Demo Code ==
* Based on Arduino TFT_eSPI library
* Add extra pin definitions, demo code please see [https://github.com/Edragon/Arduino-ESP32 here] (Arduino-ESP32/Sketchbook/Display/).
 
* Working demo please search [[social]] channels
 
== Notice ==
* Please attach battery, and plug USB to "activate" battery first, once you removed the battery you may need to activate it again
* Battery port, I2C port pitch 1.25 mm, speaker port pitch 2.0mm
 
 
[[category: ESP32 BRD]]

Latest revision as of 18:13, 15 November 2023