In the early stage, I made a smart voice trash can based on ARDUINO NANO and CI1122 offline voice module. Four servos were responsible for opening and closing the lids of the four trash cans. Although the effect was good, it felt not convenient enough. This time, I just took advantage of Lichuang’s event to make a smart voice trash can based on Anxinke ESP-12F as the main control (PS: It’s not actually smart. It just inputs a large number of lexicon into the offline voice module. According to different voice recognition, and then corresponding to different garbage classifications), because the ESP-12F has relatively few available IO ports, and at the same time I want to drive an OLED screen, and the remaining IO ports that can output PWM signals are not enough, so I changed it this time. Plan to make: use a servo to drive a rotating trash can (this trash can is a rotating pen holder bought online, it has exactly 4 grids, and the colors can roughly match). Main components: Essence ESP-12F, Qiyingtailun VCT1 offline voice module, a -36DB microphone, an 8 ohm 2 watt speaker, and a 0.96 OLED display. Specific principle: The voice module recognizes different types of garbage and the results are given to ESP-12F through the serial port. ESP-12F drives a servo to drive the trash can to rotate to a designated position. Different garbage types correspond to different rotation angles of the servo, thus achieving Garbage classification.
Introduction and introduction to the relevant functions of the project:
Voice wake-up, calling "smart trash can" can wake up the module;
You can directly report the types of garbage, such as "recyclable garbage", "kitchen waste", "hazardous garbage", and "other garbage". The corresponding color of the garbage bin will rotate to the bottom of the garbage inlet;
You can also report the name of specific garbage (more than 100 common garbage names are entered in the thesaurus);
After the garbage type is successfully identified, ESP-12F lights up the OLED display to display the type of garbage and the corresponding icon;
After each garbage type is successfully identified, the red LED indicator lights up for two seconds and then goes out automatically;
If there is no voice call for 15 seconds, the module enters standby mode;
Connect to the Internet of Things and control the rotation of the trash can through the mobile phone APP (this program is still under debugging).
1. The offline voice module is responsible for speech recognition and sending recognized commands to the ESP-12F serial port.
2. ESP-12F is responsible for reading the serial port data, and then driving the servo to rotate to the corresponding angle according to the command data; in addition, it is also responsible for 0.96 Garbage type image information displayed on OLED screen
3. A double-row switch is added between the serial ports of the two modules to facilitate the ESP-12F to disconnect from the offline voice module when downloading the program.
Use ARDUINO IDE programming software.
The trash can cannot be forced to rotate by hand, as it is easy to sweep the teeth.
1. Front of main control board
2. Side
3. Gear transmission part
4. Assembled appearance
https://www.bilibili.com/video/BV19r4y1Q7Pf/
All reference designs on this site are sourced from major semiconductor manufacturers or collected online for learning and research. The copyright belongs to the semiconductor manufacturer or the original author. If you believe that the reference design of this site infringes upon your relevant rights and interests, please send us a rights notice. As a neutral platform service provider, we will take measures to delete the relevant content in accordance with relevant laws after receiving the relevant notice from the rights holder. Please send relevant notifications to email: bbs_service@eeworld.com.cn.
It is your responsibility to test the circuit yourself and determine its suitability for you. EEWorld will not be liable for direct, indirect, special, incidental, consequential or punitive damages arising from any cause or anything connected to any reference design used.
Supported by EEWorld Datasheet