CN103209002B - For the data transmission device of micro wireless sensor node - Google Patents

For the data transmission device of micro wireless sensor node Download PDF

Info

Publication number
CN103209002B
CN103209002B CN201310143428.7A CN201310143428A CN103209002B CN 103209002 B CN103209002 B CN 103209002B CN 201310143428 A CN201310143428 A CN 201310143428A CN 103209002 B CN103209002 B CN 103209002B
Authority
CN
China
Prior art keywords
sensor node
wireless sensor
module
data transmission
minimum system
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.)
Active
Application number
CN201310143428.7A
Other languages
Chinese (zh)
Other versions
CN103209002A (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.)
Shenzhen Institute of Advanced Technology of CAS
Original Assignee
Shenzhen Institute of Advanced Technology of CAS
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 Shenzhen Institute of Advanced Technology of CAS filed Critical Shenzhen Institute of Advanced Technology of CAS
Priority to CN201310143428.7A priority Critical patent/CN103209002B/en
Publication of CN103209002A publication Critical patent/CN103209002A/en
Application granted granted Critical
Publication of CN103209002B publication Critical patent/CN103209002B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

The present invention relates to a kind of data transmission device for micro wireless sensor node, comprise main circuit board, described main circuit board is provided with and transmits the communication module of data, serial port transform USB module in radio communication mode, realize the USB connector of exchanges data with outer computer and control the microcontroller minimum system of described communication module and serial port transform USB module work; Described USB connector is connected to described microcontroller minimum system by described serial port transform USB module, and described communication module is connected to described microcontroller minimum system.The above-mentioned data transmission device for micro wireless sensor node can be used after being connected with outer computer by USB connector, without the need to external bluetooth module auxiliary data transmission, very convenient, the communication module simultaneously transmitting data in radio communication mode achieves stronger reception and sends the ability of wireless signal, expands communication distance.

Description

For the data transmission device of micro wireless sensor node
Technical field
The present invention relates to wireless communication field, particularly relate to a kind of data transmission device for micro wireless sensor node.
Background technology
Along with the fast development of computer technology and embedded technology, people are more prone to fast to arithmetic speed, the resourceful computer of various transfer of data that embedded system collected carries out calculation process analysis in real time.From the transmission means of data, the communication mode of embedded system and computer can be divided into wired and wireless.Wired mode is reliable, stable, but the occasion complicated in some geographical conditions, construction of line difficulty is large, cost is high, and wired mode equipment needed thereby is installed not easily, use the shortcoming such as dumb to appear undoubtedly, and wireless mode has just showed advantage.At present, in data acquisition and computer communication technology, bluetooth (Bluetooth) is a kind of extremely popular near radio data communication technology standard, because bluetooth adopts wave point to replace wire cable to connect, there is very strong transplantability, and be applicable to multiple occasion, add that this technology is low in energy consumption, little to harm, so be easy to promote.
Although Bluetooth technology is one of most popular wireless communication technique instantly, its shortcoming is also apparent.The embedded microcontrollers such as the current micro wireless sensor node for attitude detection, itself do not support Bluetooth function, generally all must could carry out transfer of data with single-chip microcomputer by the external bluetooth module based on serial ports.In the occasion of some data acquisitions, adding of external bluetooth module relates to loaded down with trivial details blue-teeth data configuration effort.On the other hand, from communication distance, transmission range between general bluetooth module is all at 10cm ~ 10m, increase communication distance, the power of transmitting terminal and receiving terminal can only be increased, in some application scenarios, such as microminiaturized radio node sensor network system, have strict requirement to the volume of system and power consumption, Bluetooth technology is difficult to be competent at.
Summary of the invention
Based on this, be necessary to provide a kind of easy to use and data transmission device for micro wireless sensor node that communication distance is longer.
A kind of data transmission device for micro wireless sensor node, comprise main circuit board, described main circuit board is provided with and transmits the communication module of data, serial port transform USB module in radio communication mode, realize the USB connector of exchanges data with outer computer and control the microcontroller minimum system of described communication module and serial port transform USB module work; Described USB connector is connected to described microcontroller minimum system by described serial port transform USB module, and described communication module is connected to described microcontroller minimum system;
Described microcontroller minimum system controls to transfer to microcontroller minimum system after outer computer is transformed by the order that USB connector transmits by described serial port transform USB module and processes, and the order after process is transferred to micro wireless sensor node by communication module in radio communication mode; Described microcontroller minimum system controls the data that described communication module reception micro wireless sensor node transmits, and the data that communication module receives are undertaken transforming to transfer to outer computer by USB connector by serial port transform USB module after the process of microcontroller minimum system.
Wherein in an embodiment, described communication module also comprises radio-frequency module, antenna-matching circuit and bar antenna, described antenna-matching circuit is connected between described radio-frequency module and bar antenna, and described bar antenna and described radio-frequency module and antenna-matching circuit realize receiving or wireless signal emission.
Wherein in an embodiment, the described data transmission device for micro wireless sensor node also comprises voltage stabilizing circuit, described voltage stabilizing circuit is connected between described USB connector and microcontroller minimum system, for providing stable voltage for described microcontroller minimum system.
Wherein in an embodiment, the described data transmission device for micro wireless sensor node also comprises Signal transmissions indicator light, described Signal transmissions indicator light is connected to described microcontroller minimum system, is used to indicate the described state for the data transmission device transceiving data of micro wireless sensor node.
Wherein in an embodiment, the described data transmission device for micro wireless sensor node also comprises JTAG download interface, described JTAG download interface is connected to described microcontroller minimum system, for described microcontroller minimum system is connected to outer computer refresh routine.
Wherein in an embodiment, the chip model that described microcontroller minimum system adopts is MSP4302418.
Wherein in an embodiment, the chip model that described serial port transform USB module adopts is CP2101.
Wherein in an embodiment, the chip model that described radio-frequency module adopts is nRF905.
After the USB connector of the above-mentioned data transmission device for micro wireless sensor node is connected with outer computer, can receive by communication module information that micro wireless sensor node sends or the instruction that outer computer sends wirelessly is sent to micro wireless sensor node, that is be the bridge carrying out exchanges data between micro wireless sensor node and outer computer for the data transmission device of micro wireless sensor node, serve the effect of data relay.The above-mentioned data transmission device for micro wireless sensor node can be used after being connected with outer computer by USB connector, without the need to external bluetooth module auxiliary data transmission, very convenient, the communication module simultaneously transmitting data in radio communication mode achieves stronger reception and sends the ability of wireless signal, expands communication distance.
Accompanying drawing explanation
Fig. 1 is the structural representation of the data transmission device for micro wireless sensor node of an embodiment;
Fig. 2 is the bottom diagram for the data transmission device of micro wireless sensor node shown in Fig. 1;
Fig. 3 is the module frame chart of the data transmission device for micro wireless sensor node of an embodiment;
Fig. 4 is the workflow diagram of the data transmission device for micro wireless sensor node of an embodiment.
Embodiment
Realize radio communication there is the shorter and awkward problem of distance to solve current applying Bluetooth, present embodiments provide for a kind of data transmission device for micro wireless sensor node.Below in conjunction with specific embodiment, the data transmission device for micro wireless sensor node is specifically described.
The data transmission device for micro wireless sensor node that present embodiment provides, as the bridge carrying out exchanges data between micro wireless sensor node and outer computer, plays the effect of data relay.Please refer to Fig. 1, Fig. 2 and Fig. 3, data transmission device for micro wireless sensor node comprises main circuit board 100, microcontroller minimum system 110, radio-frequency module 120, JTAG(JointTestActionGroup, combined testing action group) download interface 130, Signal transmissions indicator light 140, antenna-matching circuit 150, bar antenna 160, voltage stabilizing circuit 170, serial port transform USB module 180 and USB connector 190.
Main circuit board 100 is of a size of 40mm*12mm, and main circuit board 100 is mainly used in placing each functional module for the data transmission device of micro wireless sensor node.
Microcontroller minimum system 110 is cores of the data transmission device for micro wireless sensor node, for controlling the work of the data transmission device modules for micro wireless sensor node, and microcontroller minimum system 110 can be connected by USB connector 190 with outer computer, and microcontroller minimum system 110 directly can send data to outer computer.In the present embodiment, the chip model that microcontroller minimum system adopts is MSP4302418.MSP4302418 chip has super low-power consumption, high power capacity internal memory and powerful disposal ability because of it, is applicable to very much the microcontroller minimum system of the data transmission device done for micro wireless sensor node.
Radio-frequency module 120, JTAG download interface 130 and Signal transmissions indicator light 140 are connected with microcontroller minimum system 110 respectively.The chip model that radio-frequency module adopts is nRF905, has stronger antijamming capability.JTAG download interface 130 is for being connected to outer computer refresh routine by microcontroller minimum system 110.Signal transmissions indicator light 140 is SMD, and when the data transmission device for micro wireless sensor node has data receiver or transmission time, Signal transmissions indicator light 140 just brightens, otherwise goes out always.The on and off of Signal transmissions indicator light 140 and the frequency of flicker can reflect intuitively data be sending or receiving, message transmission rate how, whether transmission reliable and stable.
Bar antenna 160 is connected to radio-frequency module 120 by antenna-matching circuit 150.Bar antenna 160, antenna-matching circuit 150 and radio-frequency module 120 form communication module, can receive or transmitted radio signal, for realizing for the communication between the data transmission device of micro wireless sensor node and micro wireless sensor node.The diameter design of bar antenna 160 is 7mm, length is 5.4mm, can strengthen reception and the transmitting capacity of signal, ensure that for micro wireless sensor node data transmission device can and micro wireless sensor node between can telecommunication.
USB connector 190 is connected to microcontroller minimum system 110 by serial port transform USB module 180.Voltage stabilizing circuit 170 is connected between USB connector 190 and microcontroller minimum system 110.Microcontroller minimum system 110 carries the asynchronous serial communication port of standard, and now general computer is seldom with U-shaped 9 needle serial ports.In order to make the interface of system and current general computer interface compatibility, be used in the more compact structure of the data transmission device of micro wireless sensor node with firm, we have selected a model is that the serial ports of nRF905 turns the conversion that USB chip carries out data, to be then connected with the USB interface of computer by USB connector 190 and to carry out the transmission of data.And be connected for the data transmission device of micro wireless sensor node could normally work with computer, therefore being powered by the USB interface of computer is more reasonably select, therefore for micro wireless sensor node data transmission device by USB connector 190 and the USB interface of computer be connected in mutually realize transfer of data while also achieve power supply.Voltage stabilizing circuit 170 provides stable voltage to microcontroller minimum system 110.
Work for the data transmission device of micro wireless sensor node be unable to do without the program of the data transmission device inside be embedded into for micro wireless sensor node.Program adopts modularization, the method for designing lower from top, clear in structure, is easy to debug.Program also takes into account power consumption and arithmetic speed simultaneously, and make full use of the interrupt function of microcontroller minimum system 110 to guarantee the real-time Transmission of master data and configuration order, have execution speed faster, the memory space simultaneously taken is less.
Please refer to Fig. 4, the internal work flow process for the data transmission device of micro wireless sensor node is as follows:
1, after powering on for the data transmission device of micro wireless sensor node, first carry out the initial work of internal module, comprise the configuration of the I/O mouth function of MSP4302418, interrupt mode and nRF905, the initial configuration of serial ports clock, baud rate.
2, open total interruption of MSP4302418, the operating state of radio-frequency module 120 is set to receiving mode, then MSP4302418 enters low-power consumption mode (allowing to interrupt occurring) or processes other affairs.
If the packet that 3 do not receive micro wireless sensor node, so MSP4302418 will be in low-power consumption mode always.
4, when receiving the packet of micro wireless sensor node, MSP4302418 exits low-power consumption mode, and external interrupt triggers, and enters external interrupt service function.
5, inside outside break in service function, calling the bottom layer driving function of radio-frequency module 120---receiver function receives packet.
6, by serial ports Packet Generation to outer computer.
7, remove external interrupt mark, exit external interrupt, MSP4302418 reenters low-power consumption mode.
8, when outer computer sends parameter configuration order, the serial ports down trigger of MSP4302418.
9, inside serial ports break in service function, call the bottom layer driving function of radio-frequency module 120---send function and order is sent to micro wireless sensor node.
10, radio-frequency module 120 reenters receiving mode, and MSP4302418 exits serial ports and interrupts, and reenters low-power consumption mode.
In above-mentioned flow process, when the data transmission device for micro wireless sensor node receives the packet of micro wireless sensor node, namely when radio-frequency module 120 listens to the carrier signal of micro wireless sensor node, and detect and to mate from micro wireless sensor address of node, so the external interrupt of radio-frequency module 120 control MSP4302418 module is triggered, then inside outside break in service function, the data of the receiving register of radio-frequency module 120 are read by serial bus, serial port transform USB module 180 is transferred to by asynchronous serial communication interface after having read, outer computer is transferred to by USB connector 190 after carrying out the conversion of data and level by serial port transform USB module 180 again, outer computer just can obtain packet and the analyzing and processing of carrying out next step by calling relevant serial communication function.And when outer computer sends parameter configuration order, the serial ports of MSP4302418 module interrupts also being triggered, then configuration order is write the transmitter register of radio-frequency module 120 inside serial ports break in service function by serial bus, again it is sent to micro wireless sensor node in the mode of wireless telecommunications, thus reaches the object of micro wireless sensor node being carried out to relative set.
After the USB connector 190 of the above-mentioned data transmission device for micro wireless sensor node is connected with outer computer, can receive by communication module information that micro wireless sensor node sends or the instruction that outer computer sends wirelessly is sent to micro wireless sensor node, that is be the bridge carrying out exchanges data between micro wireless sensor node and outer computer for the data transmission device of micro wireless sensor node, serve the effect of data relay.The above-mentioned data transmission device for micro wireless sensor node can be used after being connected with outer computer by USB connector 190, without the need to external bluetooth module auxiliary data transmission, very convenient, bar antenna 160 simultaneously in communication module can strengthen the ability that radio-frequency module 120 received and sent wireless signal, expands communication distance.
The above embodiment only have expressed several execution mode of the present invention, and it describes comparatively concrete and detailed, but therefore can not be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection range of patent of the present invention should be as the criterion with claims.

Claims (4)

1. the data transmission device for micro wireless sensor node, comprise main circuit board, it is characterized in that, described main circuit board is provided with and transmits the communication module of data, serial port transform USB module in radio communication mode, realize the USB connector of exchanges data with outer computer and control the microcontroller minimum system of described communication module and serial port transform USB module work; Described USB connector is connected to described microcontroller minimum system by described serial port transform USB module, and described communication module is connected to described microcontroller minimum system;
Described microcontroller minimum system controls to transfer to microcontroller minimum system after outer computer is transformed by the order that USB connector transmits by described serial port transform USB module and processes, and the order after process is transferred to micro wireless sensor node by communication module in radio communication mode; Described microcontroller minimum system controls the data that described communication module reception micro wireless sensor node transmits, and the data that communication module receives are undertaken transforming to transfer to outer computer by USB connector by serial port transform USB module after the process of microcontroller minimum system;
Described communication module also comprises radio-frequency module, antenna-matching circuit and bar antenna, described antenna-matching circuit is connected between described radio-frequency module and bar antenna, and described bar antenna and described radio-frequency module and antenna-matching circuit realize receiving or wireless signal emission;
The chip model that described serial port transform USB module adopts is CP2101, and the chip model that described radio-frequency module adopts is nRF905, and the chip model that described microcontroller minimum system adopts is MSP4302418;
The job step of described data transmission device is:
Carry out the initial work of internal module, comprise the configuration of the I/O mouth function of MSP4302418, interrupt mode and nRF905, the initial configuration of serial ports clock, baud rate;
Open total interruption of MSP4302418, the operating state of radio-frequency module is set to receiving mode, MSP4302418 enters low-power consumption mode, if do not receive the packet of micro wireless sensor node, then MSP4302418 is in low-power consumption mode, otherwise MSP4302418 exits low-power consumption mode, and external interrupt triggers, and enters external interrupt service function;
Call in outside break in service function radio-frequency module bottom layer driving function receive packet, and by serial ports by Packet Generation to outer computer;
Remove external interrupt mark, exit external interrupt, MSP4302418 enters low-power consumption mode;
When outer computer sends parameter configuration order, the serial ports down trigger of MSP4302418, order is sent to micro wireless sensor node by the bottom layer driving function calling radio-frequency module in serial ports break in service function;
Radio-frequency module reenters receiving mode, and MSP4302418 exits serial ports and interrupts, and enters low-power consumption mode.
2. the data transmission device for micro wireless sensor node according to claim 1, it is characterized in that, the described data transmission device for micro wireless sensor node also comprises voltage stabilizing circuit, described voltage stabilizing circuit is connected between described USB connector and microcontroller minimum system, for providing stable voltage for described microcontroller minimum system.
3. the data transmission device for micro wireless sensor node according to claim 1, it is characterized in that, the described data transmission device for micro wireless sensor node also comprises Signal transmissions indicator light, described Signal transmissions indicator light is connected to described microcontroller minimum system, is used to indicate the described state for the data transmission device transceiving data of micro wireless sensor node.
4. the data transmission device for micro wireless sensor node according to claim 1, it is characterized in that, the described data transmission device for micro wireless sensor node also comprises JTAG download interface, described JTAG download interface is connected to described microcontroller minimum system, for described microcontroller minimum system is connected to outer computer refresh routine.
CN201310143428.7A 2013-04-23 2013-04-23 For the data transmission device of micro wireless sensor node Active CN103209002B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310143428.7A CN103209002B (en) 2013-04-23 2013-04-23 For the data transmission device of micro wireless sensor node

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310143428.7A CN103209002B (en) 2013-04-23 2013-04-23 For the data transmission device of micro wireless sensor node

Publications (2)

Publication Number Publication Date
CN103209002A CN103209002A (en) 2013-07-17
CN103209002B true CN103209002B (en) 2015-12-23

Family

ID=48756104

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310143428.7A Active CN103209002B (en) 2013-04-23 2013-04-23 For the data transmission device of micro wireless sensor node

Country Status (1)

Country Link
CN (1) CN103209002B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101860077A (en) * 2010-04-20 2010-10-13 大连交通大学 Wireless sensor network system for preventing disasters and remotely monitoring power tower
CN102681504A (en) * 2012-04-18 2012-09-19 华中科技大学 Industrial data collection and feedback system
CN202562522U (en) * 2012-04-26 2012-11-28 江苏省环境监测中心 On-site supervision CEMS (continuous emission monitoring system) for environmental monitoring

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102854229A (en) * 2004-04-02 2013-01-02 硅实验室公司 Integrated electronic sensor

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101860077A (en) * 2010-04-20 2010-10-13 大连交通大学 Wireless sensor network system for preventing disasters and remotely monitoring power tower
CN102681504A (en) * 2012-04-18 2012-09-19 华中科技大学 Industrial data collection and feedback system
CN202562522U (en) * 2012-04-26 2012-11-28 江苏省环境监测中心 On-site supervision CEMS (continuous emission monitoring system) for environmental monitoring

Also Published As

Publication number Publication date
CN103209002A (en) 2013-07-17

Similar Documents

Publication Publication Date Title
CN203151478U (en) Mobile communication device and system thereof
CN107592250B (en) Multi-rate self-adaptive test equipment based on aviation FC bus
CN204287488U (en) A kind of Big Dipper bluetooth companion user terminal
CN109159680A (en) A kind of vehicle end battery charge controller, vehicle and wireless charging system
CN104243329A (en) Split type vehicular wireless router and method for controlling same
CN104020476A (en) External device for Big Dipper locating and method thereof
CN104994536A (en) Configuration method and portable configuration device oriented to WSCN (Wireless Sensor & Controller Node)
CN202529082U (en) Electric bicycle
CN103209002B (en) For the data transmission device of micro wireless sensor node
CN203242151U (en) Ultra-low power consumption GPRS (general packet radio service) remote water meter device
CN101834622A (en) Singlechip control chip, data transceiving method and data transmission device
CN204945278U (en) Mobile, long-range carrying out smart lock duty emulates the system detected
CN102843386B (en) Radio frequency communication module for fault indicator of power distribution network line and applications of radio frequency communication module
CN208539901U (en) A kind of data read-write system based on NFC
CN203445909U (en) Intercom terminal parameter configuration system
CN202935897U (en) Sudden-stop lock switch position recognition device of belt conveyor
CN108009110B (en) Equipment identification method and device
CN203260180U (en) Wireless communication network water controller
CN109951309B (en) Electric energy cloud acquisition system network node maintenance method and device
CN201114296Y (en) GPS positioning communications interphone
CN101715253A (en) Serial port multiplexing equipment and data transmission method
CN204392247U (en) A kind of repeater
CN204479937U (en) A kind of multimachine wireless telecommunication system for Smart Home Near Field Communication
CN203119894U (en) Bluetooth wireless communication transmission system based on mobile terminals
CN108933827A (en) A kind of NBIoT network information plate

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