Circuit Documentation
Summary
This circuit involves an Arduino UNO microcontroller interfaced with an IR sensor and an HC-05 Bluetooth module. The circuit is powered by a 7.4V power source. The IR sensor detects objects and sends signals to the Arduino, which can then communicate with other devices via the Bluetooth module.
Component List
IR Sensor
- Description: An infrared sensor used to detect objects.
- Pins: out, gnd, vcc
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
HC-05 Bluetooth Module
- Description: A Bluetooth module used for wireless communication.
- Pins: Key, VCC, GND, TXD, RXD, State
7.4V Power Source
- Description: A 7.4V battery or power supply.
- Pins: +, -
Wiring Details
IR Sensor
- out connected to D3 of Arduino UNO
- gnd connected to GND of Arduino UNO
- vcc connected to 5V of Arduino UNO
Arduino UNO
- D3 connected to out of IR Sensor
- GND connected to gnd of IR Sensor
- 5V connected to vcc of IR Sensor
- 5V connected to VCC of HC-05 Bluetooth Module
- GND connected to GND of HC-05 Bluetooth Module
- GND connected to - of 7.4V Power Source
- Vin connected to + of 7.4V Power Source
- D1 connected to RXD of HC-05 Bluetooth Module
- D0 connected to TXD of HC-05 Bluetooth Module
HC-05 Bluetooth Module
- VCC connected to 5V of Arduino UNO
- GND connected to GND of Arduino UNO
- RXD connected to D1 of Arduino UNO
- TXD connected to D0 of Arduino UNO
7.4V Power Source
- - connected to GND of Arduino UNO
- + connected to Vin of Arduino UNO
Code Documentation
Arduino UNO Code
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
This code is a basic template for the Arduino UNO. The setup() function is where you initialize your settings, and the loop() function is where the main code runs repeatedly. Currently, the code does not perform any specific actions and serves as a starting point for further development.
