ILI9341 + PCF8574 + ADS1x15 controlled with ESP32-Hazzy
- Adafruit: HUZZAH32 – ESP32 Feather Board
- Adafruit-ESP32-HUZZAH-Breakout (PCB)
- ESP32 Wroom Interrupts
- Adafruit: 2.8" TFT LCD with Touchscreen Breakout Board w/MicroSD Socket - ILI9341
- Adafruit: 2.8"/3.2" TFT LCD (PCB)
- Adafruit_ILI9341 (C++ Library)
All logic pins, both 8-bit and SPI sides, are 3-5V logic level compatible, the 74LVX245 chips on the back perform fast level shifting so you can use either kind of logic levels. If there's data output, the levels are at at 3.3V.
Display SPI mode: connect IM1, IM2 and IM3 pins to 3.3V. Do not solder closed IM0!
If you really don't want to solder them, you can also wire the breakout pins to the 3vo pin, just make sure you don't tie them to 5V by accident! For that reason, we suggest going with the solder-jumper route.
Wiring up the display in SPI mode is much easier than 8-bit mode since there's way fewer wires. Start by connecting the power pins
- 3-5V Vin connects to the Arduino 5V pin
- GND connects to Arduino ground
- CLK connects to SPI clock.
- MISO connects to SPI MISO.
- MOSI connects to SPI MOSI.
- CS connects to our SPI Chip Select pin.
- D/C connects to our SPI data/command select pin.
No need to connect the RST.
-
10 cables from Miroprocessor to display/buttons/controllerPower recording Experimental setup with
- Display ILI9341 (320x240 pixel)
- IO Extender PCF8574 (8 bit) (7 buttons and 1 LED)
- Analogue-digital converter (12bit) and potentiometer
Spannung [V] |
Strom [mA] |
Leistung [mW] |
---|---|---|
3.0 | 20 | 60 |
3.3 | 32 | 106 |
3.8 | 59 | 224 |
4.0 | 73 | 292 |
5.0 | 85 | 425 |
It was measured at full screen black and full screen white (without any additional output):
Voltage [V] | Current Black [mA] | Current White [mA] | Power Black[mW] | Power White [mW] |
---|---|---|---|---|
3.05 | 25 | 24 | 75 | 72 |
3.3 | 30 | 29 | 99 | 96 |
3.8 | 54 | 53 | 205 | 201 |
4.0 | 63 | 62 | 252 | 248 |
5.0 | 83 | 80 | 415 | 400 |