Circuit Documentation
Summary
This circuit involves an Arduino UNO microcontroller, an HC-05 Bluetooth module, a 12V single-channel relay, a 12V solenoid lock, and a 12V battery. The Arduino UNO controls the relay and communicates with the Bluetooth module. The relay, in turn, controls the solenoid lock, which is powered by the 12V battery.
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
HC-05 Bluetooth Module
- Description: A Bluetooth module for wireless communication.
- Pins: Key, VCC, GND, TXD, RXD, State
12V Single Channel Relay
- Description: A relay module for switching high voltage devices.
- Pins: NC, COM, NO, IN, GND, VCC
12V Solenoid Lock
- Description: An electronic lock that operates on 12V.
- Pins: VCC, GND
12V Battery
- Description: A 12V power source.
- Pins: +, -
Wiring Details
Arduino UNO
- 3.3V: Connected to VCC of the 12V Single Channel Relay
- 5V: Connected to VCC of the HC-05 Bluetooth Module
- GND: Connected to GND of the 12V Single Channel Relay and HC-05 Bluetooth Module
- D2: Connected to IN of the 12V Single Channel Relay
- D1: Connected to RXD of the HC-05 Bluetooth Module
- D0: Connected to TXD of the HC-05 Bluetooth Module
HC-05 Bluetooth Module
- VCC: Connected to 5V of the Arduino UNO
- GND: Connected to GND of the Arduino UNO
- TXD: Connected to D0 of the Arduino UNO
- RXD: Connected to D1 of the Arduino UNO
12V Single Channel Relay
- VCC: Connected to 3.3V of the Arduino UNO
- GND: Connected to GND of the Arduino UNO
- IN: Connected to D2 of the Arduino UNO
- COM: Connected to - of the 12V Battery
- NO: Connected to GND of the 12V Solenoid Lock
12V Solenoid Lock
- VCC: Connected to + of the 12V Battery
- GND: Connected to NO of the 12V Single Channel Relay
12V Battery
- +: Connected to VCC of the 12V Solenoid Lock
- -: Connected to COM of the 12V Single Channel Relay
Documented Code
Arduino UNO Code (sketch.ino)
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
Additional Documentation (documentation.txt)
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 microcontroller.
