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

Arduino UNO Bluetooth-Controlled Relay Switching System

Image of Arduino UNO Bluetooth-Controlled Relay Switching System

Circuit Documentation

Summary

The circuit in question is designed to control various devices, including relays, a Bluetooth module, bulbs, a loudspeaker, and an electric lock, using an Arduino UNO as the central microcontroller. The relays are used to switch high-voltage devices such as AC bulbs and a loudspeaker. The Bluetooth HC-06 module enables wireless communication with the Arduino, allowing for remote control of the connected devices. The circuit is powered by a 220V power source, with the Arduino and relays operating at 5V.

Component List

Arduino UNO

  • Microcontroller board based on the ATmega328P
  • It has 14 digital input/output pins, 6 analog inputs, a 16 MHz quartz crystal, a USB connection, a power jack, an ICSP header, and a reset button.

Bluetooth HC-06

  • Wireless communication module
  • Used for Bluetooth serial communication

1-Channel Relay (5V 10A)

  • Four instances of a single-channel relay module
  • Used for controlling high power/high voltage devices like bulbs and loudspeakers

Power 220V

  • The main power source for the circuit
  • Provides 220V AC power

AC Bulb

  • A high-voltage light bulb
  • Controlled via a relay

BULB

  • Two instances of a generic bulb
  • Controlled via relays

Loudspeaker

  • An audio output device
  • Controlled via a relay

Electric Lock

  • An electromechanical lock
  • Controlled via the Arduino

Wiring Details

Arduino UNO

  • 5V: Connected to the power pins of all four relays and the VCC pin of the Bluetooth HC-06
  • GND: Common ground for the circuit, connected to the ground pins of all four relays and the GND pin of the Bluetooth HC-06
  • D0: Connected to the TXD pin of the Bluetooth HC-06
  • D1: Connected to the RXD pin of the Bluetooth HC-06
  • D2-D5: Control pins for the signal lines of the four relays

Bluetooth HC-06

  • VCC: Connected to the 5V output from the Arduino UNO
  • GND: Connected to the common ground
  • TXD: Connected to the D0 pin on the Arduino UNO
  • RXD: Connected to the D1 pin on the Arduino UNO

1-Channel Relay (5V 10A)

  • Power: Connected to the 5V output from the Arduino UNO
  • Ground: Connected to the common ground
  • Signal: Controlled by the D2-D5 pins on the Arduino UNO
  • C (Common): Connected to the hot wire of the 220V power source
  • NO (Normally Open): Connected to the respective devices (AC Bulb, Loudspeaker, and two generic bulbs)

Power 220V

  • Hot wire: Connected to the common terminals (C) of all four relays
  • Neutral wire: Connected to the neutral terminals of the AC Bulb and both generic bulbs

AC Bulb

  • P: Connected to the NO terminal of one of the relays and the neutral wire of the 220V power source

BULB

  • +: Connected to the NO terminal of their respective relays
  • -: Connected to the neutral wire of the 220V power source

Loudspeaker

  • Pin1: Connected to the NO terminal of one of the relays and the neutral wire of the 220V power source
  • Pin2: Connected to the NO terminal of another relay

Electric Lock

  • VCC: Not specified in the wiring details
  • GND: Not specified in the wiring details

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 Notes (documentation.txt)

No additional code documentation was provided.