CN202488773U - Gateway circuit of wireless sensor network - Google Patents

Gateway circuit of wireless sensor network Download PDF

Info

Publication number
CN202488773U
CN202488773U CN2012200838123U CN201220083812U CN202488773U CN 202488773 U CN202488773 U CN 202488773U CN 2012200838123 U CN2012200838123 U CN 2012200838123U CN 201220083812 U CN201220083812 U CN 201220083812U CN 202488773 U CN202488773 U CN 202488773U
Authority
CN
China
Prior art keywords
pin
filter capacitor
resistor
microcontroller
pull
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
CN2012200838123U
Other languages
Chinese (zh)
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.)
HANGZHOU POWERFLIGHT TECHNOLOGY Co Ltd
Original Assignee
HANGZHOU POWERFLIGHT TECHNOLOGY Co Ltd
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 HANGZHOU POWERFLIGHT TECHNOLOGY Co Ltd filed Critical HANGZHOU POWERFLIGHT TECHNOLOGY Co Ltd
Priority to CN2012200838123U priority Critical patent/CN202488773U/en
Application granted granted Critical
Publication of CN202488773U publication Critical patent/CN202488773U/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The utility model relates to the field of computer engineering and aims to provide a gateway circuit of a wireless sensor network. The gateway circuit comprises a microcontroller circuit, a serial communication circuit, an Ethernet circuit, a storage circuit, an interaction circuit, a debugging interface circuit, a power supply circuit and a clock circuit, wherein the serial communication circuit is connected with a signal of a serial interface of a microcontroller; the Ethernet circuit is connected with the signal of an Ethernet port of the microcontroller; the storage circuit is connected with the signal of an SPI (Single Program Initiation) port and the signal of an I/O (Input/Output) port of the microcontroller; the interaction circuit is connected with the signal of a pulse modulating output port and the signal of the I/O port of the microcontroller; the debugging interface circuit is connected with the signal of a debugging port of the microcontroller; the power supply circuit is used for supplying a power supply to the whole gateway; and the time circuit is used for providing a clock for the microcontroller. The gateway circuit of the wireless sensor network disclosed by the utility model has the advantages of flexible communication manners, low power consumption, small size and strong processing capability; the gateway circuit of the wireless sensor network further has a real-time data storage function; and meanwhile, the gateway circuit of the wireless sensor network also can remotely update firmware in various communication manners, so as to support more functions.

Description

The wireless sensor network gateway circuit
Technical field
The utility model belongs to the computer engineering field, specifically, is a kind of wireless sensor network gateway circuit.
Background technology
The wireless sensor network wireless network that to be a large amount of static or mobile transducer constitute with the mode of self-organizing and multi-hop; Its objective is that cooperation ground perception, collection, processing and transmission network cover the monitoring information of perceptive object in the geographic area, and report to the user.Wireless sensor network has been realized collection, processing and the transfer function to data.A large amount of sensor nodes sends to other network with the data that collect through wireless sensor network gateway (claiming aggregation node again), such as LAN, 3G network, GPRS network, GSM network or the like.Wireless sensor network gateway has served as the function served as bridge of wireless sensor network to other network, generally includes functions such as protocol conversion, transfer of data, storage, Configuration Online.
Because wireless sensor network gateway often works in the field; To having relatively high expectations of the energy and power consumption; And a certain side problem such as temporarily break down appears when communication probably; And existing wireless sensor network gateway is only supported limited transmission means usually, do not possess the real-time storage function of data, and power consumption is higher; Present stage lacks a kind of flexible safe and reliable again gateway circuit.
Summary of the invention
[0003] purpose of the utility model is in order to overcome deficiency of the prior art, a kind of wireless sensor network gateway circuit to be provided.This wireless sensor network gateway possesses advantages such as the communication modes of support is flexible, low in energy consumption, volume is little, disposal ability is strong, also possesses the real-time storage function of data; When a certain side of communication was broken down, the wireless sensor network gateway storing data automatically was in this locality; When communication recovers, continue the data that pass storage, thereby improved the reliability of system.The utility model can also carry out remote upgrade to its firmware through several kinds of communication modes simultaneously, to support more function, therefore possesses higher flexibility.
In order to realize above-mentioned utility model purpose, the technical scheme of the utility model adopts as follows:
A kind of wireless sensor network gateway circuit comprises microcontroller circuit, serial communication circuit, ethernet circuit, memory circuit, mutual circuit, debug i/f circuit, power circuit and clock circuit.
Microcontroller circuit comprises microcontroller; Serial communication circuit is connected with the microcontroller serial port signal, and ethernet circuit is connected with microcontroller ethernet port signal, and memory circuit is connected with I/O mouth signal with microcontroller SPI port signal; Mutual circuit is connected with microcontroller pulse modulation output port signal and I/O mouth signal; Debug i/f circuit is connected with microcontroller debug port signal, and power circuit is that whole gateway provides power supply, and clock circuit is that microcontroller provides clock.
Described microcontroller circuit comprises microcontroller, a MII interface gating resistance R 1 and the first pull down resistor R2; One end of the one MII interface gating resistance R 1 is connected with microcontroller 41 pin; The other end ground connection of the one MII interface gating resistance R 1; The end of the first pull down resistor R2 is connected with microcontroller 58 pin, another termination 3.3V power supply of the first pull down resistor R2;
Described serial communication circuit comprises the first filter capacitor C31, the second filter capacitor C32, the 3rd filter capacitor C33, the 4th filter capacitor C34, connector J2, connector J3, connector J4, serial communication level transferring chip U4; The end of the first filter capacitor C31 is connected with 4 pin of serial communication level transferring chip U4; The other end of the first filter capacitor C31 is connected with 5 pin of serial communication level transferring chip U4; The end of the second filter capacitor C32 is connected with 1 pin of serial communication level transferring chip U4; The other end of the second filter capacitor C32 is connected with 3 pin of serial communication level transferring chip U4; 5 pin of 15 pin of the end of the end of the 3rd filter capacitor C33, the 4th filter capacitor C34, serial communication level transferring chip U4,2 pin of connector J2, connector J3, the 2 pin ground connection of connector J4; The other end of the 3rd filter capacitor C33 is connected with 2 pin of serial communication level transferring chip U4; The other end of the 4th filter capacitor C34 is connected with 6 pin of serial communication level transferring chip U4, and 1 pin of connector J2 connects the 5V power supply, and 1 pin of connector J3,4 pin, 6 pin, 7 pin, 8 pin, 9 pin are unsettled; 2 pin of connector J3 are connected with 14 pin of serial communication level transferring chip U4; 3 pin of connector J3 are connected with 13 pin of serial communication level transferring chip U4, and 16 pin of 1 pin of connector J4, serial communication level transferring chip U4 connect the 3.3V power supply, and 3 pin of connector J4 are connected with microcontroller 13 pin; 4 pin of connector J4 are connected with microcontroller 12 pin; 11 pin of serial communication level transferring chip U4 are connected with microcontroller 27 pin, and 12 pin of serial communication level transferring chip U4 are connected with microcontroller 26 pin, and 7 pin of serial communication level transferring chip U4,8 pin, 9 pin, 10 pin are unsettled.
Described ethernet circuit comprises the 5th filter capacitor C27, the 6th filter capacitor C28, the 7th filter capacitor C29, the 8th filter capacitor C30, the first pull-up resistor R5, the second pull-up resistor R6, the second pull down resistor R7, the 3rd pull down resistor R8, the first current-limiting resistance R3, the second current-limiting resistance R4, connector ETH; The end of the end of the 5th filter capacitor C27, the first pull-up resistor R5,4 pin of connector ETH are connected with microcontroller 46 pin; The end of the end of the 6th filter capacitor C28, the second pull-up resistor R6,3 pin of connector ETH are connected with microcontroller 43 pin; The end of the end of the 7th filter capacitor C29, the second pull down resistor R7,7 pin of connector ETH are connected with microcontroller 40 pin; The end of the end of the 8th filter capacitor C30, the 3rd pull down resistor R8,8 pin of connector ETH are connected with microcontroller 37 pin; The end of the first current-limiting resistance R3 is connected with 2 pin of connector ETH; The end of the second current-limiting resistance R4 is connected with 11 pin of connector ETH; The other end of the first current-limiting resistance R3 is connected with microcontroller 59 pin; The other end of the second current-limiting resistance R4 is connected with microcontroller 60 pin; The 10 pin ground connection of the other end of the other end of the other end of the other end of the 5th filter capacitor C27, the 6th filter capacitor C28, the second pull down resistor R7, the 3rd pull down resistor R8, connector ETH; Another termination 3.3V power supply of the other end of the other end of the other end of the 7th filter capacitor C29, the 8th filter capacitor C30, the first pull-up resistor R5, the second pull-up resistor R6,1 pin of connector ETH, 5 pin, 6 pin, 12 pin connect the 3.3V power supply, and 9 pin of connector ETH are unsettled.
Described memory circuit comprises the 5th pull-up resistor R27, flash memory U3; The end of the 5th pull-up resistor R27,3 pin of flash memory U3 are connected with microcontroller 73 pin; 5 pin of the other end of the 5th pull-up resistor R27, flash memory U3 connect the 3.3V power supply, and 1 pin of flash memory U3 is connected with microcontroller 29 pin, and 2 pin of flash memory U3 are connected with microcontroller 30 pin; The 4 pin ground connection of flash memory U3; 6 pin of flash memory U3 are connected with microcontroller 72 pin, and 7 pin of flash memory U3 are connected with microcontroller 28 pin, and 8 pin of flash memory U3 are connected with microcontroller 31 pin.
Described mutual circuit comprises the 3rd current-limiting resistance R21, the 4th current-limiting resistance R22, the 5th current-limiting resistance R23, the 6th current-limiting resistance R17, the first indicator light D2, the second indicator light D3, the 3rd indicator light D4, the 6th pull-up resistor R18, the 7th pull-up resistor R24, the 8th pull-up resistor R25, the first build-out resistor R19, the second build-out resistor R20, the first triode Q5, the first matching capacitance C35, buzzer BZ1, the first button BSL, the second button RESET; The end of the 3rd current-limiting resistance R21 is connected with the negative electrode of the first indicator light D2; The other end ground connection of the 3rd current-limiting resistance R21; The end of the 4th current-limiting resistance R22 is connected with the negative electrode of the second indicator light D3; The other end of the 4th current-limiting resistance R22 is connected with microcontroller 71 pin; The end of the 5th current-limiting resistance R23 is connected with the negative electrode of the 3rd indicator light D4; The other end of the 5th current-limiting resistance R23 is connected with microcontroller 70 pin; The base stage of the end of the end of the 6th current-limiting resistance R17, the 6th pull-up resistor R18, the first triode Q5 connects; The other end of the 6th current-limiting resistance R17 is connected with microcontroller 67 pin; The anode of the first indicator light D2, the second indicator light D3, the 3rd indicator light D4 connects the 3.3V power supply; The emitter of the other end of the 6th pull-up resistor R18, the first triode Q5 connects the 5V power supply, and the end of the end of the 7th pull-up resistor R24, the first button BSL is connected with microcontroller 61 pin, another termination 3.3V power supply of the 7th pull-up resistor R24; The end of the end of the 8th pull-up resistor R25, the second button RESET is connected with microcontroller 64 pin; Another termination 3.3V power supply of the 8th pull-up resistor R25, the end of the end of the first build-out resistor R19, the collector electrode of the first triode Q5, buzzer BZ1 is connected with the end of the second build-out resistor R20, and the other end of the first build-out resistor R19 is connected with the anode of the first matching capacitance C35; The other end of the other end of the second build-out resistor R20, buzzer BZ1 is connected with microcontroller 66 pin, the other end ground connection of the other end of the other end of the first matching capacitance C35, the first button BSL, the second button RESET.
Described debug i/f circuit comprises the 9th pull-up resistor R9, the tenth pull-up resistor R10, the 11 pull-up resistor R11, the 12 pull-up resistor R12, the 13 pull-up resistor R13, the 14 pull-up resistor R14, the 15 pull-up resistor R15, the 16 pull-up resistor R16, connector JTAG; The end of the 9th pull-up resistor R9,3 pin of connector JTAG are connected with microcontroller 89 pin; The end of the tenth pull-up resistor R10,5 pin of connector JTAG are connected with microcontroller 78 pin; The end of the 11 pull-up resistor R11,7 pin of connector JTAG are connected with microcontroller 79 pin; The end of the 12 pull-up resistor R12,9 pin of connector JTAG are connected with microcontroller 80 pin; The end of the 13 pull-up resistor R13 is connected with 11 pin of connector JTAG; The end of the 13 pull-up resistor R13 is connected with 13 pin of connector JTAG; The end of the 14 pull-up resistor R14 is connected with 15 pin of connector JTAG; The end of the 15 pull-up resistor R15 is connected with 17 pin of connector JTAG; The end of the 16 pull-up resistor R16 is connected with 19 pin of connector JTAG; The other end of the other end of the other end of the other end of the 9th pull-up resistor R9, the tenth pull-up resistor R10, the other end of the 11 pull-up resistor R11, the 12 pull-up resistor R12, the other end of the 13 pull-up resistor R13, the 14 pull-up resistor R14, the other end of the 15 pull-up resistor R15, the other end of the 16 pull-up resistor R16,1 pin of connector JTAG, 2 pin of connector JTAG connect the 3.3V power supply, and 13 pin of connector JTAG are connected with microcontroller 77 pin, 4 pin of connector JTAG, 6 pin, 8 pin, 10 pin, 12 pin, 14 pin, 16 pin, 18 pin, 20 pin ground connection.
Described power circuit comprises fuse F1, the 9th filter capacitor C17, the tenth filter capacitor C18, the 11 filter capacitor C19, the 12 filter capacitor C20, the 13 filter capacitor C1, the 14 filter capacitor C2, the 15 filter capacitor C3, the 16 filter capacitor C4, the 17 filter capacitor C5, the 18 filter capacitor C6, the 19 filter capacitor C7, the 20 filter capacitor C8, the 21 filter capacitor C9, the 22 filter capacitor C10, the 23 filter capacitor C11, the 24 filter capacitor C12, the 25 filter capacitor C13, the 26 filter capacitor C14, the 27 filter capacitor C15, the 28 filter capacitor C16, button cell BT1, two Schottky D1, three terminal regulator U1, connector J1; The end of the end of fuse F1, the positive terminal of the 9th filter capacitor C17, the tenth filter capacitor C18 is connected with the input of three terminal regulator U1; 2 pin of the other end of fuse F1, connector J1 connect the 5V power supply; The anode of the positive terminal of the 11 filter capacitor C19, the positive terminal of the 12 filter capacitor C20, the output of three terminal regulator U1, the end of the 13 filter capacitor C1, the end of the 14 filter capacitor C2, the end of the 15 filter capacitor C3, the end of the 16 filter capacitor C4, the end of the 17 filter capacitor C5, the end of the 18 filter capacitor C6, the end of the 19 filter capacitor C7, the end of the 20 filter capacitor C8, the end of the 21 filter capacitor C9, the end of the 22 filter capacitor C10, two Schottky D1 connects the 3.3V power supply; The end of the 23 filter capacitor C11, the end of the 24 filter capacitor C12, the end of the 25 filter capacitor C13, the end of the 26 filter capacitor C14, the end of the 27 filter capacitor C15, the anodal termination 2.5V power supply of the 28 filter capacitor C16; The positive terminal of button cell BT1 is connected with another anode of two Schottky D1; The negative electrode of two Schottky D1, microcontroller 55 pin connect the VBAT power supply, the other end of 1 pin of connector J1, the negative pole end of the 9th filter capacitor C17, the tenth filter capacitor C18, the other end of the 11 filter capacitor C19, the negative pole end of the 12 filter capacitor C20, the other end of the 13 filter capacitor C1, the other end of the 14 filter capacitor C2, the other end of the 15 filter capacitor C3, the other end of the 16 filter capacitor C4, the other end of the 17 filter capacitor C5, the other end of the 18 filter capacitor C6, the other end of the 19 filter capacitor C7, the other end of the 20 filter capacitor C8, the other end of the 21 filter capacitor C9, the other end of the 22 filter capacitor C10, the other end of the 23 filter capacitor C11, the other end of the 24 filter capacitor C12, the other end of the 25 filter capacitor C13, the other end of the 26 filter capacitor C14, the other end of the 27 filter capacitor C15, the negative pole end of the 28 filter capacitor C16, the negative pole end ground connection of button cell BT1.
Described clock circuit comprises the second matching capacitance C21, the 3rd matching capacitance C22, the 4th matching capacitance C23, the 5th matching capacitance C24, the 6th matching capacitance C25, the 7th matching capacitance C26, the first crystal oscillator Y1, the second crystal oscillator Y2, the 3rd crystal oscillator Y3, the 3rd build-out resistor R26; The end of the end of the end of the second matching capacitance C21, the first crystal oscillator Y1, the 3rd build-out resistor R26 is connected with microcontroller 52 pin; The other end of the end of the 3rd matching capacitance C22, the other end of the first crystal oscillator Y1, the 3rd build-out resistor R26 is connected with microcontroller 53 pin; The end of the end of the 4th matching capacitance C23, the second crystal oscillator Y2 is connected with microcontroller 48 pin; The end of the 5th matching capacitance C24 is connected with microcontroller 49 pin with the other end of the second crystal oscillator Y2; The end of the end of the 6th matching capacitance C25, the 3rd crystal oscillator Y3 is connected with microcontroller 16 pin; The end of the 7th matching capacitance C26 is connected with microcontroller 17 pin with the other end of the 3rd crystal oscillator Y3, the other end ground connection of the other end of the other end of the other end of the second matching capacitance C21, the 3rd matching capacitance C22, the other end of the 4th matching capacitance C23, the 5th matching capacitance C24, the other end of the 6th matching capacitance C25, the 7th matching capacitance C26.
Compare prior art, the advantage of the utility model is:
(1), the processor ability is strong, low in energy consumption;
(2), can connect wireless sensor network subnet, GSM/GPRS network and LAN;
(3), possess bigger memory capacity, when certain network breaks down, can the buffer memory mass data;
Description of drawings
Fig. 1 is the sketch map of the utility model use occasion;
Fig. 2 is the utility model wireless sensor network gateway electrical block diagram;
Fig. 3 is a micro controller module sketch map among Fig. 2;
Fig. 4 is a serial communication circuit module diagram among Fig. 2;
Fig. 5 is an ethernet circuit module diagram among Fig. 2;
Fig. 6 is a memory circuit module diagram among Fig. 2;
Fig. 7 is a mutual circuit module sketch map among Fig. 2;
Fig. 8 is a debug i/f circuit module diagram among Fig. 2;
Fig. 9 is a power circuit module diagram among Fig. 2;
Figure 10 is a clock circuit module diagram among Fig. 2;
Embodiment
Below in conjunction with accompanying drawing the present invention is further described.
As shown in Figure 1, wireless sensor network system comprises wireless sensor network subnet 1-1, wireless sensor network gateway 1-2, GSM/GPRS network 1-3, LAN 1-4, terminal use 1-5.
As shown in Figure 2, wireless sensor network gateway 1-2 comprises microcontroller 2-1, serial communication circuit 2-2, ethernet circuit 2-3, memory circuit 2-4, mutual circuit 2-5, debug i/f circuit 2-6, power circuit 2-7 and clock circuit 2-8.
As shown in Figure 3; Described microcontroller circuit comprises microcontroller, a MII interface gating resistance R 1 and the first pull down resistor R2; One end of the one MII interface gating resistance R 1 is connected with microcontroller 41 pin; The other end ground connection of the one MII interface gating resistance R 1, the end of the first pull down resistor R2 is connected with microcontroller 58 pin, another termination 3.3V power supply of the first pull down resistor R2; Microcontroller 1 pin, 2 pin, 5 pin, 6 pin, 10 pin, 11 pin, 18 pin, 19 pin, 22 pin, 23 pin, 24 pin, 25 pin, 34 pin, 35 pin, 47 pin, 51 pin, 74 pin, 75 pin, 90 pin, 91 pin, 92 pin, 95 pin, 96 pin, 99 pin, 100 pin are unsettled, and microcontroller 3 pin, 8 pin, 20 pin, 32 pin, 36 pin, 44 pin, 56 pin, 68 pin, 81 pin, 83 pin, 84 pin, 93 pin, 98 pin connect the 5V power supply, microcontroller 4 pin, 9 pin, 15 pin, 21 pin, 33 pin, 39 pin, 45 pin, 50 pin, 54 pin, 57 pin, 63 pin, 65 pin, 69 pin, 76 pin, 82 pin, 85 pin, 86 pin, 87 pin, 94 pin, 97 pin ground connection; Microcontroller 7 pin, 14 pin, 38 pin, 62 pin, 88 pin connect the 2.5V power supply, and microcontroller 12 pin connect serial communication circuit, are used for receiving the serial data from connector J4; Microcontroller 13 pin connect serial communication circuit, are used for sending serial data to connector J4, and microcontroller 16 pin, 17 pin connect clock circuit; The Ethernet interface that is used in microcontroller provides clock, and microcontroller 26 pin connect serial communication circuit, are used for receiving the serial data from serial communication level transferring chip U4; Microcontroller 27 pin connect serial communication circuit, are used for sending serial data to serial communication level transferring chip U4, and microcontroller 28 pin, 29 pin, 30 pin, 31 pin, 72 pin, 73 pin connect memory circuit; Be used as read-write and control signal between microcontroller and flash memory U3; Microcontroller 37 pin, 40 pin, 43 pin, 46 pin connect ethernet circuit, are used as the local area network (LAN) communication, and microcontroller 37 pin are connected with the first pull down resistor R2; In order to the Ethernet interface in the coupling microcontroller; Microcontroller 48 pin, 49 pin connect clock circuit, are used for to microcontroller the operation clock being provided, and microcontroller 52 pin, 53 pin connect clock circuit; Be used for time-of-day clock being provided to microcontroller; Microcontroller 55 pin connect power circuit, and the time-of-day clock that is used in microcontroller provides power supply, and microcontroller 58 pin connect a MII interface gating resistance R 1; Be used for the MII function of the Ethernet interface in the gating microcontroller; Microcontroller 59 pin, 60 pin connect ethernet circuit, are used as the indication of ethernet communication, and microcontroller 61 pin connect mutual circuit; Be used as the button input; Microcontroller 64 pin connect mutual circuit, are used as the reset key input, and microcontroller 66 pin, 67 pin connect mutual circuit; Be used to control the sounding of buzzer; Microcontroller 70 pin, 71 pin connect mutual circuit, are used to control the light on and off of indicator light, and microcontroller 77 pin, 78 pin, 79 pin, 80 pin, 89 pin connect debug i/f circuit; Be used for program debugging, it is chip, a MII interface gating resistance R 1 employing 10KW/0.125W resistance, the first pull down resistor R2 employing 12.4KW/0.125W resistance of LM3S8630-IQC50 that microcontroller adopts the model of Texas Instruments company.
As shown in Figure 4; Described serial communication circuit comprises the first filter capacitor C31, the second filter capacitor C32, the 3rd filter capacitor C33, the 4th filter capacitor C34, connector J2, connector J3, connector J4, serial communication level transferring chip U4; The end of the first filter capacitor C31 is connected with 4 pin of serial communication level transferring chip U4; The other end of the first filter capacitor C31 is connected with 5 pin of serial communication level transferring chip U4; The end of the second filter capacitor C32 is connected with 1 pin of serial communication level transferring chip U4; The other end of the second filter capacitor C32 is connected with 3 pin of serial communication level transferring chip U4; 5 pin of 15 pin of the end of the end of the 3rd filter capacitor C33, the 4th filter capacitor C34, serial communication level transferring chip U4,2 pin of connector J2, connector J3, the 2 pin ground connection of connector J4, the other end of the 3rd filter capacitor C33 is connected with 2 pin of serial communication level transferring chip U4, and the other end of the 4th filter capacitor C34 is connected with 6 pin of serial communication level transferring chip U4; 1 pin of connector J2 connects the 5V power supply; 1 pin of connector J3,4 pin, 6 pin, 7 pin, 8 pin, 9 pin are unsettled, and 2 pin of connector J3 are connected with 14 pin of serial communication level transferring chip U4, and 3 pin of connector J3 are connected with 13 pin of serial communication level transferring chip U4; 16 pin of 1 pin of connector J4, serial communication level transferring chip U4 connect the 3.3V power supply; 3 pin of connector J4 are connected with microcontroller 13 pin, and 4 pin of connector J4 are connected with microcontroller 12 pin, and 11 pin of serial communication level transferring chip U4 are connected with microcontroller 27 pin; 12 pin of serial communication level transferring chip U4 are connected with microcontroller 26 pin, and 7 pin of serial communication level transferring chip U4,8 pin, 9 pin, 10 pin are unsettled.The first filter capacitor C31 adopts 0.1uF/25V ceramic disc capacitor, the second filter capacitor C32 to adopt 0.1uF/25V ceramic disc capacitor, the 3rd filter capacitor C33 to adopt 0.1uF/25V ceramic disc capacitor, the 4th filter capacitor C34 to adopt 0.1uF/25V ceramic disc capacitor, connector J2 to adopt 0.1uF/25V ceramic disc capacitor, connector J3 to adopt XH2.54-2P connector, connector J4 to adopt XH2.54-4P connector, serial communication level transferring chip U4 to adopt the semi-conductive MAX3232E of U.S. letter; Serial communication circuit is used for connecting microcontroller and wireless sensor network subnet and GSM/GPRS network; The first filter capacitor C31 wherein, the second filter capacitor C32, the 3rd filter capacitor C33, the 4th filter capacitor C34 are used for for serial communication level transferring chip U4 filtering being provided; Connector J2, connector J3 are used for connecting outside GSM/GPRS module; The GSM/GPRS module adopts the shake ZHD1X series GSM/GPRS module of great great achievement Science and Technology Ltd. of Beijing; To insert the GSM/GPRS network; Connector J4 is used for connecting outside radio sensing network node; Radio sensing network node adopts the BX-WSN of Hangzhou hundred Xiang Science and Technology Ltd.s; Inserting the radio sensing network subnet, serial communication level transferring chip U4 is used for realizing the conversion of Transistor-Transistor Logic level and EIA level in the RS232 serial communication.
As shown in Figure 5; Described ethernet circuit comprises the 5th filter capacitor C27, the 6th filter capacitor C28, the 7th filter capacitor C29, the 8th filter capacitor C30, the first pull-up resistor R5, the second pull-up resistor R6, the second pull down resistor R7, the 3rd pull down resistor R8, the first current-limiting resistance R3, the second current-limiting resistance R4, connector ETH; The end of the end of the 5th filter capacitor C27, the first pull-up resistor R5,4 pin of connector ETH are connected with microcontroller 46 pin; The end of the end of the 6th filter capacitor C28, the second pull-up resistor R6,3 pin of connector ETH are connected with microcontroller 43 pin; The end of the end of the 7th filter capacitor C29, the second pull down resistor R7,7 pin of connector ETH are connected with microcontroller 40 pin; The end of the end of the 8th filter capacitor C30, the 3rd pull down resistor R8,8 pin of connector ETH are connected with microcontroller 37 pin; The end of the first current-limiting resistance R3 is connected with 2 pin of connector ETH; The end of the second current-limiting resistance R4 is connected with 11 pin of connector ETH; The other end of the first current-limiting resistance R3 is connected with microcontroller 59 pin; The other end of the second current-limiting resistance R4 is connected with microcontroller 60 pin, the other end of the other end of the other end of the 5th filter capacitor C27, the 6th filter capacitor C28, the other end of the second pull down resistor R7, the 3rd pull down resistor R8, the 10 pin ground connection of connector ETH, another termination 3.3V power supply of the other end of the other end of the 7th filter capacitor C29, the 8th filter capacitor C30, the other end of the first pull-up resistor R5, the second pull-up resistor R6; 1 pin of connector ETH, 5 pin, 6 pin, 12 pin connect the 3.3V power supply, and 9 pin of connector ETH are unsettled.The 5th filter capacitor C27 adopts 0.00001uF/25V ceramic disc capacitor, the 6th filter capacitor C28 to adopt 0.00001uF/25V ceramic disc capacitor, the 7th filter capacitor C29 to adopt 0.00001uF/25V ceramic disc capacitor, the 8th filter capacitor C30 to adopt 0.00001uF/25V ceramic disc capacitor, the first pull-up resistor R5 to adopt 50W/0.125W resistance, the second pull-up resistor R6 to adopt 50W/0.125W resistance, the second pull down resistor R7 to adopt 50W/0.125W resistance, the 3rd pull down resistor R8 to adopt 50W/0.125W resistance, the first current-limiting resistance R3 to adopt 330W/0.125W resistance, the second current-limiting resistance R4 to adopt 330W/0.125W resistance, connector ETH to adopt the Pulse J3011G21DNL of company ethernet connector; Ethernet circuit is used for connecting microcontroller and Ethernet; The 5th filter capacitor C27 wherein, the 6th filter capacitor C28 are used for data are sent differential line filtering over the ground; The 7th filter capacitor C29, the 8th filter capacitor C30 are used for data are received differential line to the 3.3V power filter; The first pull-up resistor R5, the second pull-up resistor R6 are used for to moving the 3.3V power supply on the data transmission differential line; The second pull down resistor R7, the 3rd pull down resistor R8 are used for that data are received differential line and pull down to ground; The first current-limiting resistance R3, the second current-limiting resistance R4 carry out current limliting to the inner integrated indicator light of connector ETH, and connector ETH is as the RJ45 joint.
As shown in Figure 6; Described memory circuit comprises the 5th pull-up resistor R27, flash memory U3, and the end of the 5th pull-up resistor R27,3 pin of flash memory U3 are connected with microcontroller 73 pin, and 5 pin of the other end of the 5th pull-up resistor R27, flash memory U3 connect the 3.3V power supply; 1 pin of flash memory U3 is connected with microcontroller 29 pin; 2 pin of flash memory U3 are connected with microcontroller 30 pin, the 4 pin ground connection of flash memory U3, and 6 pin of flash memory U3 are connected with microcontroller 72 pin; 7 pin of flash memory U3 are connected with microcontroller 28 pin, and 8 pin of flash memory U3 are connected with microcontroller 31 pin.The 5th pull-up resistor R27 adopts 100KW/0.125W resistance, flash memory U3 to adopt the M25P80-MN6 of company of Micron Technology; Memory circuit is used for the memory communicating data; The 5th pull-up resistor R27 wherein is used for flash memory U3 is carried out write-protect; Write beyond preventing, flash memory U3 is used for storing data, and capacity is 8M bit.
As shown in Figure 7; Described mutual circuit comprises the 3rd current-limiting resistance R21, the 4th current-limiting resistance R22, the 5th current-limiting resistance R23, the 6th current-limiting resistance R17, the first indicator light D2, the second indicator light D3, the 3rd indicator light D4, the 6th pull-up resistor R18, the 7th pull-up resistor R24, the 8th pull-up resistor R25, the first build-out resistor R19, the second build-out resistor R20, the first triode Q5, the first matching capacitance C35, buzzer BZ1, the first button BSL, the second button RESET; The end of the 3rd current-limiting resistance R21 is connected with the negative electrode of the first indicator light D2; The other end ground connection of the 3rd current-limiting resistance R21; The end of the 4th current-limiting resistance R22 is connected with the negative electrode of the second indicator light D3; The other end of the 4th current-limiting resistance R22 is connected with microcontroller 71 pin; The end of the 5th current-limiting resistance R23 is connected with the negative electrode of the 3rd indicator light D4; The other end of the 5th current-limiting resistance R23 is connected with microcontroller 70 pin; The base stage of the end of the end of the 6th current-limiting resistance R17, the 6th pull-up resistor R18, the first triode Q5 connects; The other end of the 6th current-limiting resistance R17 is connected with microcontroller 67 pin, and the anode of the first indicator light D2, the second indicator light D3, the 3rd indicator light D4 connects the 3.3V power supply, and the emitter of the other end of the 6th pull-up resistor R18, the first triode Q5 connects the 5V power supply; The end of the end of the 7th pull-up resistor R24, the first button BSL is connected with microcontroller 61 pin; Another termination 3.3V power supply of the 7th pull-up resistor R24, the end of the end of the 8th pull-up resistor R25, the second button RESET is connected with microcontroller 64 pin, another termination 3.3V power supply of the 8th pull-up resistor R25; The end of the end of the first build-out resistor R19, the collector electrode of the first triode Q5, buzzer BZ1 is connected with the end of the second build-out resistor R20; The other end of the first build-out resistor R19 is connected with the anode of the first matching capacitance C35, and the other end of the other end of the second build-out resistor R20, buzzer BZ1 is connected with microcontroller 66 pin, the other end ground connection of the other end of the other end of the first matching capacitance C35, the first button BSL, the second button RESET.The 3rd current-limiting resistance R21 adopts 1KW/0.125W resistance, the 4th current-limiting resistance R22 to adopt 470W/0.125W resistance, the 5th current-limiting resistance R23 to adopt 470W/0.125W resistance, the 6th current-limiting resistance R17 to adopt 5.1KW/0.125W resistance, the first indicator light D2 to adopt red light emitting diodes, the second indicator light D3 to adopt green LED, the 3rd indicator light D4 to adopt yellow light-emitting diode, the 6th pull-up resistor R18 to adopt 10KW/0.125W resistance, the 7th pull-up resistor R24 to adopt 10KW/0.125W resistance, the 8th pull-up resistor R25 to adopt 10KW/0.125W resistance, the first build-out resistor R19 to adopt 220W/0.125W resistance, the second build-out resistor R20 to adopt 3.3KW/0.125W resistance, the first triode Q5 to adopt 8550 triodes, the first matching capacitance C35 to adopt 47uF/10V electrochemical capacitor, buzzer BZ1 to adopt passive buzzer, the first button BSL to adopt and is of a size of the 12*12*10 button, the second button RESET adopts and is of a size of the 12*12*10 button; Mutual circuit is used to provide sound and light alarm output, connects user key-press; The 3rd current-limiting resistance R21 wherein is used for to the first indicator light D2 current limliting; The 4th current-limiting resistance R22 is used for to the second indicator light D3 current limliting; The 5th current-limiting resistance R23 is used for to the 3rd indicator light D4 current limliting; The 6th current-limiting resistance R17 is used for to the base stage current limliting of the first triode Q5; Whether the first indicator light D2 is used for indicating power supply normal; The second indicator light D3 is used for indicating whether being connected with the radio sensing network subnet; The 3rd indicator light D4 is used for indicating whether to exist fault; The 6th pull-up resistor R18 is used for preventing the unexpected conducting of the first triode Q5; The 7th pull-up resistor R24 draws on being used for the first button BSL carried out, and the 8th pull-up resistor R25 draws on being used for the second button RESET carried out, and the first build-out resistor R19 is used for mating the first matching capacitance C35; The second build-out resistor R20 is used for mating buzzer BZ1; First triode is used for to buzzer provides power supply, and the first matching capacitance C35 is used for mating the first build-out resistor R19, and buzzer BZ1 is used for sounding; The first button BSL is used for upgrading the microcontroller program, and the second button RESET is used for resetting system.
As shown in Figure 8; Described debug i/f circuit comprises the 9th pull-up resistor R9, the tenth pull-up resistor R10, the 11 pull-up resistor R11, the 12 pull-up resistor R12, the 13 pull-up resistor R13, the 14 pull-up resistor R14, the 15 pull-up resistor R15, the 16 pull-up resistor R16, connector JTAG; The end of the 9th pull-up resistor R9,3 pin of connector JTAG are connected with microcontroller 89 pin; The end of the tenth pull-up resistor R10,5 pin of connector JTAG are connected with microcontroller 78 pin; The end of the 11 pull-up resistor R11,7 pin of connector JTAG are connected with microcontroller 79 pin; The end of the 12 pull-up resistor R12,9 pin of connector JTAG are connected with microcontroller 80 pin; The end of the 13 pull-up resistor R13 is connected with 11 pin of connector JTAG; The end of the 13 pull-up resistor R13 is connected with 13 pin of connector JTAG; The end of the 14 pull-up resistor R14 is connected with 15 pin of connector JTAG; The end of the 15 pull-up resistor R15 is connected with 17 pin of connector JTAG; The end of the 16 pull-up resistor R16 is connected with 19 pin of connector JTAG; The other end of the other end of the other end of the other end of the 9th pull-up resistor R9, the tenth pull-up resistor R10, the other end of the 11 pull-up resistor R11, the 12 pull-up resistor R12, the other end of the 13 pull-up resistor R13, the 14 pull-up resistor R14, the other end of the 15 pull-up resistor R15, the other end of the 16 pull-up resistor R16,1 pin of connector JTAG, 2 pin of connector JTAG connect the 3.3V power supply, and 13 pin of connector JTAG are connected with microcontroller 77 pin, 4 pin of connector JTAG, 6 pin, 8 pin, 10 pin, 12 pin, 14 pin, 16 pin, 18 pin, 20 pin ground connection.The 9th pull-up resistor R9 adopts 10KW/0.125W resistance, the tenth pull-up resistor R10 to adopt 10KW/0.125W resistance, the 11 pull-up resistor R11 to adopt 10KW/0.125W resistance, the 12 pull-up resistor R12 to adopt 10KW/0.125W resistance, the 13 pull-up resistor R13 to adopt 10KW/0.125W resistance, the 14 pull-up resistor R14 to adopt 10KW/0.125W resistance, the 15 pull-up resistor R15 to adopt 10KW/0.125W resistance, the 16 pull-up resistor R16 to adopt 10KW/0.125W resistance, connector JTAG to adopt the double 2.54mm spacing of 20 pin connector; On-line debugging and program that debug i/f circuit is used for accomplishing microcontroller write; The 9th pull-up resistor R9 is used for drawing on 3 pin to connector JTAG; The tenth pull-up resistor R10 is used for drawing on 5 pin to connector JTAG; The 11 pull-up resistor R11 is used for drawing on 7 pin to connector JTAG; The 12 pull-up resistor R12 is used for drawing on 9 pin to connector JTAG; The 13 pull-up resistor R13 is used for drawing on 11 pin to connector JTAG; The 14 pull-up resistor R14 is used for drawing on 15 pin to connector JTAG; The 15 pull-up resistor R15 is used for drawing on 17 pin to connector JTAG, and the 16 pull-up resistor R16 is used for drawing on 19 pin to connector JTAG, and connector JTAG is used for connecting outside JTAG debugger.
As shown in Figure 9; Described power circuit comprises fuse F1, the 9th filter capacitor C17, the tenth filter capacitor C18, the 11 filter capacitor C19, the 12 filter capacitor C20, the 13 filter capacitor C1, the 14 filter capacitor C2, the 15 filter capacitor C3, the 16 filter capacitor C4, the 17 filter capacitor C5, the 18 filter capacitor C6, the 19 filter capacitor C7, the 20 filter capacitor C8, the 21 filter capacitor C9, the 22 filter capacitor C10, the 23 filter capacitor C11, the 24 filter capacitor C12, the 25 filter capacitor C13, the 26 filter capacitor C14, the 27 filter capacitor C15, the 28 filter capacitor C16, button cell BT1, two Schottky D1, three terminal regulator U1, connector J1; The end of the end of fuse F1, the positive terminal of the 9th filter capacitor C17, the tenth filter capacitor C18 is connected with the input of three terminal regulator U1; 2 pin of the other end of fuse F1, connector J1 connect the 5V power supply; The anode of the positive terminal of the 11 filter capacitor C19, the positive terminal of the 12 filter capacitor C20, the output of three terminal regulator U1, the end of the 13 filter capacitor C1, the end of the 14 filter capacitor C2, the end of the 15 filter capacitor C3, the end of the 16 filter capacitor C4, the end of the 17 filter capacitor C5, the end of the 18 filter capacitor C6, the end of the 19 filter capacitor C7, the end of the 20 filter capacitor C8, the end of the 21 filter capacitor C9, the end of the 22 filter capacitor C10, two Schottky D1 connects the 3.3V power supply; The end of the 23 filter capacitor C11, the end of the 24 filter capacitor C12, the end of the 25 filter capacitor C13, the end of the 26 filter capacitor C14, the end of the 27 filter capacitor C15, the anodal termination 2.5V power supply of the 28 filter capacitor C16; The positive terminal of button cell BT1 is connected with another anode of two Schottky D1; The negative electrode of two Schottky D1, microcontroller 55 pin connect the VBAT power supply, the other end of 1 pin of connector J1, the negative pole end of the 9th filter capacitor C17, the tenth filter capacitor C18, the other end of the 11 filter capacitor C19, the negative pole end of the 12 filter capacitor C20, the other end of the 13 filter capacitor C1, the other end of the 14 filter capacitor C2, the other end of the 15 filter capacitor C3, the other end of the 16 filter capacitor C4, the other end of the 17 filter capacitor C5, the other end of the 18 filter capacitor C6, the other end of the 19 filter capacitor C7, the other end of the 20 filter capacitor C8, the other end of the 21 filter capacitor C9, the other end of the 22 filter capacitor C10, the other end of the 23 filter capacitor C11, the other end of the 24 filter capacitor C12, the other end of the 25 filter capacitor C13, the other end of the 26 filter capacitor C14, the other end of the 27 filter capacitor C15, the negative pole end of the 28 filter capacitor C16, the negative pole end ground connection of button cell BT1.Fuse F1 adopts 2 amperes of fuses; The 9th filter capacitor C17 adopts the 33uF/10V electrochemical capacitor; The tenth filter capacitor C18 adopts the 0.1uF/25V ceramic disc capacitor; The 11 filter capacitor C19 adopts the 100uF/10V electrochemical capacitor, and the 12 filter capacitor C20 adopts the 0.1uF/25V ceramic disc capacitor, and the 13 filter capacitor C1 adopts the 0.1uF/25V ceramic disc capacitor; The 14 filter capacitor C2 adopts the 0.1uF/25V ceramic disc capacitor; The 15 filter capacitor C3 adopts the 0.1uF/25V ceramic disc capacitor, and the 16 filter capacitor C4 adopts the 0.1uF/25V ceramic disc capacitor, and the 17 filter capacitor C5 adopts the 0.1uF/25V ceramic disc capacitor; The 18 filter capacitor C6 adopts the 0.1uF/25V ceramic disc capacitor; The 19 filter capacitor C7 adopts the 0.1uF/25V ceramic disc capacitor, and the 20 filter capacitor C8 adopts the 0.1uF/25V ceramic disc capacitor, and the 21 filter capacitor C9 adopts the 0.1uF/25V ceramic disc capacitor; The 22 filter capacitor C10 adopts the 0.1uF/25V ceramic disc capacitor; The 23 filter capacitor C11 adopts the 0.1uF/25V ceramic disc capacitor, and the 24 filter capacitor C12 adopts the 0.1uF/25V ceramic disc capacitor, and the 25 filter capacitor C13 adopts the 0.1uF/25V ceramic disc capacitor; The 26 filter capacitor C14 adopts the 0.1uF/25V ceramic disc capacitor; The 27 filter capacitor C15 adopts the 0.1uF/25V ceramic disc capacitor, and the 28 filter capacitor C16 adopts the 2uF/10V electrochemical capacitor, and button cell BT1 adopts the CR1220 button cell; Two Schottky D1 adopt the two Schottky diodes of the BAT54C of FAIRCHILD semiconductor company; Three terminal regulator U1 adopts the LM1117IMPX-3.3 of semiconductor company of Texas Instrument, and connector J1 adopts 2.54mm spacing connector, and power circuit is that other circuit module of wireless sensor network gateway circuit provides 5V, 3.3V and VBAT power supply; Fuse F1 is used for damage system under the protective circuit fault; The 9th filter capacitor C17, the tenth filter capacitor C18 be used for being the input filtering of three terminal regulator U1, and the 11 filter capacitor C19, the 12 filter capacitor C20, the 13 filter capacitor C1, the 14 filter capacitor C2, the 15 filter capacitor C3, the 16 filter capacitor C4, the 17 filter capacitor C5, the 18 filter capacitor C6, the 19 filter capacitor C7, the 20 filter capacitor C8, the 21 filter capacitor C9, the 22 filter capacitor C10 are used for being the 3.3V power filter, and the 23 filter capacitor C11, the 24 filter capacitor C12, the 25 filter capacitor C13, the 26 filter capacitor C14, the 27 filter capacitor C15, the 28 filter capacitor C16 are used for being the 2.5V power filter; Button cell BT1 is used for for the time-of-day clock module of microcontroller stand-by power supply being provided; Two Schottky D1 are used for selecting 3.3V and time-of-day clock one, and three terminal regulator U1 is used for producing the 3.3V power supply for the time-of-day clock module of microcontroller provides power supply, and connector J1 is used for connecting outside 5V power supply.
Shown in figure 10; Described clock circuit comprises the second matching capacitance C21, the 3rd matching capacitance C22, the 4th matching capacitance C23, the 5th matching capacitance C24, the 6th matching capacitance C25, the 7th matching capacitance C26, the first crystal oscillator Y1, the second crystal oscillator Y2, the 3rd crystal oscillator Y3, the 3rd build-out resistor R26; The end of the end of the end of the second matching capacitance C21, the first crystal oscillator Y1, the 3rd build-out resistor R26 is connected with microcontroller 52 pin; The other end of the end of the 3rd matching capacitance C22, the other end of the first crystal oscillator Y1, the 3rd build-out resistor R26 is connected with microcontroller 53 pin; The end of the end of the 4th matching capacitance C23, the second crystal oscillator Y2 is connected with microcontroller 48 pin; The end of the 5th matching capacitance C24 is connected with microcontroller 49 pin with the other end of the second crystal oscillator Y2; The end of the end of the 6th matching capacitance C25, the 3rd crystal oscillator Y3 is connected with microcontroller 16 pin; The end of the 7th matching capacitance C26 is connected with microcontroller 17 pin with the other end of the 3rd crystal oscillator Y3, the other end ground connection of the other end of the other end of the other end of the second matching capacitance C21, the 3rd matching capacitance C22, the other end of the 4th matching capacitance C23, the 5th matching capacitance C24, the other end of the 6th matching capacitance C25, the 7th matching capacitance C26.The second matching capacitance C21 adopts 0.000018uF/25V ceramic disc capacitor, the 3rd matching capacitance C22 to adopt 0.000018uF/25V ceramic disc capacitor, the 4th matching capacitance C23 to adopt 0.000018uF/25V ceramic disc capacitor, the 5th matching capacitance C24 to adopt 0.000018uF/25V ceramic disc capacitor, the 6th matching capacitance C25 to adopt 0.000018uF/25V ceramic disc capacitor, the 7th matching capacitance C26 to adopt 0.000018uF/25V ceramic disc capacitor, the first crystal oscillator Y1 to adopt the 32.768KHz crystal oscillator of HC-49/US encapsulation, the 8MHz crystal oscillator that the second crystal oscillator Y2 adopts the HC-49/US encapsulation, 25MHz crystal oscillator, the 3rd build-out resistor R26 that the 3rd crystal oscillator Y3 adopts the HC-49/US encapsulation to adopt 1MW/0.125W resistance; Clock circuit is used for for microcontroller clock being provided; The second matching capacitance C21, the 3rd matching capacitance C22, the 3rd build-out resistor R26 are used for assisting the first crystal oscillator Y1 starting of oscillation; The 4th matching capacitance C23, the 5th matching capacitance C24 are used for assisting the second crystal oscillator Y2 starting of oscillation, and the 6th matching capacitance C25, the 7th matching capacitance C26 are used for assisting the 3rd crystal oscillator Y3 starting of oscillation.
The course of work of the present invention is: wireless sensor network subnet, wireless sensor network gateway, GSM/GPRS network, LAN, terminal use have constituted whole wireless sensor network system.The wireless sensor network subnet is through the intercommunication of wireless sensor network gateway realization with other network, such as LAN, GPRS/GSM network or the like.Wireless sensor network gateway has served as the function served as bridge of wireless sensor network subnet to other network, generally includes functions such as protocol conversion, transfer of data, storage, Configuration Online.Data up: the data of wireless sensor network subnet are imported wireless sensor network gateway into; If wireless sensor network gateway is access to LAN network, GPRS/GSM network; Then wireless sensor network gateway is directly transmitted data to far-end server (terminal use); Otherwise wireless sensor network gateway elder generation in the flash memory of inside, is forwarded to far-end server (terminal use) to storage behind access to LAN network, the GPRS/GSM network by the time again; Data descending: far-end server (terminal use) sends data or orders wireless sensor network gateway, and wireless sensor network gateway is transmitted these data to the wireless sensor network subnet, and the record order content is in internal flash simultaneously.When.
Microcontroller is accomplished the core control of wireless sensor network gateway; Serial communication circuit is used for connecting microcontroller and wireless sensor network subnet and GSM/GPRS network; Ethernet circuit is used for connecting microcontroller and Ethernet; Memory circuit is used for the memory communicating data; Mutual circuit is used to provide on-line debugging and the program that sound and light alarm is exported, connection user key-press debug i/f circuit is used for accomplishing microcontroller and writes, and power circuit is that other circuit module of wireless sensor network gateway circuit provides 5V, 3.3V and VBAT power supply, and clock circuit is used for for microcontroller clock being provided.
At last, it should be noted that above what enumerate only is specific embodiment of the present invention.Obviously, the invention is not restricted to above embodiment, a lot of distortion can also be arranged.All distortion that those of ordinary skill in the art can directly derive from content disclosed by the invention or associate all should be thought protection scope of the present invention.

Claims (9)

1. a wireless sensor network gateway circuit is characterized in that comprising: microcontroller circuit, serial communication circuit, ethernet circuit, memory circuit, mutual circuit, debug i/f circuit, power circuit and clock circuit;
Said microcontroller circuit comprises microcontroller;
Said serial communication circuit is connected with the serial port signal of said microcontroller;
Said ethernet circuit is connected with the ethernet port signal of said microcontroller;
Said memory circuit is connected with I/O mouth signal with the SPI port signal of said microcontroller;
Said mutual circuit is connected with the pulse modulation output port signal and the I/O mouth signal of said microcontroller;
Said debug i/f circuit is connected with the debug port signal of said microcontroller;
Said power circuit is that whole gateway provides power supply;
Said clock circuit is that said microcontroller provides clock.
2. wireless sensor network gateway circuit according to claim 1 is characterized in that, said microcontroller circuit comprises microcontroller, a MII interface gating resistance R 1 and the first pull down resistor R2;
One end of a said MII interface gating resistance R 1 is connected with said microcontroller 41 pin, the other end ground connection of a MII interface gating resistance R 1;
The end of the said first pull down resistor R2 is connected with said microcontroller 58 pin, another termination 3.3V power supply of the first pull down resistor R2.
3. wireless sensor network gateway circuit according to claim 1; It is characterized in that said serial communication circuit comprises the first filter capacitor C31, the second filter capacitor C32, the 3rd filter capacitor C33, the 4th filter capacitor C34, connector J2, connector J3, connector J4, serial communication level transferring chip U4;
The end of the said first filter capacitor C31 is connected with 4 pin of serial communication level transferring chip U4, and the other end of the first filter capacitor C31 is connected with 5 pin of serial communication level transferring chip U4;
The end of the said second filter capacitor C32 is connected with 1 pin of serial communication level transferring chip U4, and the other end of the second filter capacitor C32 is connected with 3 pin of serial communication level transferring chip U4;
5 pin of 15 pin of the end of the end of said the 3rd filter capacitor C33, the 4th filter capacitor C34, serial communication level transferring chip U4,2 pin of connector J2, connector J3, the 2 pin ground connection of connector J4; The other end of the 3rd filter capacitor C33 is connected with 2 pin of serial communication level transferring chip U4; The other end of the 4th filter capacitor C34 is connected with 6 pin of serial communication level transferring chip U4; 1 pin of connector J2 connects the 5V power supply; 1 pin of connector J3,4 pin, 6 pin, 7 pin, 8 pin, 9 pin are unsettled, and 2 pin of connector J3 are connected with 14 pin of serial communication level transferring chip U4, and 3 pin of connector J3 are connected with 13 pin of serial communication level transferring chip U4; 16 pin of 1 pin of connector J4, serial communication level transferring chip U4 connect the 3.3V power supply; 3 pin of connector J4 are connected with microcontroller 13 pin, and 4 pin of connector J4 are connected with microcontroller 12 pin, and 11 pin of serial communication level transferring chip U4 are connected with microcontroller 27 pin; 12 pin of serial communication level transferring chip U4 are connected with microcontroller 26 pin, and 7 pin of serial communication level transferring chip U4,8 pin, 9 pin, 10 pin are unsettled.
4. wireless sensor network gateway circuit according to claim 1; It is characterized in that said ethernet circuit comprises the 5th filter capacitor C27, the 6th filter capacitor C28, the 7th filter capacitor C29, the 8th filter capacitor C30, the first pull-up resistor R5, the second pull-up resistor R6, the second pull down resistor R7, the 3rd pull down resistor R8, the first current-limiting resistance R3, the second current-limiting resistance R4, connector ETH;
The end of the end of said the 5th filter capacitor C27, the first pull-up resistor R5,4 pin of connector ETH are connected with microcontroller 46 pin; The end of the end of the 6th filter capacitor C28, the second pull-up resistor R6,3 pin of connector ETH are connected with microcontroller 43 pin; The end of the end of the 7th filter capacitor C29, the second pull down resistor R7,7 pin of connector ETH are connected with microcontroller 40 pin; The end of the end of the 8th filter capacitor C30, the 3rd pull down resistor R8,8 pin of connector ETH are connected with microcontroller 37 pin; The end of the first current-limiting resistance R3 is connected with 2 pin of connector ETH; The end of the second current-limiting resistance R4 is connected with 11 pin of connector ETH; The other end of the first current-limiting resistance R3 is connected with microcontroller 59 pin; The other end of the second current-limiting resistance R4 is connected with microcontroller 60 pin, the other end of the other end of the other end of the 5th filter capacitor C27, the 6th filter capacitor C28, the other end of the second pull down resistor R7, the 3rd pull down resistor R8, the 10 pin ground connection of connector ETH, another termination 3.3V power supply of the other end of the other end of the 7th filter capacitor C29, the 8th filter capacitor C30, the other end of the first pull-up resistor R5, the second pull-up resistor R6; 1 pin of connector ETH, 5 pin, 6 pin, 12 pin connect the 3.3V power supply, and 9 pin of connector ETH are unsettled.
5. wireless sensor network gateway circuit according to claim 1 is characterized in that, said memory circuit comprises the 5th pull-up resistor R27, flash memory U3;
The end of said the 5th pull-up resistor R27,3 pin of flash memory U3 are connected with microcontroller 73 pin; 5 pin of the other end of the 5th pull-up resistor R27, flash memory U3 connect the 3.3V power supply, and 1 pin of flash memory U3 is connected with microcontroller 29 pin, and 2 pin of flash memory U3 are connected with microcontroller 30 pin; The 4 pin ground connection of flash memory U3; 6 pin of flash memory U3 are connected with microcontroller 72 pin, and 7 pin of flash memory U3 are connected with microcontroller 28 pin, and 8 pin of flash memory U3 are connected with microcontroller 31 pin.
6. wireless sensor network gateway circuit according to claim 1; It is characterized in that said mutual circuit comprises the 3rd current-limiting resistance R21, the 4th current-limiting resistance R22, the 5th current-limiting resistance R23, the 6th current-limiting resistance R17, the first indicator light D2, the second indicator light D3, the 3rd indicator light D4, the 6th pull-up resistor R18, the 7th pull-up resistor R24, the 8th pull-up resistor R25, the first build-out resistor R19, the second build-out resistor R20, the first triode Q5, the first matching capacitance C35, buzzer BZ1, the first button BSL, the second button RESET;
The end of said the 3rd current-limiting resistance R21 is connected with the negative electrode of the first indicator light D2; The other end ground connection of the 3rd current-limiting resistance R21; The end of the 4th current-limiting resistance R22 is connected with the negative electrode of the second indicator light D3; The other end of the 4th current-limiting resistance R22 is connected with microcontroller 71 pin; The end of the 5th current-limiting resistance R23 is connected with the negative electrode of the 3rd indicator light D4; The other end of the 5th current-limiting resistance R23 is connected with microcontroller 70 pin, and the end of the end of the 6th current-limiting resistance R17, the 6th pull-up resistor R18, the base stage of the first triode Q5 connect, and the other end of the 6th current-limiting resistance R17 is connected with microcontroller 67 pin; The anode of the first indicator light D2, the second indicator light D3, the 3rd indicator light D4 connects the 3.3V power supply; The emitter of the other end of the 6th pull-up resistor R18, the first triode Q5 connects the 5V power supply, and the end of the end of the 7th pull-up resistor R24, the first button BSL is connected with microcontroller 61 pin, another termination 3.3V power supply of the 7th pull-up resistor R24; The end of the end of the 8th pull-up resistor R25, the second button RESET is connected with microcontroller 64 pin; Another termination 3.3V power supply of the 8th pull-up resistor R25, the end of the end of the first build-out resistor R19, the collector electrode of the first triode Q5, buzzer BZ1 is connected with the end of the second build-out resistor R20, and the other end of the first build-out resistor R19 is connected with the anode of the first matching capacitance C35; The other end of the other end of the second build-out resistor R20, buzzer BZ1 is connected with microcontroller 66 pin, the other end ground connection of the other end of the other end of the first matching capacitance C35, the first button BSL, the second button RESET.
7. wireless sensor network gateway circuit according to claim 1; It is characterized in that said debug i/f circuit comprises the 9th pull-up resistor R9, the tenth pull-up resistor R10, the 11 pull-up resistor R11, the 12 pull-up resistor R12, the 13 pull-up resistor R13, the 14 pull-up resistor R14, the 15 pull-up resistor R15, the 16 pull-up resistor R16, connector JTAG;
The end of said the 9th pull-up resistor R9,3 pin of connector JTAG are connected with microcontroller 89 pin; The end of the tenth pull-up resistor R10,5 pin of connector JTAG are connected with microcontroller 78 pin; The end of the 11 pull-up resistor R11,7 pin of connector JTAG are connected with microcontroller 79 pin; The end of the 12 pull-up resistor R12,9 pin of connector JTAG are connected with microcontroller 80 pin; The end of the 13 pull-up resistor R13 is connected with 11 pin of connector JTAG; The end of the 13 pull-up resistor R13 is connected with 13 pin of connector JTAG; The end of the 14 pull-up resistor R14 is connected with 15 pin of connector JTAG; The end of the 15 pull-up resistor R15 is connected with 17 pin of connector JTAG; The end of the 16 pull-up resistor R16 is connected with 19 pin of connector JTAG; The other end of the other end of the other end of the other end of the 9th pull-up resistor R9, the tenth pull-up resistor R10, the other end of the 11 pull-up resistor R11, the 12 pull-up resistor R12, the other end of the 13 pull-up resistor R13, the 14 pull-up resistor R14, the other end of the 15 pull-up resistor R15, the other end of the 16 pull-up resistor R16,1 pin of connector JTAG, 2 pin of connector JTAG connect the 3.3V power supply, and 13 pin of connector JTAG are connected with microcontroller 77 pin, 4 pin of connector JTAG, 6 pin, 8 pin, 10 pin, 12 pin, 14 pin, 16 pin, 18 pin, 20 pin ground connection.
8. wireless sensor network gateway circuit according to claim 1; It is characterized in that said power circuit comprises fuse F1, the 9th filter capacitor C17, the tenth filter capacitor C18, the 11 filter capacitor C19, the 12 filter capacitor C20, the 13 filter capacitor C1, the 14 filter capacitor C2, the 15 filter capacitor C3, the 16 filter capacitor C4, the 17 filter capacitor C5, the 18 filter capacitor C6, the 19 filter capacitor C7, the 20 filter capacitor C8, the 21 filter capacitor C9, the 22 filter capacitor C10, the 23 filter capacitor C11, the 24 filter capacitor C12, the 25 filter capacitor C13, the 26 filter capacitor C14, the 27 filter capacitor C15, the 28 filter capacitor C16, button cell BT1, two Schottky D1, three terminal regulator U1, connector J1;
The end of the end of said fuse F1, the positive terminal of the 9th filter capacitor C17, the tenth filter capacitor C18 is connected with the input of three terminal regulator U1; 2 pin of the other end of fuse F1, connector J1 connect the 5V power supply; The anode of the positive terminal of the 11 filter capacitor C19, the positive terminal of the 12 filter capacitor C20, the output of three terminal regulator U1, the end of the 13 filter capacitor C1, the end of the 14 filter capacitor C2, the end of the 15 filter capacitor C3, the end of the 16 filter capacitor C4, the end of the 17 filter capacitor C5, the end of the 18 filter capacitor C6, the end of the 19 filter capacitor C7, the end of the 20 filter capacitor C8, the end of the 21 filter capacitor C9, the end of the 22 filter capacitor C10, two Schottky D1 connects the 3.3V power supply; The end of the 23 filter capacitor C11, the end of the 24 filter capacitor C12, the end of the 25 filter capacitor C13, the end of the 26 filter capacitor C14, the end of the 27 filter capacitor C15, the anodal termination 2.5V power supply of the 28 filter capacitor C16; The positive terminal of button cell BT1 is connected with another anode of two Schottky D1; The negative electrode of two Schottky D1, microcontroller 55 pin connect the VBAT power supply, the other end of 1 pin of connector J1, the negative pole end of the 9th filter capacitor C17, the tenth filter capacitor C18, the other end of the 11 filter capacitor C19, the negative pole end of the 12 filter capacitor C20, the other end of the 13 filter capacitor C1, the other end of the 14 filter capacitor C2, the other end of the 15 filter capacitor C3, the other end of the 16 filter capacitor C4, the other end of the 17 filter capacitor C5, the other end of the 18 filter capacitor C6, the other end of the 19 filter capacitor C7, the other end of the 20 filter capacitor C8, the other end of the 21 filter capacitor C9, the other end of the 22 filter capacitor C10, the other end of the 23 filter capacitor C11, the other end of the 24 filter capacitor C12, the other end of the 25 filter capacitor C13, the other end of the 26 filter capacitor C14, the other end of the 27 filter capacitor C15, the negative pole end of the 28 filter capacitor C16, the negative pole end ground connection of button cell BT1.
9. wireless sensor network gateway circuit according to claim 1; It is characterized in that said clock circuit comprises the second matching capacitance C21, the 3rd matching capacitance C22, the 4th matching capacitance C23, the 5th matching capacitance C24, the 6th matching capacitance C25, the 7th matching capacitance C26, the first crystal oscillator Y1, the second crystal oscillator Y2, the 3rd crystal oscillator Y3, the 3rd build-out resistor R26;
The end of the end of the end of the said second matching capacitance C21, the first crystal oscillator Y1, the 3rd build-out resistor R26 is connected with microcontroller 52 pin; The other end of the end of the 3rd matching capacitance C22, the other end of the first crystal oscillator Y1, the 3rd build-out resistor R26 is connected with microcontroller 53 pin; The end of the end of the 4th matching capacitance C23, the second crystal oscillator Y2 is connected with microcontroller 48 pin; The end of the 5th matching capacitance C24 is connected with microcontroller 49 pin with the other end of the second crystal oscillator Y2; The end of the end of the 6th matching capacitance C25, the 3rd crystal oscillator Y3 is connected with microcontroller 16 pin; The end of the 7th matching capacitance C26 is connected with microcontroller 17 pin with the other end of the 3rd crystal oscillator Y3, the other end ground connection of the other end of the other end of the other end of the second matching capacitance C21, the 3rd matching capacitance C22, the other end of the 4th matching capacitance C23, the 5th matching capacitance C24, the other end of the 6th matching capacitance C25, the 7th matching capacitance C26.
CN2012200838123U 2012-03-08 2012-03-08 Gateway circuit of wireless sensor network Expired - Fee Related CN202488773U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012200838123U CN202488773U (en) 2012-03-08 2012-03-08 Gateway circuit of wireless sensor network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012200838123U CN202488773U (en) 2012-03-08 2012-03-08 Gateway circuit of wireless sensor network

Publications (1)

Publication Number Publication Date
CN202488773U true CN202488773U (en) 2012-10-10

Family

ID=46963156

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012200838123U Expired - Fee Related CN202488773U (en) 2012-03-08 2012-03-08 Gateway circuit of wireless sensor network

Country Status (1)

Country Link
CN (1) CN202488773U (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102573137A (en) * 2012-03-08 2012-07-11 杭州百翔科技有限公司 Gateway circuit of wireless sensor network
CN106530598A (en) * 2016-11-03 2017-03-22 浪潮(苏州)金融技术服务有限公司 Remote alarm device and method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102573137A (en) * 2012-03-08 2012-07-11 杭州百翔科技有限公司 Gateway circuit of wireless sensor network
CN102573137B (en) * 2012-03-08 2014-09-24 杭州百翔科技有限公司 Gateway circuit of wireless sensor network
CN106530598A (en) * 2016-11-03 2017-03-22 浪潮(苏州)金融技术服务有限公司 Remote alarm device and method

Similar Documents

Publication Publication Date Title
CN102974064B (en) Fire-extinguishing agent gas pressure network monitoring system of gas fire-extinguishing system bottle unit
CN107807576A (en) A kind of intelligent power distribution monitoring management apparatus
CN202488773U (en) Gateway circuit of wireless sensor network
CN205209645U (en) Mining high tension cable terminal box temperature on -line monitoring and warning system
CN203288046U (en) Household combustion gas leakage monitoring system based on wireless communication and GSM mobile communication
CN104062927A (en) Method and system for intelligent remote switch control over socket
CN102573137B (en) Gateway circuit of wireless sensor network
CN203573483U (en) Wireless acquisition device with multifunctional acquisition and control capacity
CN103278841A (en) Low power consumption beta-ray wireless sensing monitoring device and system
CN204392586U (en) For the radio sensing network terminal installation of mine monitoring
CN209299290U (en) Intelligent gateway circuit based on NB IOT
CN102843386B (en) Radio frequency communication module for fault indicator of power distribution network line and applications of radio frequency communication module
CN202085159U (en) Radio frequency communication module used for power distribution network line fault indicator
CN105352619A (en) On-line temperature monitoring and warning system and method for mining high voltage cable coupling box
CN206788345U (en) Battery data logging device
CN205983819U (en) Teletransmission water gauge M connection structure of BUS communication chip and singlechip
CN216216022U (en) Interactive high-temperature power supply battery short section
CN206058239U (en) A kind of NFC read/write circuits
CN106374972B (en) The communication system and its control method of intelligent micro-circuit breaker
CN203217748U (en) Geotechnical engineering real-time monitoring system/device
CN210428433U (en) Multifunctional interface converter based on Internet of things
CN202210221U (en) Farmland information digital acquisition and processing controller
CN219577265U (en) Full-automatic data conversion unit
CN204650295U (en) A kind of liquid level Real-Time Monitoring based on Zigbee and control device
CN204065317U (en) A kind of group-net communication type fault indication device for power distribution line

Legal Events

Date Code Title Description
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: 20121010

Termination date: 20140308