Circuit Documentation
Summary of the Circuit
This circuit integrates an Arduino UNO microcontroller with an HC-05 Bluetooth Module and an infrared (IR) sensor. The Arduino UNO serves as the central processing unit, controlling the IR sensor and communicating with external devices through the HC-05 Bluetooth Module. The IR sensor is used to detect objects or motion, and its output is read by the Arduino UNO. The HC-05 module enables wireless communication, allowing the Arduino to send or receive data via Bluetooth. The circuit is powered through the Arduino UNO, which distributes the necessary voltage to the other components.
Component List
Arduino UNO
- Description: A microcontroller board based on the ATmega328P.
- Purpose: Acts as the central processing unit for the circuit, reading sensor data and managing Bluetooth communication.
- Pins: UNUSED, IOREF, Reset, 3.3V, 5V, GND, Vin, A0-A5, SCL, SDA, AREF, D0-D13.
HC-05 Bluetooth Module
- Description: A Bluetooth module for wireless communication.
- Purpose: Enables the Arduino UNO to communicate with other Bluetooth-enabled devices.
- Pins: Key, VCC, GND, TXD, RXD, State.
IR Sensor
- Description: A sensor that detects infrared light reflecting from objects.
- Purpose: Provides object detection capabilities to the circuit.
- Pins: out, gnd, vcc.
USB Male 2 Pin Connection
- Description: A USB connector for power supply.
- Purpose: Supplies power to the circuit.
- Pins: Negative -, Positive +.
Wiring Details
Arduino UNO
- 5V connected to HC-05 Bluetooth Module VCC
- GND connected to IR Sensor gnd and HC-05 Bluetooth Module GND
- Vin connected to IR Sensor vcc
- A0 connected to IR Sensor out
- D1 (TX) connected to HC-05 Bluetooth Module RXD
- D0 (RX) connected to HC-05 Bluetooth Module TXD
HC-05 Bluetooth Module
- VCC connected to Arduino UNO 5V
- GND connected to Arduino UNO GND
- TXD connected to Arduino UNO D0 (RX)
- RXD connected to Arduino UNO D1 (TX)
IR Sensor
- out connected to Arduino UNO A0
- gnd connected to Arduino UNO GND
- vcc connected to Arduino UNO Vin
Documented Code
Arduino UNO Code (sketch.ino)
void setup() {
}
void loop() {
}
Note: The provided code is a template and does not contain any functional code specific to the operation of the circuit. It needs to be populated with the logic for reading the IR sensor and managing Bluetooth communication.