蓝猫淘气

# Sixth Lichuang Electric Competition# Xiaoke’s voice assistant

 
Overview

 1. Introduction to project functions


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)

 

*2. Project attributes


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.

 

* 3. Open source agreement


GPL-3.0

 

*4. Hardware part


The schematic diagram and PCB of the design are as follows:

SCH

PCB

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)

 

*5. Software part


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.

sdk

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.

 

 

*6. Contest LOGO verification


LOGO

 

 

* 7. Demonstrate your project and record it as a video for uploading


see attached.

 

 

参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-07-09 03:41:38
  • msp430g2553 measures amplitude and frequency
  • Want to make a ship's Ais signal receiver
  • Dear friends, what is the difference between two chips of the same model with different suffixes? Urgent! Waiting online
  • The microcontroller is unstable!!!
  • A question about ADS?
  • Online help...

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
community

Robot
development
community

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号