Closed rafguevara14 closed 1 year ago
ESP32 Pinout: https://docs.platformio.org/en/latest/platforms/espressif32.html#platform-espressif32
Required connections:
2,4 : 5V : 5V -- : 3V3 : 3V3 39 : GND : GND 29 : ADC4 : IO32 26 : ADC5 : IO33 36 : GPIO0 : IO0 31 : GPIO2 : IO2 32 : GPIO4 : IO4
DAQ : Pin type: ESP 32 pin name
You're looking at the wrong pins on the DAQ side for the ADC. If you look at the datasheet, these are alert pins to let us know that the ADC is ready for sampling/conversion. The pins you want are pins 3 and 5 (SCL/SDA) on the DAQ board for I2C peripheral (not SPI like I thought) to go somewhere on the ESP32. Alert pins are still useful tho!
Don't be deceived by the ADC4/5 on the ESP32 they are internal ADCs that we won't use because the input voltage range isn't enough for our application.
Updated as per feedback:
2,4 : 5V : 5V -- : 3V3 : 3V3 39 : GND : GND ADC (I2C and ALERTs) 3 : SCL : IO22 5 : SDA : IO21 29 : GPIO16 : IO16 26 : GPIO17 : IO17 MUX 36 : GPIO0 : IO0 31 : GPIO2 : IO2 32 : GPIO4 : IO4
DAQ side : Pin type: ESP 32 pin name
LGTM! Moving to done. I'm asking Power where the hardware is. Once we have that we can try connecting everything. Until then, I'll assign you another task and we can talk about it at the next DAQ meeting
Ack. Thanks
Hardware docs: https://drive.google.com/drive/u/0/folders/1nM0JWtPDw11XXwn8rOav-SsgN25pjPbE
ESP32 model: https://docs.platformio.org/en/latest/boards/espressif32/esp32dev.html?utm_source=platformio&utm_medium=piohome