当前位置:网站首页>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
边栏推荐
- Stc8h development (XII): I2C drive AT24C08, at24c32 series EEPROM storage
- 【leetcode】22. bracket-generating
- DM8 backup set deletion
- 深入浅出node模板解析错误escape is not a function
- Global and Chinese market of plasma separator 2022-2028: Research Report on technology, participants, trends, market size and share
- DM8 archive log file manual switching
- MySQL learning record 13 database connection pool, pooling technology, DBCP, c3p0
- Practical development of member management applet 06 introduction to life cycle function and user-defined method
- 10個 Istio 流量管理 最常用的例子,你知道幾個?
- P3500 [poi2010]tes intelligence test (two points & offline)
猜你喜欢
![[disassembly] a visual air fryer. By the way, analyze the internal circuit](/img/73/29553d60f47deadfff420be40b7f77.jpg)
[disassembly] a visual air fryer. By the way, analyze the internal circuit

MySql數據庫root賬戶無法遠程登陸解决辦法

DM8 archive log file manual switching

MySQL master-slave replication

One question per day (Mathematics)

Lora gateway Ethernet transmission

10個 Istio 流量管理 最常用的例子,你知道幾個?

Stack and queue

20、 EEPROM memory (AT24C02) (similar to AD)

Fundamentals of SQL database operation
随机推荐
P2648 make money
Record the pit of NETCORE's memory surge
/usr/bin/gzip: 1: ELF: not found/usr/bin/gzip: 3: : not found/usr/bin/gzip: 4: Syntax error:
JVM garbage collector concept
asp. Core is compatible with both JWT authentication and cookies authentication
P3500 [poi2010]tes intelligence test (two points & offline)
PTA tiantisai l1-078 teacher Ji's return (15 points) detailed explanation
Lombok原理和同时使⽤@Data和@Builder 的坑
1008 circular right shift of array elements (20 points)
图应用详解
MySQL learning record 13 database connection pool, pooling technology, DBCP, c3p0
10 exemples les plus courants de gestion du trafic istio, que savez - vous?
MySql數據庫root賬戶無法遠程登陸解决辦法
Path of class file generated by idea compiling JSP page
Practical development of member management applet 06 introduction to life cycle function and user-defined method
食品行业仓储条码管理系统解决方案
R note prophet
Viewing and verifying backup sets using dmrman
P3500 [POI2010]TES-Intelligence Test(二分&离线)
Recommendation system (IX) PNN model (product based neural networks)