After powering on, the welcome message "Welcome to Xiaoke's voice assistant, please use 'Xiaoke' to wake me up" is played. The user's voice command can be correctly recognized when working. The user can wake up the voice assistant through "Xiaoke's", and then It can realize a series of air conditioning control functions such as "switching the air conditioner on and off", "adjusting the temperature", "changing the mode" and so on.
Speech recognition has a wider range and higher accuracy. The infrared control range is farther and the accuracy is higher.
The module is extremely small and can be easily designed and put into a shell (I don’t know how)
This project is being made public for the first time and is original content. Have not won any prize in a competition or participated in a school defense.
GPL-3.0
The schematic diagram and PCB of the design are as follows:
This is the second version of the design. Compared with the first version, the following three main modifications have been made:
1. Remove the battery power supply circuit.
·After actual use testing, a fully charged rechargeable battery will run out of power after 1 day; through theoretical calculations, even if a 10,000mAh large power bank is used, regardless of loss or use, the voice module can only theoretically be on standby. 7 days. (This thing consumes quite a lot of power)
·So I plan to actually use a long data cable to connect the power adapter for power supply.
2. Pin header of MCLK/UPDATE at J1.
·Because MCLK/UPDATE has a built-in pull-down, it actually does not need to be pulled down to ground. The official recommendation is also a floating pin.
·BUT! This change is actually a failure! Every time when downloading a program, I need to use a jumper cap to short-circuit the two pins of J1. I have to find a jumper cap. It is better to just put the jumper cap on it and short-circuit it to ground, and directly use it. Unplug it and plug in the other side.
3. Infrared transceiver module.
·Because the receiving distance of the first version is too close, you need to touch the face of the air conditioner to control it. I suspect that the emission current of the infrared diode is too small, because the chip manual says that the diode supports a maximum current of 1A, $(5V -0.7V*2)/10Ω=360mA$ It is better to remove an infrared diode and reduce the series resistance.
·It turns out that this actually works.
·But it turns out that I overlooked an issue. From the first version to the second version, I used infrared diodes with a wavelength of 870nm (the kind that can be seen slightly red when emitting light, the kind used in older TV remote controls). However, however, most air conditioners now use 940nm infrared receivers... So increasing the conduction current is not a permanent solution at all... (I later asked for a 940nm one and soldered it on, and it was really cool)
Using the infrared SDK officially provided by Qiyingtailun, the code part has not been modified yet, the bin file is directly generated and integrated, and then the firmware is packaged and downloaded.
However, the replacement of infrared SDK is slightly different from that of ordinary SDK, and it failed after many attempts. Finally, I got the answer in Qiyingtailun official forum and successfully implemented it.
see attached.
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