当前位置:网站首页>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
边栏推荐
- A label colorful navigation bar
- Official announcement! The third cloud native programming challenge is officially launched!
- The database and recharge are gone
- 【微服务|SCG】Filters的33种用法
- A tab Sina navigation bar
- Android advanced interview question record in 2022
- 【LeetCode】111. Minimum depth of binary tree (2 brushes of wrong questions)
- Asynchronous and promise
- Advanced conditional statements of common SQL operations
- [source code attached] Intelligent Recommendation System Based on knowledge map -sylvie rabbit
猜你喜欢
Summary and practice of knowledge map construction technology
A label making navigation bar
Asp+access campus network goods trading platform
Practical case of SQL optimization: speed up your database
The most powerful new household god card of Bank of communications. Apply to earn 2100 yuan. Hurry up if you haven't applied!
Bumblebee: build, deliver, and run ebpf programs smoothly like silk
Open source SPL optimized report application coping endlessly
Go RPC call
Avoid material "minefields"! Play with super high conversion rate
openresty ngx_lua執行階段
随机推荐
使用druid連接MySQL數據庫報類型錯誤
Application and Optimization Practice of redis in vivo push platform
Design and implementation of community hospital information system
低度酒赛道进入洗牌期,新品牌如何破局三大难题?
8. Commodity management - commodity classification
College Students' innovation project management system
Timescaledb 2.5.2 release, time series database based on PostgreSQL
Open source SPL optimized report application coping endlessly
LeetCode 314. Binary tree vertical order traversal - Binary Tree Series Question 6
Breaking the information cocoon - my method of actively obtaining information - 3
[understanding of opportunity -38]: Guiguzi - Chapter 5 flying clamp - warning one: there is a kind of killing called "killing"
Design of KTV intelligent dimming system based on MCU
Spoon inserts and updates the Oracle database, and some prompts are inserted with errors. Assertion botch: negative time
A tab Sina navigation bar
Exploration of short text analysis in the field of medical and health (II)
Hmi-32- [motion mode] add light panel and basic information column
Learn game model 3D characters, come out to find a job?
A label colorful navigation bar
Uniapp navigateto jump failure
openresty ngx_ Lua variable operation