Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Project Documentation

Arduino UNO Bluetooth-Controlled Relay System

Image of Arduino UNO Bluetooth-Controlled Relay System

Circuit Documentation

Summary of the Circuit

This circuit integrates an Arduino UNO microcontroller with an HC-05 Bluetooth Module and an 8-Channel 5V Relay Shield. The Arduino UNO serves as the central processing unit, controlling the relay shield and communicating with external devices through the HC-05 Bluetooth Module. The relay shield allows the Arduino to control up to eight separate high-power devices, while the Bluetooth module enables wireless communication.

Component List

Arduino UNO

  • Description: A microcontroller board based on the ATmega328P.
  • Pins: UNUSED, IOREF, Reset, 3.3V, 5V, GND, Vin, A0-A5, SCL, SDA, AREF, D0-D13.
  • Purpose: Acts as the central controller for the circuit, executing the embedded code and interfacing with other components.

8-Channel 5V Relay Shield

  • Description: A relay module that allows the Arduino to control up to eight different high-power devices.
  • Pins: K1-On, K1-Off, K1-In, K2-On, K2-Off, K2-In, ..., K8-On, K8-Off, K8-In, VCC, GND, IN1-IN8.
  • Purpose: Provides the ability to switch high-power devices on and off.

USB Male 2 Pin Connection

  • Description: A USB connector with two pins for power supply.
  • Pins: Negative -, Positive +.
  • Purpose: Supplies power to the circuit through a USB connection.

HC-05 Bluetooth Module

  • Description: A wireless Bluetooth module for serial communication.
  • Pins: Key, VCC, GND, TXD, RXD, State.
  • Purpose: Enables wireless communication between the Arduino and other Bluetooth-enabled devices.

Wiring Details

Arduino UNO

  • 5V connected to HC-05 Bluetooth Module VCC
  • GND connected to HC-05 Bluetooth Module GND
  • D9-D2 connected to 8-Channel 5V Relay Shield IN1-IN8 respectively
  • D1 (TX) connected to HC-05 Bluetooth Module RXD
  • D0 (RX) connected to HC-05 Bluetooth Module TXD

8-Channel 5V Relay Shield

  • IN1-IN8 connected to Arduino UNO D9-D2 respectively
  • VCC and GND would typically be connected to a power supply and ground, but these connections are not specified in the provided net list.

HC-05 Bluetooth Module

  • VCC connected to Arduino UNO 5V
  • GND connected to Arduino UNO GND
  • RXD connected to Arduino UNO D1 (TX)
  • TXD connected to Arduino UNO D0 (RX)

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:

}

This code is a template for the Arduino UNO and does not contain any specific functionality. The setup() function is called once when the microcontroller is powered on or reset, and the loop() function is called repeatedly, allowing the microcontroller to perform operations continuously.

Additional Notes

  • The provided code is a placeholder and needs to be populated with logic to control the relay shield and handle Bluetooth communication.
  • The USB male 2 pin connection is mentioned in the parts list but is not included in the net list, suggesting it is used for power supply purposes.
  • The documentation file (documentation.txt) for the Arduino UNO is empty and thus not included in this document.