Home

Project Report Fall 2012

image

Contents

1. e Project Untitled Project 1 E My Computer i Dependencies Build Specifications Targets and Devices Utilities Deploy Deploy All Arrange By Remove from Project Rename F2 Properties Wireless Sensor Network 21 3 2 Tick the Existing target or device radio box and Expand the WSN Node Folder Existing target or device Discover an existing target s or device s Specify a target or device by IP address New target or device Targets and Devices EHO WSN Node E NIWSN 3202 ID 1 14D8CAE NIWSN 3202 ID 2 15CA60D i NI WSN 3212 ID 3 14C3D7F Wireless Sensor Network 22 3 3 Click on a Node to select it Alternatively Ctrl Click Nodes to select more than one Click Ok Targets and Devices Existing target or device Discover an existing target s or device s Specify a target or device by IP address New target or device gm NI WSN 3202 ID 1 14D8CAE j a NI WSN 3202 ID 2 15CA60D ait NI WSN 3212 ID 3 14C3D7F Refresh J ox _ The nodes should be imported into LabVIEW successfully Wireless Sensor Network 23 4 Creating a Basic LabVIEW Program with the Nodes 4 1 The two nodes will automatically be imported into your LabVIEW program Next right click My Computer in the Project Explorer Window and click New gt gt VI 10 YEARS OF EXCELLENCE IN HIGHER EDUCATION am a a Pe a i Wel 3 J Wo
2. eid te H mm Cass or tts 8 So 0 a g bg zi z TT UT g re a BIENNE gf BD Project Explor Wireless Sensor Network 24 4 2 Expand node 1 1st input should be AIO Drag AIO Or Analog input that the Ultrasonic sensor is attached to onto the block diagram sm gt Untitled 4 Block Diagram on Untitled Project 2 My Computer Untitled 4 F Ele Edt view Broject Operate Tools Window Help Project S Untitled Project 25 a Sx Ele Edt wew Project Operate Tools window Help Jnse lxoox isal Ree E k Project Untitled Project 2 Wireless Sensor Network 25 4 3 Next on the Front Panel right click and click the search button Dele Untitled 4 Block D Untitled P t 2 My C ter l 0 YEA Untitled 4E ne ock Diagram on Untitled Project 2 My Computer Ele Edt yew project Operate Tools Window Help 5A 13 gt o gt 0 0 L baja 1t Appication ront to a7 60 f Project Explorer Untitled Project 2 O x Ble Edt Yew Project Operate Tools Window Help JoS l x OO x ee R eo S fy NI WSN9791 014C6762 169 254 3 242 amp amp Wireless Sensor Network amp Nodel 1D 1 14D8CAE NI WSN 3202 AIO z 1 VE eo URC NS 3 DUSDESIES DES UES DES DES MES DES HES OES OES HH HHG i i f VI Deployed amp amp Node2 ID 2 14C307F NI WSN 3212 Wireless Sensor Network 26 4 4 Type
3. giving an instant access to their I O variables and properties Drag the AIO from the 3202 s I O tree on the left hand side of the screen onto the block diagram and attach it to an indicator Do the same for the TCO More detailed information can be found in the User Manual section of this document see Appendix Wireless Sensor Network 9 3 New Objectives In the previous project a running example consists of the graphs displaying the correct voltage of both the ultrasonic sensor and the infrared sensor In addition to this when the desired result is obtained motion detected temperature achieved the program turns on the LED in LabVIEW This experiment will be kept in the current project A new objective in this iteration of the project is that the security system s program will be sent to the wireless nodes and run on LabVIEW from a remote location on the network Fig 6 From there it is only a matter of forwarding the correct ports in order to access the gateway over the Internet A successful trial will be defined as one in which the wireless nodes correctly display the alarm status Wireless Sensor Network 10 LabVIEW Cede is seat to the Gateway over the nemet The Gateway connected to the Internet via Ethernet cable relays the data received from the Nodes Ethemet Gateway _ LabVIEW code is deploved via the gateway to the Nodes The Nodes retum the output of the sensors I
4. ep al 8 cl mm RT 9 2g I a N Me fe Express Control Design amp Simulation NET amp Activex Signal Processing Addons User Controls Select a Control R Change Visible Palettes yyrrvrey KINGSTON F Google Docs T XPSnippingTool LabVIEW 1 NI WSN9791 0 Indicator Paint Wireless Sensor Network 28 4 6 Returning to the block diagram create a wire between AIO and the Waveform Indicator jen Untitled 4 Block D Untitled Project 2 My C ter intitle lock Diagram on Untitled Projec computer l TE Untitled 4 Fi 28 j y Comp JnS x oO xe R 7 NI WSN9791 014C6762 169 254 3 242 amp amp Wireless Sensor Network Node ID 1 14D8CAE NI WSN 3202 gt an gt z WASHES IES DUS MES ES OES IES DES UES OES ES HHS EEPEESEERR ff fof ki me to eee te oP 8 i 2 14C307F NI WSN 3212 The program is now ready to display the signals transmitted to the gateway via the wireless nodes Wireless Sensor Network 29 5 Running the LabVIEW Program 5 1 In the Front Panel click the symbol of two arrows in a loop This will cause the program to run until the stop button orange octagon is pressed Untitled 4 Front Panel on Untitled Project 2 My Computer Ble Edt Yew Project Operate Tools Window Help Waveform Chart riot ZA 10 4 Wireless Sensor Network 30 6 Troubleshooting If the program does not
5. Remote Data Acquisition with NI WSN Gateways and Wireless Nodes Chris Ruskai Garrett Colas CNT 4104 Dr Janusz Zalewski FGCU December 16 2012 Wireless Sensor Network 1 1 Introduction The objective of this project is to develop a lab station for a sensor network which would allow remote programming of sensor nodes National Instruments Wireless Sensor Network NI WSN 9792 Ethernet gateway was selected for this purpose The National Instruments Wireless Security Network NI WSN 9792 gateway is a programmable Ethernet gateway that connects the NI WSN nodes to a computer for data acquisition and control The NI WSN 3202 and the NI WSN 3212 nodes are programmable wireless receivers housing several analog and digital inputs These nodes can be connected to a variety of sensors including but not limited to ultrasonic sensors and infrared sensors This way data from various sensors can be transmitted via a wireless network to a computer running LabVIEW as well as allow the remote programming of the nodes via a remotely programmable Ethernet Gateway To prove this concept the security system from this group s previous project will be adapted as a vehicle for experimentation 4 Wireless Sensor Network 2 2 Previous Accompolishments 2 1 Available Hardware The devices used in this project include NI WSN 9792 Ethernet Gateway used to route the connection from the nodes to the host computer NI WSN 3202 Node used to relay da
6. des remotely with Labview and 2 updating sensor node software through the gateway Both can be done in two ways 1 On the FGCU network using 172 28 xx yy addresses 2 From any network using ports 3580 and 3581 once they are open assuming port 8080 is already open 1 Importing the Gateway into Measurement and Automation 5 1 1 1 Open Measurement and Automation 5 1 In the screen that appears click Remote file Edit View Toots Help a Q My Sytem E Devices and Interfaces Systems Create New Remote Systems with Remote Systems you can view and configure devices and systems connected over Enemet Your remote systems appear in Pe Configuraton vee when you expand Remote Systems by clicking the plus sign What is a remote system Aremote system denotes a realtime target that can be managed or configured over Pe network while a network device does not run a reabtime operating system Remote systems are not the same as network devices A network device is any device that is accessible over an Dthernet or wireless connection Such devices may be accessible by mulliple computers and do not run a reat ame opersing system What do you want to do B Set up my system for the fest me R Note To configure remote Tradieonal NI DAQ Legacy devices select Tools Traditional NDAQ Legacy Configeration Remote DAQ Configuration tom the MAX menu to Jaunch te Remote OA Contgurabon utaity To configure omer NI remote syvte
7. he pseudocode for the LabVIEW program at the time of writing this document would be if detectedVoltage 0 5 activateLED Similar logic can be applied to the operation of the infrared sensor if detectedVoltage 0 5 activateLED This same logic will be applied to the remote program Very little to no actual programming logic should be required to transmit the program over the network Wireless Sensor Network 8 To create the program in LabVIEW the sensor nodes must be connected to the Ethernet gateway in software via NI Measurement and Automation Explorer To do so follow the following steps Open NI Measurement and Automation Explorer Expand the Remote Systems Tree The NI WSN 9791 Ethernet Gateway should automatically be detected Click it On the screen that appears after clicking the gateway click the nodes tab Click add nodes Enter the type of node and the serial number of the node Repeat for each additional node Once the nodes are added to the gateway the user can now create an empty LabVIEW project Once the project is created in LabVIEW Right click the project name Select New gt gt Targets and Devices Select Existing Targets or Devices Expand the WSN Gateway folder to choose the 9791 Ethernet Gateway configured in Measurement and Automation The measurement nodes configured with the network are automatically added underneath the gateway in the LabVIEW Project
8. in indicator Double click the folder labeled Graph Indicators A new group of items will be added to the Express Menu Da r f Untitled 4 Block Diagram on Untitled Project 2 My Computer Untitled 4 F Te ea pn PE E Yew Bojc operate Tools window Heip gt On P R vaja 13t Application Font i gt Project Explorer Untitled Project 2 E Dx Ele Edt yew projet Operate Tools Window Help JHSe ls oO x a m Fa ee Bld Specifications al S fy NI WSN9791 014C6762 169 254 3 242 S amp Wireless Sensor Network amp Node1 1D 1 1408CAE NI WSN 3202 FilePath Indcator lt lt String amp Path gt gt File Path Indicator lt lt Classic String amp Path gt gt Smith Plot Indicator Time Stamp Indicator lt lt Classic Numeric gt gt THL HHT G Fere SL I LA p wr e E E String Indicator Frameless Silver ID 2 14C307F NI WSN 3212 p r i Wireless Sensor Network 27 4 5 Choose a Waveform Graph and drag it into the Front Panel 0 Y F A Untitled 4 Front Panel on Untitled Project 2 My Computer Ble gdt View projet Operate Tools window Help 5 Build Specifications e 7 NI WSN9791 014C6762 169 254 3242 e Wireless Sensor Network Nodet ID 1 14D8CAE NI WSN 3202 AIO All al2 Al3 Battery Voltage D100 7 SS PPEP PISHE o 8 a Te p a Node2 ID 2 14C307F NI WSN 3212 Al
9. lar node contains 4 thermocouple inputs and 4 digital inputs Wireless Sensor Network 5 Fig 3 NI WSN 3212 Wireless Node National Instruments Remotely Programmable Ethernet Gateway This gateway which replaces the NI WSN 9791 Gateway in this project allows for the programming of the wireless nodes from remote locations on a network Parallax PING Ultrasonic Sensor The Parallax PING Ultrasonic Sensor shown in Fig 4 utilizes ultrasonic audio chirps to detect motion The sensor connects to the analog input of the NI WSN 3202 wireless node Wireless Sensor Network 6 Fig 4 Parallax PING UltraSonic Sensor Infrared Sensor The infrared sensor shown in Fig 5 provides data about the temperature of an object Like the PING sensor it connects to an analog port on the NI WSN 3202 wireless node Fig 5 Parallax PIR Infrared Sensor Wireless Sensor Network 7 2 2 Programming Logic Each of the sensors is monitored via a LabVIEW 2010 programming The logic to the program is fairly straight forward and has been used in the previous experiment The selected programming API is LabVIEW G a high level graphical language with the ability to perform many of the same functions as Object Oriented Languages such as Java C C and C The ultrasonic sensor runs at a constant voltage of 0 5V when there is no motion detected Once motion is detected the voltage changes in either the positive or negative direction Therefore t
10. ntemet A Remote PC running LabVIEW send a VI tothe Gateway so that it may be deployed to the Nodes Tye data sent from the Gatevay ts displayed on the LabVIEW Running LabVIEW program s UI Fig 6 Diagram depicting the way in which the hardware interacts Wireless Sensor Network 11 4 Conclusion The current status of the project is that the gateway is able to be programmed remotely from any computer on the FGCU public wired network The gateway can also be programmed over the Internet provided that the network hosting the gateway has the ports 3580 3581 and 8080 open Since this project dealt solely with analog sensors future projects should expand the LabVIEW program to read and process data from digital sensors Wireless Sensor Network 12 5 References 1 Parallax PING Ultrasonic Sensor Documentation URL http www parallax com Portals 0 Downloads docs prod acc 28015 PING v1 6 pdf 2 Parallax PIR Sensor Documentation URL http www parallax com dl docs prod audiovis pirsensor v1 2 pdf 3 Getting Started with NI Wireless Sensor Networks URL http zone ni com devzone cda tut p id 8890 4 Data Acquisition with NI WSN Gateway and Nodes URL http itech fgcu edu faculty zalewski projects files Wireless_Sensor_Network pdf Wireless Sensor Network 13 Appendix User Manual The purpose of this document is to guide the user step by step through the process of 1 controlling the sensor no
11. rns reser to your spectic device documentabon For more information about using your Ni products in MAX refer to your NI product help located on the Helpelelp Topics menu nem You can aiso access Ni product help from wimin MAX help which you can launch from the Help menu or by pressing lt F1 gt 2 Help ZE Remote Systems Wireless Sensor Network 14 1 2 Right click Remote Systems and click Create New In the window that appears click Remote Device not on the local subnet and click Next einstrume INSTRUMENTS Wireless Sensor Network 15 1 3 In the next screen tick the IP Address Radio Button Type in the following IP Address 172 28 79 189 and click Finish Create New Remote Device not on the local subnet Wir NATIONAL p INSTRUMENTS Enter IP Address or Host Name To locate a remote device that is not on the local subnet enter the host name or IP Address of the device ff it can be located it will be added to your list of remote systems Host Name Wireless Sensor Network 16 2 Using the Nodes in LabVIEW 2011 2 1 Open LabVIEW 2011 and create a new project In the project explorer right click Project lt Your Project Name gt Hover over New and click Targets and Devices File Edit View Project Operate Tools Window Help Target Folder Targets and Devices Save All this Project View Find Items with No Callers Find Missing Items Find I
12. ta gathered from analog or digital sensors to the host computer NI WSN 3212 Node used to relay data obtained from thermocouples or digital sensors to the host computer Parallax PING Ultrasonic Sensor a sonar sensor used to detect the proximity of an object Parallax PIR Infrared Sensor used to detect the proximity of an object using infrared signals Basic K type Thermocouple used to detect changes in temperature NI WSN 9792 Ethernet Gateway The Ethernet gateway shown in Fig 1 can essentially be thought of as the bridge between the wireless nodes and the host computer It connects to the host computer via an Ethernet cable to receive instructions from LabVIEW 2010 and broadcast them to the nodes Alternatively programming can be received over both a local area network and a wide area network Each node is synchronized with the gateway via LabVIEW Measurement and Automation Wireless Sensor Network 3 Fig 1 NI WSN 9792 Ethernet Gateway NI WSN 3202 Wireless Node The NI WSN 3202 Wireless Node shown in Fig 2 is a programmable wireless receiver that transmits data from a sensor to the gateway This particular node contains 4 analog and 4 digital inputs Wireless Sensor Network 4 Fig 2 NI WSN 3202 Wireless Node NI WSN 3212 Wireless Node The NI WSN 3212 Wireless Node shown in Fig 3 is a programmable wireless receiver that like the 3202 transmits data from a sensor to the gateway This particu
13. tems Incorrectly Claimed by a Library Find Project Items Arrange By Expand All Wireless Sensor Network 17 2 2 Check the New target or device radio button and expand the folder labeled WSN Gateway Click NI WSN 9791 and click Ok Targets and Devices Existing target or device 9 Discover an existing target s or device s Specify a target or device by IP address New target or device Targets and Device Types a EHO WSN Gateway i a NIWSN 9791 The Gateway should be imported into LabVIEW 2011 Note If the Gateway is imported with an IP Address of 0 0 0 0 follow the steps below Wireless Sensor Network 18 2 3 Right click the gateway and click Properties File Edit View Project Operate Tools Window Help JpealxoOx sa R eala ela Items Files S b Project Untitled Project 1 E My Computer Dependencies Build Specifications Wireless Sensor Network 19 2 4 In the screen that appears type the following IP Address into the IP Address DNS Name Field 172 28 79 189 and click Ok General Name NI WSN 9791 IP Address DNS Name 172 28 79 189 Wireless Sensor Network 20 3 Adding Nodes to the Project 3 1 Right click the gateway hover over New and click Targets and Devices File Edit View Project Operate Tools Window Help IoSalxOOx SRIR Calle wellaeala
14. work make sure of the following e All wires are correctly connected Both securely and in the right ports e All LabVIEW wires are properly connected No red X s e The ethernet gateway is connected and detected in both LabVIEW and Measurement and Automation e The wireless nodes have fresh charged batteries For more help visit http www ni com support Wireless Sensor Network 31

Download Pdf Manuals

image

Related Search

Related Contents

Minka Lavery 4877-283 Instructions / Assembly  CTSC- Zusatztools für Reborn Card Ult. 8    Haier FCD-JTSA60-III User's Manual    Fujitsu MEMORYBIRD L 2GB  折りたたみ式簡易便器(8700AC) 取扱説明書  Netbiter® Remote Access - produktinfo.conrad.com  N° 7 octobre/novembre 14  Philips SBC SC940 User's Manual  

Copyright © All rights reserved.
Failed to retrieve file