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

Arduino-Based Voice-Activated Smart Light with Relay Control

Image of Arduino-Based Voice-Activated Smart Light with Relay Control

Circuit Documentation

Summary

This circuit involves an Arduino UNO microcontroller, a 1 Channel 5V Relay Module, an Adafruit MAX4466 Electret Microphone Amplifier, and a bulb powered by a 220V power source. The circuit is designed to control the bulb based on the input from the microphone amplifier, with the relay module acting as a switch.

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

1 Channel 5V Relay Module

  • Description: A relay module that allows a low-power microcontroller to control a high-power device.
  • Pins: VCC+, VCC- (GND), IN, N.O., COM, N.C.

Adafruit MAX4466 Electret Microphone Amplifier

  • Description: A microphone amplifier that provides a clear, amplified audio signal.
  • Pins: VCC, GND, OUT

Bulb

  • Description: A standard light bulb.
  • Pins: GND, power

Power 220V

  • Description: A 220V AC power source.
  • Pins: hot wire, neutral wire

Comment

  • Description: A placeholder for comments or notes in the circuit.
  • Pins: None

Wiring Details

Arduino UNO

  • GND is connected to:

    • 1 Channel 5V Relay Module (VCC- (GND))
    • Adafruit MAX4466 Electret Microphone Amplifier (GND)
  • 5V is connected to:

    • 1 Channel 5V Relay Module (VCC+)
    • Adafruit MAX4466 Electret Microphone Amplifier (VCC)
  • D6 is connected to:

    • 1 Channel 5V Relay Module (IN)
  • D4 is connected to:

    • Adafruit MAX4466 Electret Microphone Amplifier (OUT)

1 Channel 5V Relay Module

  • VCC- (GND) is connected to:

    • Arduino UNO (GND)
    • Adafruit MAX4466 Electret Microphone Amplifier (GND)
  • VCC+ is connected to:

    • Arduino UNO (5V)
    • Adafruit MAX4466 Electret Microphone Amplifier (VCC)
  • IN is connected to:

    • Arduino UNO (D6)
  • N.O. is connected to:

    • Bulb (power)
  • COM is connected to:

    • Power 220V (hot wire)

Adafruit MAX4466 Electret Microphone Amplifier

  • GND is connected to:

    • Arduino UNO (GND)
    • 1 Channel 5V Relay Module (VCC- (GND))
  • VCC is connected to:

    • Arduino UNO (5V)
    • 1 Channel 5V Relay Module (VCC+)
  • OUT is connected to:

    • Arduino UNO (D4)

Bulb

  • GND is connected to:

    • Power 220V (neutral wire)
  • power is connected to:

    • 1 Channel 5V Relay Module (N.O.)

Power 220V

  • hot wire is connected to:

    • 1 Channel 5V Relay Module (COM)
  • neutral wire is connected to:

    • Bulb (GND)

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:

}

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 microcontroller.