Main hardware: ESP-12F, Qiyingtailun CI-B02GS01S offline voice module, DS3231 clock module, DHT11 temperature and humidity module, MH-CD42 lithium battery boost protection board, 1 18650 battery, 1 microphone with a sensitivity of -38db, One 8-ohm 2-watt speaker, two 0.56-inch 4-bit common cathode digital tubes, driven by 74HC595.
Main functions: It can be controlled by voice to display time, date, temperature, humidity, battery voltage, turn off the digital tube, display three colors of lights, turn on and off the night light (there is something wrong with the circuit of the night light part, temporarily let it be displayed at the same time red, green, and blue lights instead). You can also switch the content displayed on the digital tube through the buttons in the upper right corner.
Program part: Two versions of the program were written for ESP-12F. One is a purely offline version. The module enables Light-sleep mode and turns off WIFI to reduce power consumption. The time is mainly based on the time of DS3231; the other version of the program After being connected to the blinker Internet of Things platform, the clock can be controlled to display different contents and lights through the mobile phone, and at the same time, temperature and humidity data can be transmitted back, and the time can also be calibrated (obtaining network time) with one click. Both versions of the program have their own advantages and disadvantages. Program 1 has good display effect, high digital tube refresh rate, low flicker, and low power consumption. However, the time of the DS3231 clock module cannot be calibrated through the network. You can only re-flash the program or use other methods. calibration. Program 2 is powerful, but consumes a lot of power and has poor display effects (the blinker program takes a certain amount of time to complete a loop, which causes serious flickering of the digital tube. The solution is to use the max7219 chip to drive it). Currently, the first program is used because it is battery-powered to reduce power consumption as much as possible while improving the display effect.
Note: Currently, I have found several design deficiencies. (1) ESP_12F needs to pull down GPIO0 when burning. I did not draw the pull-down button in the original schematic, so now I need to use tweezers to short GPIO0 and GND every time I burn. Accepted, it has been corrected now. (2) PWM3, PWM4, and PWM5 of the CI-B02GS01S offline voice module can be fully utilized. Currently, these three IO ports are used to control RGB lights. Infrared receiving and transmitting circuits can also be added to control air conditioners, TVs, fans, etc. Equipment, I feel this is more practical. (3) The night light part feels a bit abrupt, mainly to tie in with this Mid-Autumn Festival event. The initial idea was to make a top cover, install the night light on the top cover, and then 3D print a moon lamp shade and place it on top. There is a discrepancy between the size of the upper cover and the size of the main body, so the drawing board needs to be redrawn. For the time being, I will use the method in the picture to set up the lanterns, and I will slowly improve them later.
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