Circuit Documentation
Summary
This circuit involves an Arduino UNO, an ESP32, and a Bi-Directional Logic Level Converter. The Arduino UNO and ESP32 are interconnected through the Logic Level Converter to ensure proper voltage levels for communication. The Arduino UNO operates at 5V logic levels, while the ESP32 operates at 3.3V logic levels. The Logic Level Converter facilitates safe communication between these two devices.
Component List
Arduino UNO
- Description: A microcontroller board based on the ATmega328P.
- Pins: UNUSED, IOREF, Reset, 3.3V, 5V, GND, Vin, A0, A1, A2, A3, A4, A5, SCL, SDA, AREF, D13, D12, D11, D10, D9, D8, D7, D6, D5, D4, D3, D2, D1, D0
ESP32
- Description: A low-cost, low-power system on a chip (SoC) with Wi-Fi and Bluetooth capabilities.
- Pins: EN, VP, VN, D34, D35, D32, D33, D25, D26, D27, D14, D12, D13, GND, VIN, 3V3, D15, D2, D4, RX2, TX2, D5, D18, D19, D21, RX0, TX0, D22, D23, BOOT
Bi-Directional Logic Level Converter
- Description: A device used to safely step down 5V signals to 3.3V and step up 3.3V to 5V.
- Pins: HV1, HV2, HV, GND, HV3, HV4, LV1, LV2, LV, LV3, LV4
Wiring Details
Arduino UNO
- 5V connected to HV of the Logic Level Converter
- GND connected to GND of the Logic Level Converter
- D1 connected to HV1 of the Logic Level Converter
- D0 connected to HV2 of the Logic Level Converter
ESP32
- 3V3 connected to LV of the Logic Level Converter
- GND connected to GND of the Logic Level Converter
- RX2 connected to LV1 of the Logic Level Converter
- TX2 connected to LV2 of the Logic Level Converter
Bi-Directional Logic Level Converter
- HV connected to 5V of the Arduino UNO
- GND connected to GND of both the Arduino UNO and ESP32
- HV1 connected to D1 of the Arduino UNO
- HV2 connected to D0 of the Arduino UNO
- LV connected to 3V3 of the ESP32
- LV1 connected to RX2 of the ESP32
- LV2 connected to TX2 of the ESP32
Documented Code
Arduino UNO Code
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
Additional Documentation
This documentation provides a comprehensive overview of the circuit, including a summary, detailed component list, wiring details, and the code used in the Arduino UNO.
