当前位置:网站首页>Yyds dry goods inventory intelligent fan based on CC2530 design
Yyds dry goods inventory intelligent fan based on CC2530 design
2022-07-05 02:40:00 【DS brother Bruce Lee】
1. Project introduction
With the frequent use of air conditioning cooling equipment , The global climate is getting warmer and warmer, and the substances emitted by air-conditioning cooling equipment have an increasing impact on the environment . Second, people often catch a cold or feel unwell after sleeping because the temperature is too low or the temperature rises , Compared with air conditioning, fans are more suitable for the elderly, children and people with weak physique .
Through the intelligent fan design of Internet of things technology, it can solve the problem that the cooling equipment is still running because of sleeping , Realize more energy-saving and intelligent control .
Through the temperature sensor to collect the ambient temperature data and the voice control module to adjust the wind speed to realize the intelligent control of the fan , Make the fan automatically adjust the wind force with the change of temperature .
The specific functions are as follows :
- Realize voice control , It can recognize voice commands and automatically make corresponding work ;
- Realize real-time temperature monitoring ;
- Realize automatic control of fan speed through real-time temperature ;
- After power on, the fan can be switched on and the number of revolutions can be adjusted :
Realize the idea :
use DHT11 Temperature and humidity sensor , Collect ambient temperature , Compare the set temperature threshold with the collected ambient temperature , Switch that controls the fan , Voice control can also be completed by detecting voice through voice recognition module .
The functions implemented are summarized as follows :
- Press the key on the development board to control the switch of the fan (LED The light switch )
- The switch of the fan is controlled by voice (LED The light switch )
Speech is recognized by the speech module . - In the main function, every 500ms Collect once DHT11 temperature , And then through OLED The display shows .
Complete project source code download address : https://download.csdn.net/download/xiaolong1126626497/75318366
2. Hardware introduction
2.1 OLED display
OLED use 0.96 " SPI Interface display . The resolution is 128x64.
2.2 DHT11 Temperature and humidity sensor
DHT11 It is a single bus digital temperature and humidity sensor , Voltage compatible 3v~5v, SCM can directly IO Port connection simulation sequence completes data reading .
The specific wiring is as follows :
2.3 Voice module
The voice module adopts LD3320 Chip for identification , You can set internally recognized terms , Support secondary development programming .
The default built-in recognition entries are as follows :
The following is the physical picture of the speech recognition module :
3. Case code
3.1 Speech recognition module code
3.2 cc2530 Serial port code
3.3 OLED Display code
边栏推荐
- [機緣參悟-38]:鬼穀子-第五飛箝篇 - 警示之一:有一種殺稱為“捧殺”
- 【LeetCode】501. Mode in binary search tree (2 wrong questions)
- College Students' innovation project management system
- 问题解决:AttributeError: ‘NoneType‘ object has no attribute ‘append‘
- Can you really learn 3DMAX modeling by self-study?
- Open source SPL optimized report application coping endlessly
- 【LeetCode】222. The number of nodes of a complete binary tree (2 mistakes)
- Design of KTV intelligent dimming system based on MCU
- Breaking the information cocoon - my method of actively obtaining information - 3
- Talk about the things that must be paid attention to when interviewing programmers
猜你喜欢
[download white paper] does your customer relationship management (CRM) really "manage" customers?
Marubeni Baidu applet detailed configuration tutorial, approved.
Spark SQL learning bullet 2
Openresty ngx Lua Execution stage
Cut! 39 year old Ali P9, saved 150million
Moco V2 literature research [self supervised learning]
A label colorful navigation bar
How to make a cool ink screen electronic clock?
Visual studio 2019 set transparent background (fool teaching)
[技术发展-26]:新型信息与通信网络的数据安全
随机推荐
Tucson will lose more than $400million in the next year
[Yu Yue education] National Open University spring 2019 0505-22t basic nursing reference questions
2022/02/13
Summary and practice of knowledge map construction technology
Leetcode takes out the least number of magic beans
Returns the lowest common ancestor of two nodes in a binary tree
Hmi-32- [motion mode] add light panel and basic information column
Design and practice of kubernetes cluster and application monitoring scheme
openresty ngx_lua执行阶段
"C zero foundation introduction hundred knowledge and hundred cases" (72) multi wave entrustment -- Mom shouted for dinner
tuple and point
Moco V2 literature research [self supervised learning]
ELFK部署
Acwing第 58 场周赛【完结】
Traditional chips and AI chips
Advanced conditional statements of common SQL operations
A tab Sina navigation bar
Yolov5 model training and detection
RichView TRVStyle MainRVStyle
Introduce reflow & repaint, and how to optimize it?