当前位置:网站首页>Talk 5 wireless communication

Talk 5 wireless communication

2022-06-26 05:25:00 Super cute sandwich kids

Reference handout 1.CC2530 BasicRF( Wireless lighting ) be based on Q2530SB plate
1.ZigBee wireless communication , High frequency carriers are required to provide transmission efficiency ,ZigBee The modules shall be able to send and receive normally , The receiving module must set the receiving frequency to be consistent with the carrier frequency of the transmitting module
2.ZigBee Yes 27 Carriers can communicate , A carrier wave is called a channel ( Wireless communication channel ). The frequencies of these carriers fall in certain frequency ranges , We call these segments frequency bands .
Yes :2.4G Frequency band 16 Channels (11-26) 
      915M Frequency band 、 896M Frequency band 11 Channels  
      however TI All the support for ZigBee The chip of the underlying protocol can only be used in 2.4G Frequency band 16 Communication in channels . Channel number 11-26.
      11 2405M
      12 2410M
      13 2415M
          . ......
       26 2480M
3. network address
  stay ZigBee Wireless LAN , Each module is unique in the network 2 Byte address , This address is called the network address
4.PANID
  This is a 2 Byte code , Used to distinguish between different ZigBee WLAN , Personal area network ID.
  Content of wireless data packet capturing
#define SENDVAL 5
char SendPacket[]{0x0C,0x61,0x88,0x00,0x07,0x20,0xEF,0xBE,0x20,0x50,SENDVAL};
// First byte 0x0C meaning , It means that there is still 12 Send data
// The first 5 6 Byte representation PANID 2007
// The first 7 8 Bytes represent the network address of the target device of the wireless communication module 0xBEEF
// The first 9 10 Bytes represent the network address of the local module
//11 Bytes are the values we transmit SENDVAL And defined 5
//CRC code 12 13 Bytes Is the hardware auto append

It mainly receives the LAN of both sides 、 The same as the network address
Caught tools USBDongle
 802.15.4 zigbee The underlying protocol , The hardware must support Four frames are defined : Beacon frame Data frame Confirm frame MAC Command frame
 

原网站

版权声明
本文为[Super cute sandwich kids]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202180507092244.html