Skip to content

Latest commit

 

History

History
100 lines (63 loc) · 4.46 KB

DOCU--ILI934-MCP23017-ESP32-Hazzy.md

File metadata and controls

100 lines (63 loc) · 4.46 KB

Steering Wheel

ILI9341 + PCF8574 + ADS1x15 controlled with ESP32-Hazzy

Product Links

MicroProcessor

Display 3.2" 320x240 ILI9341

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.

SPI Mode Jumpers

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.

Adafruit

pinout circuit view

Wiring

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.

IO Extender PCF8574

AD Wandler ADS1115

ILI9341 + PCF8574 + ADS1115

  • 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

wired

U-I diagram when changing the base voltage Vcc

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

U-I diagram when changing the display mode

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

diagram

Mechanical Construction

mech assembly

dimensions

ILI9341 + MD23017 + SC-Card