Introduction: Smart Segregator/Dustbin
Smart Segregator/Dustbin talks to you when you approach it and helps you choose the correct options to throw your waste. In our version it first speaks in english and if you stand around longer it will speak in Konkani (Goan Language). The moment you move away it says thank you and shuts up. And we made the smart segregator separate from the dustbin because then you could put it in front of any 3 standard public dustbins as well.
Step 1: Components
Step 2: Circuit Diagram
Step 3: Adding Required Arduino Libraries
1) New ping library
ultrasonic sensor (HC-SR04) are used to detect the presence of human beings in front of the dustbin.
new ping library is used.
2) DFplayer mini library
DFplayer mini is used for playing the required the audio.
Step 4: Preparing the DFplayer Mini
All the 8 audio are added to micro sd card and inserted into the DFplayer mini.The audio names should be 0001, 0002, till 0008.
connect a drive speaker less than 3W to pin spk1 and spk2 pin of DFplayer mini.
Step 5: Code
Upload this code in arduino.
Attachments
Step 6:

Participated in the
Sensors Contest 2017

Participated in the
Make Noise Challenge

Participated in the
Green Electronics Contest 2016
7 Comments
Tip 3 years ago
DFRobot's library for the DFPlayerMini is a terrible and inefficient library. If anyone want's a faster and simpler library to use with this module, I suggest using this one: https://github.com/PowerBroker2/DFPlayerMini_Fast. You can also download and install through the Arduino IDE's Libraries Manager (search "DFPlayerMini Fast").
3 years ago
Hi friend can you send to me the code related to this on severinemrema1@gmail.com pĺease
3 years ago on Step 4
How to download audio in SD card.
4 years ago
Hello ,can you send me the code related to this pls my email is raulesteban_c@hotmail.com
6 years ago
Can you please send me code related to this at vsingh537@gmail.com
Reply 6 years ago
its also in the description of the video
6 years ago
Can you send me the code related to this!