Zigbee 150m 1000m Zigbee Zigbee Zigbee ZigBee ZigBee ZigBee 1 Zigbee Zigbee PC PC PC Zigbee 65536 256 20 30 2011.06
Signal Process & System 1 DS18B20 ACS712 TI CC2430 CC2430 Zigbee PC LED 1 1 DS18B20 9~12-55 C~+125 C 0.0625 C 1 2 3 4 P+ VCC P+ VIOUT P- FILTER P- GND ACF712 8 7 6 5 2 ACF712 VCC P0.0 3 CC2430 A L 4 B lμf 2 ACS712ELCTR-05B-T SOIC8 1 2 3 4 IC [1] +5A 0~5V ACF712 R F FITER 6 RC [1] 7 ACS712 CC2430 P0.0 2 3-40~+120 C CC2430 CC2430 4 L A B B CC2430 CC2430 T v=l/t 2 Zigbeee Zigbee Zigbee DS18B20 ACS712 2011.06 SensorWorld 31
Zigbee Zigbee Zigbee IEEE802.15.4MAC IEEE802.15.4PHY [2] Zigbee APL Zigbee Zigbee Zigbee #ifdef ZG_Coord // Zigbee zgdevicelogicaltype = ZG_DEVICETYPE_COORDINATOR; #ifdef ZG_Router // Zigbee zgdevicelogicaltype = ZG_DEVICETYPE_ROUTER; #ifdef ZG_ENDDEVICE // Zigbee zgdevicelogicaltype = ZG_DEVICETYPE_ENDDEVICE; Zigbee MAX_DEPTH MAX_ROUTERS MAX_CHILDREN [3] projects\zstack\tools cskip.xls 2 16 OS OSAL.c byte osal_init_system( void ) OS OS osaladdtasks() OS osaladdtasks( ) osaltaskadd( ) void osaladdtasks( void ) osaltaskadd (Hal_Init, Hal_ProcessEvent, OSAL_TASK_ PRIORITY_LOW); #if defined( ZMAC_F8W ) osaltaskadd( mactaskinit, maceventloop, OSAL_TASK_ PRIORITY_HIGH ); #if defined( MT_TASK ) osaltaskadd( MT_TaskInit, MT_ProcessEvent, OSAL_ TASK_PRIORITY_LOW ); osaltaskadd( nwk_init, nwk_event_loop, OSAL_TASK_ PRIORITY_MED ); osaltaskadd( APS_Init, APS_event_loop, OSAL_TASK_PRIORITY_LOW ); osaltaskadd( ZDApp_Init, ZDApp_event_loop, OSAL_TASK_PRIORITY_LOW ); 1 Zigbee Zigbee AF_DataRequest() F_IncomingData() Zigbee AODV [4] 2 USB COM MSComm PC MSComm (1)CommPort 1~99 1 (2)Ettin8 MSComm1.Setting= 9600 n 8 1 (3)PortOpen (4)RThreshold MSComm1 OnComm (5)Input 32 2011.06
Signal Process & System (6)Output [5] send(), Receive Private Sub Receive_Click() If blnreceiveflag Then If Not blnautosendflag And Not blnreceiveflag Then Main.ctrMSComm.PortOpen = False Main.Receive.Caption = "" Else If Not Main.ctrMSComm.PortOpen Then Main.ctrMSComm.CommPort = intport Main.ctrMSComm.Settings = strset Main.ctrMSComm.PortOpen = True Main.ctrMSComm.InputLen = 0 Main.ctrMSComm.InputMode = 0 Main.ctrMSComm.InBufferCount = 0 Main.ctrMSComm.RThreshold = 1 Main.Receive.Caption = "" blnreceiveflag = Not blnreceiveflag End Sub Private Sub send2_click() If Not Main.ctrMSComm.PortOpen Then Main.ctrMSComm.CommPort = intport Main.ctrMSComm.Settings = strset Main.ctrMSComm.PortOpen = True Call ctrtimer_timer If Not blnautosendflag Then Main.ctrMSComm.PortOpen = False 3 cnn.connectionstring="provider=microsoft.jet.oledb.4.0;"_ +"DataSource="+App.Path+\user.mdb;" 4 CC2430 T3 A 0 B Zigbee PC while(1) if(p0_0 == 1) // P1_0=0; timer1_init(); // while(p0_0 == 1); // timer1_init(); // // P1_1=0; while(p0_1 == 0); // // 1 5 1 6 6 2 3 4 IP 1 2 16 =65536 256 2 CC2430 27mA 25mA <0.9μA <0.6μA 3 Zigbee 2011.06 SensorWorld 33
IEEE802.15.4 16 2.4GH z 5MHz 11 26 k RF IEEE 802.15.4 F c =2405+5(k-11)MHz (k=11 12 26) Zigbee Zigbee GPRS Zigbee [1] ACS721 [J] 2010 (5) 92-96 [2]Zigbee2007/PRO [M] 2009 88-89 [3].Z-Stack1.4.3-1.2.1 V2.00[Z]. 2009.7-8 [4]HaenggiM, PuccinelliD. Routing in Ad Hoc networks: A case for long hops[j].ieee Communication Magazine,2005,43(10):93-101 [5].visual basic [M]..2006:24-25 [6],,,. [J].,2008,31(1):21-24 [7]. [J].,2008,16(4):476-478 [8]L Gu,D Jia,et al. Lightweight detection and classification for wireless sensor networks in realistic environments[a].the 2nd Int 1 Conf on Embedded Networked Sensor Systems (SenSys 05)[C],San Diego,USA,2005 510800, China. 2.South China Normal University, Guangzhou 510631, China) Abstract: A traffic flow data acquisition system of intelligent transportation project based on Zigbee wireless networks is studied in this paper, which adopts embedded multi-tasking operating system and Zigbee 2006 Stack. The vehicle data acquisition system is composed of two parts--master module and slave module. With the help of PC software, the node parameters can be set, the controlled object can feedback the control signals and send data. The vehicle flow, vehicle speed, temperature, utilization rate of road and other data can be collected efficiently at any time, and the system temperature, the installation location, traffic flow information can be stored and handed into the database. Keywords: Intelligent transportation; flow detection; Zigbee network; data collection; control 11 :510800 : menjin@163.com 007 Design and implementation of intelligent data acquisition system based on Zigbee for transportation vehicle MengJing Liu ShouQiang FengJan (1.GuangDong Communication Polytechnic Guangzhou 34 2011.06