CN102711293B - Wireless sensor network gateway - Google Patents

Wireless sensor network gateway Download PDF

Info

Publication number
CN102711293B
CN102711293B CN 201210146104 CN201210146104A CN102711293B CN 102711293 B CN102711293 B CN 102711293B CN 201210146104 CN201210146104 CN 201210146104 CN 201210146104 A CN201210146104 A CN 201210146104A CN 102711293 B CN102711293 B CN 102711293B
Authority
CN
China
Prior art keywords
microcontroller
circuit
transceiver chip
wireless transceiver
wireless sensor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN 201210146104
Other languages
Chinese (zh)
Other versions
CN102711293A (en
Inventor
刘科
许洪华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Vocational University
Original Assignee
Suzhou Vocational University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Vocational University filed Critical Suzhou Vocational University
Priority to CN 201210146104 priority Critical patent/CN102711293B/en
Publication of CN102711293A publication Critical patent/CN102711293A/en
Application granted granted Critical
Publication of CN102711293B publication Critical patent/CN102711293B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

本发明公开了一种无线传感网络网关,该无线传感网络网关包括64位的MC13213微控制器、无线收发芯片nRF24L01、第一天线电路、第二天线电路、开关电路和电池电路,所述MC13213微控制器的PTA7、PTA6、PTA5、PTA4、PTE1、PTE0依次与无线收发芯片nRF24L01的CE、CSN、CSK、MOSI、MISO、IRQ连接后模拟SPI通讯,MC13213微控制器连接有第一天线电路和开关电路,无线收发芯片nRF24L01通过射频接口连接有第二天线电路,MC13213微控制器和无线收发芯片nRF24L01均通过电源电路供电。通过上述方式,本发明能够实现两种普遍应用的无线传感网络的互联互通,原有的基于高斯频移键控调制的系统可以接入ZigBee网络,从而支持标准协议和灵活组网;原有的ZigBee网络连接更低成本、技术上更为简单的无线传感网络系统。

Figure 201210146104

The invention discloses a wireless sensor network gateway, which includes a 64-bit MC13213 microcontroller, a wireless transceiver chip nRF24L01, a first antenna circuit, a second antenna circuit, a switch circuit and a battery circuit. PTA7, PTA6, PTA5, PTA4, PTE1, and PTE0 of the MC13213 microcontroller are connected with CE, CSN, CSK, MOSI, MISO, and IRQ of the wireless transceiver chip nRF24L01 in turn to simulate SPI communication, and the MC13213 microcontroller is connected to the first antenna circuit And the switch circuit, the wireless transceiver chip nRF24L01 is connected with the second antenna circuit through the radio frequency interface, and the MC13213 microcontroller and the wireless transceiver chip nRF24L01 are powered by the power supply circuit. Through the above method, the present invention can realize the interconnection and intercommunication of two commonly used wireless sensor networks, and the original system based on Gaussian frequency shift keying modulation can be connected to the ZigBee network, thereby supporting standard protocols and flexible networking; the original The ZigBee network connects lower cost, technically simpler wireless sensor network systems.

Figure 201210146104

Description

一种无线传感网络网关A wireless sensor network gateway

技术领域 technical field

本发明涉及电子通讯设备设计及制造领域,特别是涉及一种无线传感网络网关。 The invention relates to the field of design and manufacture of electronic communication equipment, in particular to a wireless sensor network gateway.

背景技术 Background technique

随着随着物联网技术发展,无线传感网络应用日益广泛,应用中的无线通信调制/解调方式、链路控制、通信协议、组网方式等也日益多样,实现不同无线传感网络产品间互联互通日益显得重要。 With the development of the Internet of Things technology, the application of wireless sensor networks is becoming more and more extensive, and the wireless communication modulation/demodulation methods, link control, communication protocols, and networking methods in applications are also becoming more and more diverse. Connectivity is becoming increasingly important.

在2.4G ISM频段,nRF24L01基于高斯频移键控调制的技术,最高通信速率为2Mb/s,简单易用,价格低廉,获得了广泛应用;但是由于没有标准协议等,大规模应用和组网时存在不足。ZigBee技术基于扩频通信,有标准协议,且易于组成大规模网络,是2.4G ISM频段获得广泛应用的另一种无线传感网络技术;但其技术较为复杂,成本相比前一种技术较高,而最高通信速率为250kb/s。 In the 2.4G ISM frequency band, nRF24L01 is based on Gaussian frequency shift keying modulation technology, with a maximum communication rate of 2Mb/s, easy to use, low price, and widely used; however, due to the lack of standard protocols, large-scale applications and networking When there are deficiencies. ZigBee technology is based on spread spectrum communication, has a standard protocol, and is easy to form a large-scale network. It is another wireless sensor network technology widely used in the 2.4G ISM frequency band; High, and the highest communication rate is 250kb/s.

发明内容 Contents of the invention

本发明主要解决的技术问题是提供一种无线传感网络网关,能够实现两种普遍应用的无线传感网络的互联互通,原有的基于高斯频移键控调制的系统可以接入ZigBee网络,从而支持标准协议和灵活组网;原有的ZigBee网络连接更低成本、技术上更为简单的无线传感网络系统。 The technical problem mainly solved by the present invention is to provide a wireless sensor network gateway, which can realize the interconnection and intercommunication of two commonly used wireless sensor networks, and the original system based on Gaussian frequency shift keying modulation can be connected to the ZigBee network, Thus supporting standard protocols and flexible networking; the original ZigBee network connection is lower cost and technically simpler wireless sensor network system.

为解决上述技术问题,本发明采用的一个技术方案是:提供一种无线传感网络网关,该无线传感网络网关包括64位的MC13213微控制器、无线收发芯片nRF24L01、第一天线电路、第二天线电路、开关电路和电池电路,所述MC13213微控制器的PTA7、PTA6、PTA5、PTA4、PTE1、PTE0依次与无线收发芯片nRF24L01的CE、CSN、CSK、MOSI、MISO、IRQ连接后模拟SPI通讯,MC13213微控制器连接有第一天线电路和开关电路,无线收发芯片nRF24L01通过射频接口连接有第二天线电路,MC13213微控制器和无线收发芯片nRF24L01均通过电源电路供电。 In order to solve the above technical problems, a technical solution adopted by the present invention is to provide a wireless sensor network gateway, which includes a 64-bit MC13213 microcontroller, a wireless transceiver chip nRF24L01, a first antenna circuit, a second Two antenna circuits, switch circuits and battery circuits, the PTA7, PTA6, PTA5, PTA4, PTE1, PTE0 of the MC13213 microcontroller are connected with the CE, CSN, CSK, MOSI, MISO, and IRQ of the wireless transceiver chip nRF24L01 in turn to simulate the SPI For communication, the MC13213 microcontroller is connected with the first antenna circuit and the switch circuit, the wireless transceiver chip nRF24L01 is connected with the second antenna circuit through the radio frequency interface, and both the MC13213 microcontroller and the wireless transceiver chip nRF24L01 are powered by the power supply circuit.

优选的是,所述开关电路的信道设置开关S0、S1、S2、S3依次与MC13213微控制器的PTC0、PTC1、PTC2、PTC3连接。 Preferably, the channel setting switches S0, S1, S2, and S3 of the switch circuit are sequentially connected to PTC0, PTC1, PTC2, and PTC3 of the MC13213 microcontroller.

优选的是,所述开关电路的速率选择开关S4与MC13213微控制器的PTC4连接。 Preferably, the rate selection switch S4 of the switch circuit is connected to the PTC4 of the MC13213 microcontroller.

本发明的有益效果是:本发明一种无线传感网络网关,能够实现两种普遍应用的无线传感网络的互联互通,原有的基于高斯频移键控调制的系统可以接入ZigBee网络,从而支持标准协议和灵活组网;原有的ZigBee网络连接更低成本、技术上更为简单的无线传感网络系统。 The beneficial effect of the present invention is: a kind of wireless sensor network gateway of the present invention can realize the intercommunication of two kinds of commonly used wireless sensor networks, the original system based on Gaussian frequency shift keying modulation can access ZigBee network, Thus supporting standard protocols and flexible networking; the original ZigBee network connection is lower cost and technically simpler wireless sensor network system.

附图说明 Description of drawings

图1是本发明一种无线传感网络网关的一较佳实施例的结构示意图; Fig. 1 is a schematic structural diagram of a preferred embodiment of a wireless sensor network gateway of the present invention;

附图中各部件的标记如下: The marks of each part in the accompanying drawings are as follows:

1、MC13213微控制器;2、无线收发芯片nRF24L01;3、第一天线电路;4、第二天线电路;5、开关电路;6、电池电路;51、信道设置开关;52、速率选择开关。 1. MC13213 microcontroller; 2. Wireless transceiver chip nRF24L01; 3. First antenna circuit; 4. Second antenna circuit; 5. Switch circuit; 6. Battery circuit; 51. Channel setting switch; 52. Speed selection switch.

具体实施方式 Detailed ways

下面结合附图对本发明较佳实施例进行详细阐述,以使发明的优点和特征能更易于被本领域技术人员理解,从而对本发明的保护范围做出更为清楚明确的界定。 The preferred embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings, so that the advantages and features of the invention can be more easily understood by those skilled in the art, so as to define the protection scope of the present invention more clearly.

请参阅图1,本发明实施例包括: Please refer to Fig. 1, the embodiment of the present invention comprises:

一种无线传感网络网关,该无线传感网络网关包括64位的MC13213微控制器1、无线收发芯片nRF24L012、第一天线电路3、第二天线电路4、开关电路5和电池电路6,所述MC13213微控制器1的PTA7、PTA6、PTA5、PTA4、PTE1、PTE0依次与无线收发芯片nRF24L01 2的CE、CSN、CSK、MOSI、MISO、IRQ连接后模拟SPI通讯,MC13213微控制器1连接有第一天线电路3和开关电路5,无线收发芯片nRF24L01  2通过射频接口连接有第二天线电路4,MC13213微控制器1和无线收发芯片nRF24L01 2均通过电源电路供电6;所述开关电路5的信道设置开关51 S0、S1、S2、S3依次与MC13213微控制器的PTC0、PTC1、PTC2、PTC3连接;所述开关电路5的速率选择开关52 S4与MC13213微控制器的PTC4连接。 A wireless sensor network gateway, the wireless sensor network gateway includes a 64-bit MC13213 microcontroller 1, a wireless transceiver chip nRF24L012, a first antenna circuit 3, a second antenna circuit 4, a switch circuit 5 and a battery circuit 6, the PTA7, PTA6, PTA5, PTA4, PTE1, PTE0 of MC13213 microcontroller 1 are connected with CE, CSN, CSK, MOSI, MISO, IRQ of wireless transceiver chip nRF24L01 2 in turn to simulate SPI communication, and MC13213 microcontroller 1 is connected with The first antenna circuit 3 and the switch circuit 5, the wireless transceiver chip nRF24L01 2 is connected with the second antenna circuit 4 through the radio frequency interface, the MC13213 microcontroller 1 and the wireless transceiver chip nRF24L01 2 are all powered by the power supply circuit 6; the switch circuit 5 Channel setting switch 51 S0, S1, S2, S3 is connected with PTC0, PTC1, PTC2, PTC3 of MC13213 microcontroller successively; The rate selection switch 52 S4 of described switching circuit 5 is connected with PTC4 of MC13213 microcontroller.

本发明一种无线传感网络网关的工作方式为:以nRF24L01为核心的射频收发系统作为MC13213的外围设备,二者通过SPI接口相连。开关s0~s3用于选择ZigBee通信信道(信道11~26),s4用于选择nRF24L01通信速率(2Mb/s或1Mb/s) The working mode of the wireless sensor network gateway of the present invention is as follows: the radio frequency transceiver system with nRF24L01 as the core is used as the peripheral equipment of MC13213, and the two are connected through the SPI interface. Switches s0~s3 are used to select ZigBee communication channel (channel 11~26), s4 is used to select nRF24L01 communication rate (2Mb/s or 1Mb/s)

网关中MC13213涉及两个方面功能:首先是ZigBee通信,第二是作为nRF24L01系统的控制器。MC13213微控制器连接简单的天线系统和电源等外围电路后即可作为ZigBee通信节点, MC13213通过其PTA端口和PTE端口模拟SPI接口,与无线收发芯片nRF24L01连接。 The MC13213 in the gateway involves two functions: the first is ZigBee communication, and the second is as the controller of the nRF24L01 system. The MC13213 microcontroller can be used as a ZigBee communication node after connecting a simple antenna system and power supply and other peripheral circuits. MC13213 simulates the SPI interface through its PTA port and PTE port, and connects with the wireless transceiver chip nRF24L01.

无线收发芯片nRF24L01部分电路在上电复位时,MC13213微控制器完成对无线收发芯片nRF24L01初始化;在工作时,MC13213微控制器将其无线接收到的数据去掉ZigBee帧头帧尾,通过SPI接口写入无线收发芯片nRF24L01;无线收发芯片nRF24L01接收到无线数据时,通过中断触发MC13213微控制器,MC13213微控制器通过SPI接口读取该数据,添加ZigBee帧头帧尾后以无线方式转发。 When some circuits of the wireless transceiver chip nRF24L01 are powered on and reset, the MC13213 microcontroller completes the initialization of the wireless transceiver chip nRF24L01; when it is working, the MC13213 microcontroller removes the ZigBee frame header and frame tail from the data received wirelessly, and writes it through the SPI interface. Enter the wireless transceiver chip nRF24L01; when the wireless transceiver chip nRF24L01 receives wireless data, it triggers the MC13213 microcontroller through an interrupt, and the MC13213 microcontroller reads the data through the SPI interface, adds the ZigBee frame header and frame tail, and forwards it wirelessly.

在MC13213微控制器内RAM中设有2个环形队列,用于作为无线收发芯片nRF24L01发送数据缓冲区和ZigBee发送数据缓冲区以适应两套通信系统速度不匹配,以及无线信道可能由于受到干扰而延迟发送等情况 There are two circular queues in the RAM of the MC13213 microcontroller, which are used as the wireless transceiver chip nRF24L01 sending data buffer and ZigBee sending data buffer to adapt to the speed mismatch between the two communication systems, and the wireless channel may be interrupted due to interference. Delayed delivery, etc.

本发明一种无线传感网络网关,能够实现两种普遍应用的无线传感网络的互联互通,原有的基于高斯频移键控调制的系统可以接入ZigBee网络,从而支持标准协议和灵活组网;原有的ZigBee网络连接更低成本、技术上更为简单的无线传感网络系统。 The invention is a wireless sensor network gateway, which can realize the interconnection and intercommunication of two commonly used wireless sensor networks. The original system based on Gaussian frequency shift keying modulation can be connected to the ZigBee network, thereby supporting standard protocols and flexible group network; the original ZigBee network connection lower cost, technically simpler wireless sensor network system.

以上所述仅为本发明的实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。 The above is only an embodiment of the present invention, and does not limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made by using the description of the present invention and the contents of the accompanying drawings, or directly or indirectly used in other related technologies fields, all of which are equally included in the scope of patent protection of the present invention.

Claims (2)

1.一种无线传感网络网关,其特征在于:该无线传感网络网关包括64位的MC13213微控制器、无线收发芯片nRF24L01、第一天线电路、第二天线电路、开关电路和电池电路,所述MC13213微控制器的PTA7、PTA6、PTA5、PTA4、PTE1、PTE0依次与无线收发芯片nRF24L01的CE、CSN、CSK、MOSI、MISO、IRQ连接后模拟SPI通讯,MC13213微控制器连接有第一天线电路和开关电路,无线收发芯片nRF24L01通过射频接口连接有第二天线电路,MC13213微控制器和无线收发芯片nRF24L01均通过电源电路供电,所述开关电路的信道设置开关S0、S1、S2、S3依次与MC13213微控制器的PTC0、PTC1、PTC2、PTC3连接。 1. A wireless sensor network gateway, characterized in that: the wireless sensor network gateway comprises 64-bit MC13213 microcontrollers, wireless transceiver chip nRF24L01, a first antenna circuit, a second antenna circuit, a switch circuit and a battery circuit, PTA7, PTA6, PTA5, PTA4, PTE1, and PTE0 of the MC13213 microcontroller are connected with CE, CSN, CSK, MOSI, MISO, and IRQ of the wireless transceiver chip nRF24L01 in turn to simulate SPI communication, and the MC13213 microcontroller is connected with the first The antenna circuit and the switch circuit, the wireless transceiver chip nRF24L01 is connected to the second antenna circuit through the radio frequency interface, the MC13213 microcontroller and the wireless transceiver chip nRF24L01 are powered by the power supply circuit, the channel setting switches S0, S1, S2, S3 of the switch circuit Connect with PTC0, PTC1, PTC2, PTC3 of MC13213 microcontroller in turn. 2.根据权利要求1所述的一种无线传感网络网关,其特征在于:所述开关电路的速率开关S4与MC13213微控制器的PTC4连接。 2. A wireless sensor network gateway according to claim 1, characterized in that: the rate switch S4 of the switch circuit is connected to the PTC4 of the MC13213 microcontroller.
CN 201210146104 2012-05-14 2012-05-14 Wireless sensor network gateway Expired - Fee Related CN102711293B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201210146104 CN102711293B (en) 2012-05-14 2012-05-14 Wireless sensor network gateway

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201210146104 CN102711293B (en) 2012-05-14 2012-05-14 Wireless sensor network gateway

Publications (2)

Publication Number Publication Date
CN102711293A CN102711293A (en) 2012-10-03
CN102711293B true CN102711293B (en) 2013-12-18

Family

ID=46903792

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201210146104 Expired - Fee Related CN102711293B (en) 2012-05-14 2012-05-14 Wireless sensor network gateway

Country Status (1)

Country Link
CN (1) CN102711293B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104349516A (en) * 2014-10-29 2015-02-11 苏州市职业大学 60GHz millimeter wave industrial wireless sensing network gateway
CN104936317B (en) * 2015-06-24 2018-12-14 苏州科技学院 A kind of bis- 24L01 gateways of WiFi/

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202652550U (en) * 2012-05-14 2013-01-02 苏州市职业大学 A wireless sensor network gateway

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7260369B2 (en) * 2005-08-03 2007-08-21 Kamilo Feher Location finder, tracker, communication and remote control system
US7023341B2 (en) * 2003-02-03 2006-04-04 Ingrid, Inc. RFID reader for a security network
AT503172B8 (en) * 2006-02-01 2008-07-15 Moeller Produktions Und Vertri ELECTRICAL INSTALLATION ARRANGEMENT, AND METHOD FOR OPERATING AN ELECTRICAL INSTALLATION ARRANGEMENT
CN101819432B (en) * 2010-03-23 2011-09-21 浙江大学 Beam pumping unit remote monitoring method and system based on wireless sensor network and TD-SCDMA (Time Division-Synchronization Code Division Multiple Access)

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202652550U (en) * 2012-05-14 2013-01-02 苏州市职业大学 A wireless sensor network gateway

Also Published As

Publication number Publication date
CN102711293A (en) 2012-10-03

Similar Documents

Publication Publication Date Title
CN204204010U (en) A kind of TF card with communication function
CN104219836A (en) Lighting control system
CN204438539U (en) A kind of dual-mode cloud water-heater system based on Wi-Fi communication mode
CN102711293B (en) Wireless sensor network gateway
CN105141671A (en) Air conditioning unit system and control method of air conditioning unit
CN202652550U (en) A wireless sensor network gateway
CN204069434U (en) A kind of Lighting Control Assembly
CN202873087U (en) Wireless gateway for agricultural Internet of Things
CN204258844U (en) Household Internet of Things gateway
CN1953378A (en) A communication device for wireless sensor network communication base station
CN201904810U (en) Field bus protocol converter based on wireless technology
CN103546921B (en) A kind of compatible device and method of protocol stack fusion and system
CN106059865A (en) Wireless communication method based on ZigBee and bluetooth protocols in home intelligent gateway
CN203149815U (en) Narrow-band small- and mid-scale wireless data acquiring system
CN205407859U (en) Information of forwardding arrives network of network module
CN202841548U (en) A Zigbee access terminal
CN203786552U (en) Sensor Data Acquisition System Based on Internet of Things
CN202799185U (en) WiFi router possessing ZigBee communication function
CN205681640U (en) A kind of Internet of Things ZigBee gateway
CN201839282U (en) Remote communication device for interval axis-counting system
CN202872850U (en) Intelligent gateway
CN202353556U (en) Remote wireless communication device
CN204442413U (en) A kind of intelligent gateway of the multiple interface multiple protocol based on linux system
CN204681369U (en) A kind of wireless transactions communication telegon
CN204465529U (en) A dual-mode communication device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20131218

Termination date: 20150514

EXPY Termination of patent right or utility model