Clap Switch

Facebook
Twitter
Email
Print

Prepared by:

  • Sharry Grace M. Celorico
  • Asia Mae D. Dipa
  • Judy Ann S. Flandez
  • Kazuo Q. Hirose
  • Karl Martin V. Villamor

How It Works:

The light-bulb turns ON when a clap is detected, and when two claps are detected, it turns OFF. Which makes it easier more automated in lighting up a room without the use of a manual switch.

Materials Needed:

  • 1 – Sound Sensor
  • 1 – Bulb with Socket
  • 1 – 1/8 Plywood
  • 1 – Relay Module
  • 1 – Breadboard
  • 1 – Plug & Wire

Actual Set-up:

Pictorial Diagram

Set-up and Components

Some of the Problems We Faced:

  • The compiler sends out an error message when it is being uploaded to the Node MCU–ESP8266. Thus, the system is not working properly as expected.

 

Solutions to the Problems:

  • We figured out that it may be caused by wrong set of codes that are installed to the system, and the hardware that is used to store the codes is not compatible in running the program.
  • We decided to change the codes and use Arduino Nano instead of
    the Node MCU-ESP8266.