Arduino and ESP32 Bluetooth Communication System with Battery Backup
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This document provides a detailed overview of a circuit that includes an Arduino UNO, a Bluetooth module HM-10, a 3.3V battery, and an ESP32 (30 pin). The circuit is designed to facilitate communication between the Arduino and the Bluetooth module, with power supplied by the 3.3V battery and the Arduino. The ESP32 is also integrated into the circuit for additional functionality.
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
Bluetooth module HM-10
- Description: A Bluetooth Low Energy (BLE) module.
- Pins: BRK, RX, TX, GND, VCC, State
3.3V Battery
- Description: A battery providing 3.3V power.
- Pins: +, -
ESP32 (30 pin)
- Description: A low-power system on a chip microcontroller with integrated Wi-Fi and dual-mode Bluetooth.
- 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
Wiring Details
Arduino UNO
- 3.3V is connected to VCC of the Bluetooth module HM-10.
- 5V is connected to Vin of the ESP32 (30 pin).
- GND is connected to GND of the Bluetooth module HM-10 and GND of the ESP32 (30 pin).
Bluetooth module HM-10
- VCC is connected to 3.3V of the Arduino UNO.
- GND is connected to GND of the Arduino UNO and GND of the ESP32 (30 pin).
- RX is connected to TX0 of the ESP32 (30 pin).
- TX is connected to RX0 of the ESP32 (30 pin).
3.3V Battery
- + is connected to 3V3 of the ESP32 (30 pin).
- - is connected to GND of the ESP32 (30 pin).
ESP32 (30 pin)
- Vin is connected to 5V of the Arduino UNO.
- GND is connected to GND of the Arduino UNO, GND of the Bluetooth module HM-10, and - of the 3.3V battery.
- TX0 is connected to RX of the Bluetooth module HM-10.
- RX0 is connected to TX of the Bluetooth module HM-10.
- 3V3 is connected to + of the 3.3V battery.
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 file is intended for additional documentation purposes.
This document provides a comprehensive overview of the circuit, including a summary, detailed component list, wiring details, and documented code.