Skip to content
Angus Gratton edited this page Jan 16, 2017 · 6 revisions

IoTuz

IoTuz is a hardware project originally constructed for the Open Hardware Miniconf 2017, which is being held as part of LCA2017

Pinout

IoTuz Pinout

ESP32 I/O Pins

(Ordered by edge connector pin, left to right.)

IO Connected To Type of Signal
39 Joystick Y signal Analog
36 Rotary encoder B Digital In
34 Joystick X signal Analog
27 ADC out ????????? Analog
32 LCD Reset pin Digital Out
26 IR Transmit Digital Out
14 SPI CLK SPI
25 I/O Expander Interrupt Digital In
35 IR Receive Digital In
33 Spare GPIO Pin Any Use
12 SPI MISO SPI
13 SPI MOSI SPI
9 SD2 (Internal SPI bus) Internal SPI
15 Rotary encoder A Digital In
2 Battery level Analog In
0 Joystick button Digital In
4 LCD D/C Signal Digital Out
16 I2S MCLK I2S
17 I2S DAC IN I2S
5 I2S DCLK I2S
18 I2S FS I2S
19 LCD CS SPI
23 RGB LED Data (APA106) Digital Out
22 I2C SCL I2C
21 I2C SCK I2C
1 UART Receive Serial UART
3 UART Transmit Serial UART

I2C Devices

I2C Address Device Part Datasheet
0x1A I2S codec NAU8814 NAU8814 PDF
0x20 I/O Expander PCF8574 PDF8574 PDF
0x53 Accelerometer ADXL345 ADXL345 PDF
0x77 Temp/Humidity/Pressure BME280 BME280 PDF

I/O Expander Pins

PCF8574 I/O expander, connected to I2C bus (address 0x20)

IO Connected To Type of Signal
0 ADXL345 Interrupt (INT) Digital In
1 Button A Digital In
2 Button B Digital In
3 Rotary encoder button Digital In
4 SD Card CS Signal Digital Out/SPI
5 Touch Screen Interrupt Digital In
6 Touch Screen CS Signal Digital Out/SPI
7 LCD Backlight On Digital Out

I2S Audio Codec Pins

NAU8814 I2S codec, configured over I2C bus and connected for data streaming over I2S bus.

Connection Is Goes To
SPKOUT Amplified speaker out Speaker footprint on PCB
mout Mono line out MonoOut Edge connector pin
MICBias/MIC- Microphone Microphone footprint on PCB
AUX Aux line in AUX Edge connector pin

(Note: schematic shows a 3.5mm jack but this was unfortunately left off the PCB.)