当前位置:网站首页>Yyds dry inventory automatic lighting system based on CC2530 (ZigBee)
Yyds dry inventory automatic lighting system based on CC2530 (ZigBee)
2022-07-06 04:17:00 【DS brother Bruce Lee】
1. Function is introduced
The name of the design topic : be based on ZigBee Automatic lighting system design
Use it all together 3 individual CC2530 ZigBee Development board , The codes are ABC.
A The development board acts as a host : A light sensor is connected to it ,ESP8266WIFI modular . adopt ESP8266 And mobile phones APP Communication between ,ESP8266 Create hotspots , Configure to TCP Server mode ; mobile phone APP Connected to the ESP8266 After the hot spot , Connect again ESP8266 Created servers , Complete communication . mobile phone APP You can control... Through buttons on the B,C Development board LED The light switch .
mobile phone APP The automatic lighting mode can be set on the :
- Automatic lighting mode : according to A The light sensing module on the development board , Collect light intensity , control B、C On the development board LED Light switch .
- Manual mode : mobile phone APP You can choose to control it separately B、C On the development board LED Light switch .
- Support setting the light sensing threshold : On the cell phone APP Can be set on A Development board light sensor threshold ( That is, the threshold value for controlling the light on and off ).
- Support setting brightness , It can also automatically control the brightness according to the ambient light
B The development board acts as a slave node : B On board... Is used on the development board LED The lamp , Simulate the lighting of the bedroom at home , Achieve control effect demonstration .
C The development board acts as a slave node : C On board... Is used on the development board LED The lamp , Simulate the lighting of the living room at home , Achieve control effect demonstration .
Complete project code download address : https://download.csdn.net/download/xiaolong1126626497/75317115
2. Hardware introduction
2.1 ESP8266 wifi
Adopted ESP8266 Series wireless modules are cost-effective WIFI SOC module , This series of modules support standard IEEE802.11b/g/n agreement , Built in complete TCP/IP Protocol stack . Users can use this series of modules to add networking functions to existing devices , You can also build an independent network controller .
CC2530 The development board itself has a ESP8266 Dedicated interface , Just plug it in .
ES8266 WIFI Module connected to A serial port 1 above (P0.4/P0.5 mouth ) , The baud rate is 115200 .
CC2530 Serial port 0 As a routine debugging serial port (P0_2 and P0_3 port ), You can take the collected AD Print data to serial port .
You can also print other debugging information by yourself .
2.2 Photosensitive sensors
3. Project code
3.1 Serial port code
3.2 Key code
3.3 The time delay function
3.4 A Development board ( The coordinator ) Main function code
边栏推荐
- Global and Chinese market of aircraft anti icing and rain protection systems 2022-2028: Research Report on technology, participants, trends, market size and share
- 关于进程、线程、协程、同步、异步、阻塞、非阻塞、并发、并行、串行的理解
- /usr/bin/gzip: 1: ELF: not found/usr/bin/gzip: 3: : not found/usr/bin/gzip: 4: Syntax error:
- P2022 有趣的数(二分&数位dp)
- pd. to_ numeric
- [introduction to Django] 11 web page associated MySQL single field table (add, modify, delete)
- 10個 Istio 流量管理 最常用的例子,你知道幾個?
- Use js to complete an LRU cache
- 脚本生命周期
- 满足多元需求:捷码打造3大一站式开发套餐,助力高效开发
猜你喜欢
During pycharm debugging, the view is read only and pause the process to use the command line appear on the console input
Slow SQL fetching and analysis of MySQL database
Benefits of automated testing
MySql數據庫root賬戶無法遠程登陸解决辦法
Stack and queue
解决“C2001:常量中有换行符“编译问题
Stable Huawei micro certification, stable Huawei cloud database service practice
Understanding of processes, threads, coroutines, synchronization, asynchrony, blocking, non blocking, concurrency, parallelism, and serialization
Yyds dry goods inventory hcie security Day11: preliminary study of firewall dual machine hot standby and vgmp concepts
颠覆你的认知?get和post请求的本质
随机推荐
Data processing methods - smote series and adasyn
[introduction to Django] 11 web page associated MySQL single field table (add, modify, delete)
Hashlimit rate control
Viewing and verifying backup sets using dmrman
Global and Chinese markets for endoscopic drying storage cabinets 2022-2028: Research Report on technology, participants, trends, market size and share
牛顿插值法
[face recognition series] | realize automatic makeup
2327. 知道秘密的人数(递推)
In depth MySQL transactions, stored procedures and triggers
[tomato assistant installation]
Redis (replicate dictionary server) cache
The Research Report "2022 RPA supplier strength matrix analysis of China's banking industry" was officially launched
Recommendation | recommendation of 9 psychotherapy books
math_ Derivative function derivation of limit & differential & derivative & derivative / logarithmic function (derivative definition limit method) / derivative formula derivation of exponential functi
Lambda expression learning
P2648 make money
Lombok原理和同时使⽤@Data和@Builder 的坑
Yyds dry goods inventory hcie security Day11: preliminary study of firewall dual machine hot standby and vgmp concepts
Interface idempotency
食品行业仓储条码管理系统解决方案