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

Arduino UNO Controlled Sound-Activated Relay Switch for AC LED Bulb

Image of Arduino UNO Controlled Sound-Activated Relay Switch for AC LED Bulb

Circuit Documentation

Summary

This circuit integrates an Arduino UNO with a sound sensor and a 1-channel relay to control an LED bulb powered by 220V AC. The sound sensor detects noise levels and sends a signal to the Arduino, which processes the input and controls the relay. The relay switches the high-voltage circuit, turning the LED bulb on or off.

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.

Sound Sensor

  • A module that detects sound and converts it into an electrical signal.
  • It typically has a microphone and some circuitry to process the sound.

1-Channel Relay (5V 10A)

  • An electrically operated switch that allows you to control a high power circuit with a low power signal.
  • It has a coil that, when energized, pulls a switch to make or break a high power circuit.

Power 220V

  • The main AC power supply that provides 220V to the circuit.

LED Bulb AC / Bombillo AC

  • An LED light bulb designed to operate on AC power, typically 220V.

Wiring Details

Arduino UNO

  • IOREF connected to Relay Module Power
  • 5V connected to Sound Sensor 5V+
  • GND connected to Sound Sensor GND and Relay Module Ground
  • D8 connected to Relay Module Signal
  • D2 connected to Sound Sensor OUT

Sound Sensor

  • 5V + connected to Arduino UNO 5V
  • OUT connected to Arduino UNO D2
  • GND connected to Arduino UNO GND

1-Channel Relay (5V 10A)

  • NC (Normally Closed) not used in this circuit
  • Signal connected to Arduino UNO D8
  • C (Common) connected to LED Bulb AC +
  • Power connected to Arduino UNO IOREF
  • NO (Normally Open) connected to Power 220V Hot Wire
  • Ground connected to Arduino UNO GND

Power 220V

  • Hot Wire connected to Relay Module NO
  • Neutral Wire connected to LED Bulb AC -

LED Bulb AC / Bombillo AC

  • + connected to Relay Module C
  • - connected to Power 220V Neutral Wire

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:

}

Note: The provided code is a template and does not contain any functional code to control the relay or read from the sound sensor. This will need to be implemented for the circuit to perform its intended operation.