Circuit Documentation
Summary
This document provides a detailed overview of a circuit that includes an ESP32 microcontroller, a TCS3200 color sensor, multiple IR sensors, and a pushbutton. The circuit is designed to interface these components with the ESP32 for various sensing and input functionalities.
Component List
ESP32 (30 pin)
- Description: A powerful microcontroller with built-in Wi-Fi and Bluetooth capabilities.
- Pins: EN, VP, VN, D34, D35, D32, D33, D25, D26, D27, D14, D12, D13, GND, Vin, D23, D22, TX0, RX0, D21, D19, D18, D5, TX2, RX2, D4, D2, D15, 3V3
TCS3200
- Description: A color sensor that can detect and measure the intensity of red, green, and blue light.
- Pins: GND, OUT, S2, S3, VCC, LED, S0, S1
IR Sensor
- Description: Infrared sensors used for detecting objects or measuring distance.
- Pins: out, gnd, vcc
Pushbutton
- Description: A simple pushbutton used for user input.
- Pins: Pin 3 (out), Pin 4 (out), Pin 1 (in), Pin 2 (in)
Wiring Details
ESP32 (30 pin)
- D25: Connected to
outpin of IR Sensor 1 - D26: Connected to
outpin of IR Sensor 2 - D27: Connected to
outpin of IR Sensor 3 - GND: Connected to
GNDpin of TCS3200,gndpins of all IR Sensors, andPin 4 (out)of Pushbutton - Vin: Connected to
VCCpin of TCS3200 - D23: Connected to
Pin 1 (in)of Pushbutton - D18: Connected to
OUTpin of TCS3200 - D5: Connected to
S3pin of TCS3200 - D4: Connected to
S2pin of TCS3200 - D2: Connected to
S1pin of TCS3200 - D15: Connected to
S0pin of TCS3200 - 3V3: Connected to
vccpins of all IR Sensors
TCS3200
- GND: Connected to
GNDpin of ESP32 - OUT: Connected to
D18pin of ESP32 - S2: Connected to
D4pin of ESP32 - S3: Connected to
D5pin of ESP32 - VCC: Connected to
Vinpin of ESP32 - S0: Connected to
D15pin of ESP32 - S1: Connected to
D2pin of ESP32
IR Sensor 1
- out: Connected to
D25pin of ESP32 - gnd: Connected to
GNDpin of ESP32 - vcc: Connected to
3V3pin of ESP32
IR Sensor 2
- out: Connected to
D26pin of ESP32 - gnd: Connected to
GNDpin of ESP32 - vcc: Connected to
3V3pin of ESP32
IR Sensor 3
- out: Connected to
D27pin of ESP32 - gnd: Connected to
GNDpin of ESP32 - vcc: Connected to
3V3pin of ESP32
Pushbutton
- Pin 1 (in): Connected to
D23pin of ESP32 - Pin 4 (out): Connected to
GNDpin of ESP32
Code
There is no code provided for the microcontrollers in this circuit.
