Circuit Documentation
Summary
The circuit in question is designed to interface an ESP32 Devkit V1 microcontroller with a variety of sensors and input devices, including a MAX30100 pulse oximeter, multiple TTP233 touch sensors, an MLX90614 infrared thermometer, and a 128x64 OLED display. The ESP32 serves as the central processing unit, managing data communication over I2C with the MAX30100, MLX90614, and the OLED display, as well as handling touch inputs from the TTP233 sensors. The circuit is powered through the ESP32's 3V3 pin, which also supplies power to the other components.
Component List
ESP32 Devkit V1
- Microcontroller with WiFi and Bluetooth capabilities.
- Pins: 3V3, GND, D15, D2, D4, RX2, TX2, D5, D18, D19, D21, RX0, TX0, D22, D23, EN, VP, VN, D34, D35, D32, D33, D25, D26, D27, D14, D12, D13, VIN.
MAX30100
- Pulse Oximeter and Heart-Rate Sensor.
- Pins: VIN, SDA, SCL, GND, RD, IRD, INT.
Touch Sensor TTP233
- Capacitive touch sensor module.
- Pins: GND, I/O, VCC.
128x64 OLED Display (I2C IIC SPI Serial)
- Monochrome OLED display module with I2C communication.
- Pins: GND, SDA, SCL, VCC.
MLX90614
- Infrared thermometer for non-contact temperature measurements.
- Pins: SDA, SCL, GND, VIN.
Wiring Details
ESP32 Devkit V1
- 3V3: Connected to VCC of all TTP233 touch sensors, VIN of MAX30100, VIN of MLX90614, and VCC of OLED display.
- GND: Common ground with all components.
- D21 (SDA): Connected to SDA of MAX30100, MLX90614, and OLED display.
- D22 (SCL): Connected to SCL of MAX30100, MLX90614, and OLED display.
- D27: Connected to I/O of one TTP233 touch sensor.
- D14: Connected to I/O of another TTP233 touch sensor.
- D12: Connected to I/O of another TTP233 touch sensor.
- D13: Connected to I/O of another TTP233 touch sensor.
MAX30100
- VIN: Connected to 3V3 of ESP32.
- SDA: Connected to D21 (SDA) of ESP32.
- SCL: Connected to D22 (SCL) of ESP32.
- GND: Connected to GND of ESP32.
Touch Sensor TTP233 (Multiple Instances)
- VCC: Connected to 3V3 of ESP32.
- GND: Connected to GND of ESP32.
- I/O: Connected to individual GPIOs (D27, D14, D12, D13) on the ESP32.
128x64 OLED Display (I2C IIC SPI Serial)
- VCC: Connected to 3V3 of ESP32.
- GND: Connected to GND of ESP32.
- SDA: Connected to D21 (SDA) of ESP32.
- SCL: Connected to D22 (SCL) of ESP32.
MLX90614
- VIN: Connected to 3V3 of ESP32.
- GND: Connected to GND of ESP32.
- SDA: Connected to D21 (SDA) of ESP32.
- SCL: Connected to D22 (SCL) of ESP32.
Documented Code
No code has been provided for the microcontrollers in the circuit. The documentation of the code would typically include a description of the functionality, setup, and main loop, along with any functions or libraries used to interface with the components. Since no code is available, this section cannot be completed. If code becomes available, it should be documented here with appropriate comments and explanations for each part of the program.
