Project showcase
Touch Sensor and Sound Sensor Controlling AC/DC Lights

Touch Sensor and Sound Sensor Controlling AC/DC Lights © GPL3+

A touch sensor pad with sound sensor controlling AC/ DC lights.

  • 1,160 views
  • 2 comments
  • 5 respects

Components and supplies

Necessary tools and machines

Apps and online services

About this project

The sound sensor can detect the sound strength of the environment. The main component of the module is a simple microphone and LM393 level convertor chip. The sensor can provide both digital as well as analog output.

This is my first project and it is working based on two basic sensors—one is a touch sensor and the other one is a sound sensor. When you press the touch pad on the touch sensor, the AC light will switch on. If you release it, the light will be off. The same goes for the sound sensor, which is also used to detect sound. For example, if you clap or make a sound, the DC LED will go on. If no sound, the LED will be off.

Step 1: Main Items

1. AC 230V Operate Light - 1

2. DC 12V LED - 1

3. 12V Relay - 1

4. NPN Transistor 2N4401 - 2

5. Breadboard - 1

6. Resistor 1K-1/4W - 2

7. Connecting Wires

(Note: Here I'm using Arduino for the only purpose of 5V DC supply.)

Step 2: AC/DC Power Supply

1. AC Power Supply for 270V max. range

2. DC Power Supply for 30V max. range

Step 3: Circuit Diagram

1. Main circuit for 5 AC light control

Step 4: Two Sensors with Breadboard Circuit

As per circuit oriented, any doubt email: anbuma343@gmail.com.

Step 5: Video

Code

ARDUINO codeC/C++
int soundSensor= A0;
int LED=11;
boolean LEDStatus=false;

void setup() {
 pinMode(soundSensor,INPUT);
 pinMode(LED,OUTPUT);

}

void loop() {

  int SensorData=digitalRead(soundSensor); 
  if(SensorData==1){

    if(LEDStatus==false){
        LEDStatus=true;
        digitalWrite(LED,HIGH);
    }
    else{
        LEDStatus=false;
        digitalWrite(LED,LOW);
    }
  }
 } 

Custom parts and enclosures

NPN 2N4401 Transistor
transistor-7_IcJwysIvsC.zip

Schematics

The image
Dsc 0280 nwaq2ply42

Comments

Similar projects you might like

Sound Sensor Activated LEDs with LCD for Sound Level Data!

Project tutorial by Heathen_Hacks-v2

  • 1,412 views
  • 2 comments
  • 8 respects

Arduino Modules - Flame Sensor

Project tutorial by SURYATEJA

  • 1,875 views
  • 0 comments
  • 4 respects

Android App-Based Home Automation System Using IOT

Project tutorial by Team Autoshack

  • 24,825 views
  • 17 comments
  • 75 respects

The Arduino Gatekeeper

Project tutorial by Timothy Le

  • 15,567 views
  • 0 comments
  • 50 respects

Reef Controller

Project showcase by Shawn Leclair

  • 14,080 views
  • 0 comments
  • 23 respects
Add projectSign up / Login