当前位置:网站首页>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
边栏推荐
- ELK日志分析系统
- openresty ngx_lua执行阶段
- Use the difference between "Chmod a + X" and "Chmod 755" [closed] - difference between using "Chmod a + X" and "Chmod 755" [closed]
- Avoid material "minefields"! Play with super high conversion rate
- Exploration of short text analysis in the field of medical and health (I)
- Character painting, I use characters to draw a Bing Dwen Dwen
- 数据库和充值都没有了
- Write a thread pool by hand, and take you to learn the implementation principle of ThreadPoolExecutor thread pool
- [daily problem insight] Li Kou - the 280th weekly match (I really didn't know it could be so simple to solve other people's problems)
- A tab Sina navigation bar
猜你喜欢
Missile interception -- UPC winter vacation training match
Three properties that a good homomorphic encryption should satisfy
Grub 2.12 will be released this year to continue to improve boot security
[technology development-26]: data security of new information and communication networks
Practical case of SQL optimization: speed up your database
Hmi-31- [motion mode] solve the problem of picture display of music module
Introduce reflow & repaint, and how to optimize it?
openresty ngx_lua执行阶段
Privatization lightweight continuous integration deployment scheme -- 01 environment configuration (Part 1)
[uc/os-iii] chapter 1.2.3.4 understanding RTOS
随机推荐
Design of KTV intelligent dimming system based on MCU
openresty ngx_lua執行階段
Open source SPL optimized report application coping endlessly
【LeetCode】106. Construct binary tree from middle order and post order traversal sequence (wrong question 2)
When to catch an exception and when to throw an exception- When to catch the Exception vs When to throw the Exceptions?
Design and implementation of high availability website architecture
[uc/os-iii] chapter 1.2.3.4 understanding RTOS
Grpc message sending of vertx
[technology development-26]: data security of new information and communication networks
ASP. Net core 6 framework unveiling example demonstration [01]: initial programming experience
Binary tree traversal - middle order traversal (golang)
Privatization lightweight continuous integration deployment scheme -- 01 environment configuration (Part 1)
Breaking the information cocoon - my method of actively obtaining information - 3
【LeetCode】98. Verify the binary search tree (2 brushes of wrong questions)
[200 opencv routines] 99 Modified alpha mean filter
Android advanced interview question record in 2022
Scientific research: are women better than men?
Talk about the things that must be paid attention to when interviewing programmers
Bumblebee: build, deliver, and run ebpf programs smoothly like silk
Application and Optimization Practice of redis in vivo push platform