Introduction: Whistle Controlled Dustbin

About: I build fun and awesome projects with Arduino, Raspberry Pi, ESP8266, ESP32 based boards.

In this project, a sound sensor will detect the sound intensity of your surroundings and will move an servo motor (open the dustbin) if the sound intensity is above a certain threshold.

Step 1: Hardware and Materials Required

Arduino Mega + USB Cable II Arduino Uno : https://amzn.to/2qU18sO II https://amzn.to/2N1vZkM

9v battery: https://amzn.to/2zIcBmL

Switch: https://amzn.to/2upTngE

Jumper wires: https://amzn.to/2zKePBX

Male DC Barrel Jack Adapter for Arduino : https://amzn.to/2DLx6jI

Micro Servo 9g : https://amzn.to/2DXdE2e

Sound Sensor: https://amzn.to/2TAQRP6

Mini Breadboard : https://amzn.to/2JujS9e

Ice Cream Stick : https://amzn.to/2Gg8RuS

Dustbin

Step 2: Connecting Servo Motor

First, I will start with the mechanism to open the lid. In order to open the lid,Glue one end of the popsicle stick to the flat side of the servo's horn. It must be palced near the hinge where the lid is connected to the main can.

Step 3: Programming

Connect the arduino and upload the given program on your arduino uno.

Step 4: Wiring

You can place Arduino, Sound Sensor, Mini Breadboard, and 9 Battery on Dustbin with the help of double tape and Wire the circuit as shown in the picture.

Step 5: Testing

Test your whistle to open the dustbin.

Thank You