Friday 19 June 2015

Wireless data acquisition system based on ZigBee modules for Remote sensing and Monitoring using TI MSP430

Wireless data acquisition system based on ZigBee modules for Remote sensing and Monitoring using TI MSP430

 

Abstract
In this study, a variety of environmental and industrial monitoring, the TIMSP430G2 sensing value retrieved and transmitted using the XBee wireless signal transmission to the monitoring client computer, information and data are displayed in the interface program MATLAB on; instant catch data sequentially display in the graph. In addition, when sensing value beyond the set threshold is the exception warning, in MATLAB displays a warning message and sends control signals transmitted to the wireless relay module control electrical appliances to make the switch, improve the environment and heater, cooler in industry. For example, when temperature of room increase beyond certain value, Cooler/AC system start functioning, to achieve our demands. The future will add another function, when the user is not in the scene, by the application using the Eclipse smartphone over the wireless network, the client computer to connect to the monitor interface program using internet, see real-time data, user need not be present also can watch, real data can be viewed through a smartphone, more convenient. This study has several experiments by a number of experimental analysis, combined with Arduino and XBee applied to a variety of situations but we choose TIMSP439G2 as cost efficient microcontroller. a variety of different wireless sensing applications allow users to do by the results of This research further WSN technological development and innovation.
Keywords- XBee, MSP430


1. INTRODUCTION
Previously, before the wireless transmission not common place, rely on the signal wire is passed to the microprocessor for analysis, as long as the number of over one signal cable, layout is very likely to cause problems, this is a long time down the problemcannot be resolved. In recent years, the rapid development of wireless sensor networks, is today an indispensable technique used in smart home and environmental monitoring, health care, situational awareness, security, real-time reporting system so a variety of measures, the use of a variety of environmental and industrial sensors to monitor changes in the environment and industrial conditions, the integration of hardware, software and wireless communication capabilities.Established using the TI MSP430G2 Launchpad hardware, using MATLAB.

 

2. SYSTEM ARCHITECTURE
This experiment uses a simple one to one xbee network, the use of two sensors captured signal, sensor measurements in Figure [1] as temperature, Light... etc. sensing signal value by TI MSP30G2 platform capture and convert signals from the End Device XBee passed to the coordinator node returns XBee, coordinator connect to a computer using a USB Wire transmission method to send data to the computer, using the program viewing data, the future will achieve, away from the computer by smartphones and tablets allow users to receive instant messages, computer terminal and then collected data uploaded to the cloud database storage hard to do, easy and instant access to the user in the future supply of other users to log in to your Drive watch is not reached field, to know the message, instant understanding of the current situation, achievements intelligent life purposes. Figure [2] is a
flow chart illustrating Sensor system value transmission process, retrieve data from the Arduino, the data sent to the End Device XBee, by way of radio, transmitted coordinator XBee, send over the data from the USB transmission to the computer, computer- monitor interface for easy viewing, collected data on the cloud, do database storage, which is a series of system architecture. Figure [3] When the sensor value exceeds the threshold value.MATLAB send control signals. Sent by Coordinator to End Device reads signals from the control pin MSP430 control relay switch, in accordance with the needs of the environment to do the movements, when the value returns to below the threshold again send control signals, electrical switches off.

Figure [1].Sensor Monitoring System

       Figure [2]. Experimental Sensing of Sensor Data

   ==>Sensors Measuring Environment
Values

==> TI MSP430G2 Reading Sensor
Value

     ==>End Device Xbee Sensing value of
Transmission

    ==>Monitoring interfaces show sensor
data

    ==>Coordinator Xbee Received Signal
from each end Device

 

Figure [3]. Transmit control signal and electric application

             ==>Boundary of sensing value
                    When the over the boundary

             ==>MATLAB, Send Control Signal

             ==>Coordinator Xbee Control signal of
                         wireless transmission

             ==>End Device Xbee Received signal
                           from coordinator

             ==>MSP430 Reading signal control
                            Relay switch

3.Hardware Specification
 

I. MSP430G2
         The MSP-EXP430G2 low-cost experimenter board called LaunchPad is a complete development solution for the Texas Instruments MSP430G2xx Value Line series. The integrated USBbased emulator offers all the hardware and software necessary to develop applications for all MSP430G2xx series devices. The LaunchPad has an integrated DIP target socket that supports up to 20 pins, allowing MSP430™ Value Line devices to be dropped into the LaunchPad board. It also offers an on-board flash emulation tool allowing direct interface to a PC for easy programming, debugging, and evaluation. The LaunchPad experimenter board is capable of programming the eZ430-RF2500T target boards, the eZ430-Chronos watch module or the eZ430-F2012T/F2013T target boards. The USB interface provides a 9600-Baud UART serial connection from the MSP430G2xx device to the host PC or a connected target board. The MSP-EXP430G2 can be used with IAR Embedded Workbench™ Integrated Development Environment (IDE) or Code Composer Studio™ (CCS) IDE to write, download, and debug applications. The debugger is unobtrusive, allowing the user to run an application at full speed with hardware Break points and single stepping available while consuming no extra hardware resources.

MSP-EXP430G2 LaunchPad features:
• USB debugging and programming interface featuring a driverless installation and application UART Serial communication with up to 9600 Baud
• Supports all MSP430G2xx and MSP430F20xx devices in PDIP14 or PDIP20 packages
• Two general-purpose digital I/O pins connected to green and red LEDs for visual feedback
• Two push button for user feedback and device reset
• Easily accessible device pins for debugging purposes or as socket for adding customized extension Boards
• High-quality 20-pin DIP socket for an easy plug-in or removal of the target device
Figure 4.

Figure 4. MSP-EXP430G2 LaunchPad Overview


II. Energia IDE
          Energia is an open-source electronics prototyping platform started by Robert Wessels in January of 2012 with the goal to bring the Wiring and Arduino framework to the Texas Instruments MSP430 based LaunchPad. The Energia IDE is cross platform and supported on Mac OS, Windows, and Linux. Energia uses the mspgcc compiler by Peter Bigot and is base on the Wiring and Arduino framework. Energia includes an integrated development environment (IDE) that is based on Processing.

Figure 5.IDE Energia

III. Xbee
           The XBee/XBee-PRO ZNet 2.5 OEM (formerly known as Series 2 and Series 2 PRO) RF Modules were engineered to operate within the ZigBee protocol and support the unique needs of low-cost, low-power wireless sensor networks. The modules require minimal power and provide reliable delivery of data between remote devices. The modules operate within the ISM 2.4 GHz frequency band and are compatible with the
following:
• XBee RS-232 Adapter
• XBee RS-232 PH (Power Harvester) Adapter
• XBee RS-485 Adapter
• XBee Analog I/O Adapter
• XBee Digital I/O Adapter
• XBee Sensor Adapter
• XBee USB Adapter
•XStick
• Connect Port X Gateways
• XBee Wall Router.

Figure [6]. Xbee Pinout

IV. Xbee IDE
       X-CTU is a Windows-based application provided by Digi. This program was designed to interact with the firmware files found on Digi’s RF products and to provide a simple to use graphical user interface to them.

Figure [6].X-CTU Modem Configuration

V.MATLAB


MATLAB (matrix laboratory) is a multi-paradigm numerical computing environment and fourth-generation programming language. Developed by MathWorks, MATLAB allows matrix
manipulations, plotting of functions and data, implementation of algorithms, creation of user interfaces, and interfacing with programs written in other languages, including C, C++, Java, Fortran and Python. Although MATLAB is intended primarily for numerical computing, an optional toolbox uses the MuPAD symbolic engine, allowing access to symbolic computing capabilities. An additional package, Simulink, adds graphical multi-domain simulation and Model-Based Design for dynamic and embedded systems

Figure [7].MATLAB IDE interface

4.EXPERIMENT


A.Tempereture Sensor (LM35) 

          The LM35 series are precision integrated-circuit temperature devices with an output voltage linearly- proportional to the Centigrade temperature. The LM35 device has an advantage over linear external calibration or trimming to provide typical accuracies of ±¼°C at room temperature and ±¾°cover a full −55°C to 150°C temperature range. Lower cost is assured by trimming and calibration at the wafer level. The low-output impedance, linear output, and precise inherent calibration of the LM35 device makes interfacing to readout or control circuitry especially easy. The device is used with single power supplies, or with plus and minus supplies. As the LM35 device draws only 60 μA from the supply, it has very low self-heating of less than 0.1°C in still air. The LM35 device is rated to operate over a −55°C to150°C temperature range, while the LM35C device is rated for a −40°C to 110°C range (−10° with improved accuracy). The LM35-series devices are available packaged in hermetic TO transistor packages, while the LM35C, LM35CA, and LM35D devices are available in the plastic TO-92 transistor package. The LM35D device is available in an 8-lead surface-mount small-outline package and a plastic TO-220 package.


2.LDR
          A photoresistor or light-dependent resistor (LDR) or photocell is a lightcontrolled variable resistor. The resistance of a photoresistor decreases with increasing incident light intensity; in other words, it exhibits photoconductivity. A photoresistor can be applied in light-sensitive detector circuits, and light- and dark-activated switching circuits.



5.Observations


  1. Figure [8] taken on April 30, 2015. A experiment was with sensor signal transmit by the system automatic control the LED on TI MSP430G2. In B Experiment Light controlled, based on LDR output signal taking control action individually.

Figure [8]. Real time graph of sensor monitoring

   2. Hardware setup



7. CONCLUSIONS

This study combines various sensors MSP430G2 acquire signals from XBee passed to the monitor shows the current state of information and data, when the data than the set threshold will send control signals to the MSP430G2 pin control relay so that the electrical opening action to improve the environment Back to the threshold Value will stop the action, the data to the monitoring terminal at the same time, the data saved to an Access database, for later viewing. Observation of the Experiment to the automatic control monitoring, observation scores were significantly higher than the conventional one, the study confirmed that the automatic control system is effective.

for any query and technical assistance,program of MSP430G2 & MATLAB contact  Vishnu Bambale