wireless sensor network
DESCRIPTION
Wireless Sensor NetworkTRANSCRIPT
![Page 1: Wireless Sensor Network](https://reader036.vdocuments.site/reader036/viewer/2022081402/5589e8f2d8b42ad6378b464a/html5/thumbnails/1.jpg)
Prepared By:
Riyaz Sarvaiya(09BEC078)
Pankaj Khodifad(09BEC027)
Guided By:
Prof. Sachin Gajjar and Asst. Prof. Amit Degada
(Electronics and Communication department)
Minor Project
Institute of Technology
![Page 2: Wireless Sensor Network](https://reader036.vdocuments.site/reader036/viewer/2022081402/5589e8f2d8b42ad6378b464a/html5/thumbnails/2.jpg)
Outline(Review-I)
• Introduction
• Drip Irrigation
• Wireless Implementation
• MSP430 Kit
• TinyOS
• Conclusion
• Reference
![Page 3: Wireless Sensor Network](https://reader036.vdocuments.site/reader036/viewer/2022081402/5589e8f2d8b42ad6378b464a/html5/thumbnails/3.jpg)
Introduction
• Humanity depends on agriculture and water forsurvival
• New trends have emerged in precision agriculture
• More demand for controlling agriculture practices
• horticulture to field crop production
• Concerns pre- and post-production aspects ofagriculture enterprises.
![Page 4: Wireless Sensor Network](https://reader036.vdocuments.site/reader036/viewer/2022081402/5589e8f2d8b42ad6378b464a/html5/thumbnails/4.jpg)
Drip Irrigation
• Saves water up to 70%. More land can be irrigated with theavailable water
• Crop grows consistently, healthier and mature fast
• Early maturity results in higher and faster returns on investment
• Increase in Crop area up to 50%
• Fertilizer use efficiency increases by 30%
• Undulating & hilly lands can be brought under cultivation
![Page 5: Wireless Sensor Network](https://reader036.vdocuments.site/reader036/viewer/2022081402/5589e8f2d8b42ad6378b464a/html5/thumbnails/5.jpg)
Wireless Implementation
![Page 6: Wireless Sensor Network](https://reader036.vdocuments.site/reader036/viewer/2022081402/5589e8f2d8b42ad6378b464a/html5/thumbnails/6.jpg)
Wireless Implementation
![Page 7: Wireless Sensor Network](https://reader036.vdocuments.site/reader036/viewer/2022081402/5589e8f2d8b42ad6378b464a/html5/thumbnails/7.jpg)
Wireless Implementation
![Page 8: Wireless Sensor Network](https://reader036.vdocuments.site/reader036/viewer/2022081402/5589e8f2d8b42ad6378b464a/html5/thumbnails/8.jpg)
MSP430 Kit
![Page 9: Wireless Sensor Network](https://reader036.vdocuments.site/reader036/viewer/2022081402/5589e8f2d8b42ad6378b464a/html5/thumbnails/9.jpg)
MSP430 Kit
![Page 10: Wireless Sensor Network](https://reader036.vdocuments.site/reader036/viewer/2022081402/5589e8f2d8b42ad6378b464a/html5/thumbnails/10.jpg)
MSP430 Kit Feature
• 100-pin socket for MSP430F5438• Power Supply sources: USB, FET, 2x AA batteries• Digital I/O Pins: 34• Accessible analog inputs (12-bit ADC): 5• PWM outputs: 12• Flash Memory (MSP430F5438): 256KB• RAM (MSP430F5438): 16KB• Clock Speed (MSP430F5438): 18MHz• Communication (MSP430F5438):• 4x UART/LIN/IrDA/SPI• 4x I2C/SPI• 5-position joystick (up, down, left, right, push down)
![Page 11: Wireless Sensor Network](https://reader036.vdocuments.site/reader036/viewer/2022081402/5589e8f2d8b42ad6378b464a/html5/thumbnails/11.jpg)
MSP430 Kit Feature
• 2 push buttons• 2 LEDs• 138x110 grayscale, dot-matrix LCD• 3-Axis Accelerometer (ADXL330)• Microphone (Amplified by TLV2760)• 3.5mm audio output jack (Features TPA301, 350mW Mono Audio Power
Amplifier)• Support for TI Low Power RF Wireless Evaluation Modules and eZ430-
RF2500T. Currently supported modules:• CC1100/CC1101EMK – Sub-1GHz radio• CC2500EMK – 2.4 GHz radio• CC2420/CC2430EMK – 2.4 GHz 802.15.4 radio• CC2520/CC2530EMK – 2.4 GHz 802.15.4 radio• USB connectivity for data transfer• JTAG header for real-time, in-system programming
![Page 12: Wireless Sensor Network](https://reader036.vdocuments.site/reader036/viewer/2022081402/5589e8f2d8b42ad6378b464a/html5/thumbnails/12.jpg)
MSP430 Kit Project(Blinking LED)
![Page 13: Wireless Sensor Network](https://reader036.vdocuments.site/reader036/viewer/2022081402/5589e8f2d8b42ad6378b464a/html5/thumbnails/13.jpg)
MSP430 Kit Project(Blinking LED)
![Page 14: Wireless Sensor Network](https://reader036.vdocuments.site/reader036/viewer/2022081402/5589e8f2d8b42ad6378b464a/html5/thumbnails/14.jpg)
MSP430 Kit Project(Blinking LED)
![Page 15: Wireless Sensor Network](https://reader036.vdocuments.site/reader036/viewer/2022081402/5589e8f2d8b42ad6378b464a/html5/thumbnails/15.jpg)
MSP430 Kit Project(Blinking LED)
![Page 16: Wireless Sensor Network](https://reader036.vdocuments.site/reader036/viewer/2022081402/5589e8f2d8b42ad6378b464a/html5/thumbnails/16.jpg)
MSP430 Kit Project(Blinking LED)
![Page 17: Wireless Sensor Network](https://reader036.vdocuments.site/reader036/viewer/2022081402/5589e8f2d8b42ad6378b464a/html5/thumbnails/17.jpg)
MSP430 Kit Project(Blinking LED)
![Page 18: Wireless Sensor Network](https://reader036.vdocuments.site/reader036/viewer/2022081402/5589e8f2d8b42ad6378b464a/html5/thumbnails/18.jpg)
MSP430 Kit Project(Blinking LED)
![Page 19: Wireless Sensor Network](https://reader036.vdocuments.site/reader036/viewer/2022081402/5589e8f2d8b42ad6378b464a/html5/thumbnails/19.jpg)
MSP430 Kit Project(Blinking LED)
![Page 20: Wireless Sensor Network](https://reader036.vdocuments.site/reader036/viewer/2022081402/5589e8f2d8b42ad6378b464a/html5/thumbnails/20.jpg)
MSP430 Kit Demo Project
![Page 21: Wireless Sensor Network](https://reader036.vdocuments.site/reader036/viewer/2022081402/5589e8f2d8b42ad6378b464a/html5/thumbnails/21.jpg)
MSP430 Kit Demo Project
![Page 22: Wireless Sensor Network](https://reader036.vdocuments.site/reader036/viewer/2022081402/5589e8f2d8b42ad6378b464a/html5/thumbnails/22.jpg)
MSP430 Kit Demo Project
![Page 23: Wireless Sensor Network](https://reader036.vdocuments.site/reader036/viewer/2022081402/5589e8f2d8b42ad6378b464a/html5/thumbnails/23.jpg)
MSP430 Kit Demo Project
![Page 24: Wireless Sensor Network](https://reader036.vdocuments.site/reader036/viewer/2022081402/5589e8f2d8b42ad6378b464a/html5/thumbnails/24.jpg)
MSP430 Kit Demo Project
![Page 25: Wireless Sensor Network](https://reader036.vdocuments.site/reader036/viewer/2022081402/5589e8f2d8b42ad6378b464a/html5/thumbnails/25.jpg)
MSP430 Kit Demo Project
![Page 26: Wireless Sensor Network](https://reader036.vdocuments.site/reader036/viewer/2022081402/5589e8f2d8b42ad6378b464a/html5/thumbnails/26.jpg)
MSP430 Kit Demo Project
![Page 27: Wireless Sensor Network](https://reader036.vdocuments.site/reader036/viewer/2022081402/5589e8f2d8b42ad6378b464a/html5/thumbnails/27.jpg)
MSP430 Kit Demo Project
![Page 28: Wireless Sensor Network](https://reader036.vdocuments.site/reader036/viewer/2022081402/5589e8f2d8b42ad6378b464a/html5/thumbnails/28.jpg)
MSP430 Kit Demo Project
![Page 29: Wireless Sensor Network](https://reader036.vdocuments.site/reader036/viewer/2022081402/5589e8f2d8b42ad6378b464a/html5/thumbnails/29.jpg)
MSP430 Kit Demo Project
![Page 30: Wireless Sensor Network](https://reader036.vdocuments.site/reader036/viewer/2022081402/5589e8f2d8b42ad6378b464a/html5/thumbnails/30.jpg)
MSP430 Kit Demo Project
![Page 31: Wireless Sensor Network](https://reader036.vdocuments.site/reader036/viewer/2022081402/5589e8f2d8b42ad6378b464a/html5/thumbnails/31.jpg)
MSP430 Kit Demo Project
![Page 32: Wireless Sensor Network](https://reader036.vdocuments.site/reader036/viewer/2022081402/5589e8f2d8b42ad6378b464a/html5/thumbnails/32.jpg)
MSP430 Kit Demo Project
![Page 33: Wireless Sensor Network](https://reader036.vdocuments.site/reader036/viewer/2022081402/5589e8f2d8b42ad6378b464a/html5/thumbnails/33.jpg)
USB debugging interface (MSP-FET430UIF)
• A TI Flash Emulation Tool required to program and debug
devices on the experimenter board.
• Software configurable supply voltage between 1.8 and 3.6
volts at 100mA
• Supports JTAG Security Fuse blow to protect code
• Supports all MSP430 boards with JTAG header
• Supports both JTAG and Spy-Bi-Wire (2-wire JTAG) debug
protocols
![Page 34: Wireless Sensor Network](https://reader036.vdocuments.site/reader036/viewer/2022081402/5589e8f2d8b42ad6378b464a/html5/thumbnails/34.jpg)
OUTLINE
Required OS for low power application
Why TinyOS?
Programming in TinyOS
Hardware
Example : Blink
Example : Dissemination Protocol
Conclusion
Reference
OUTLINE of Review II
![Page 35: Wireless Sensor Network](https://reader036.vdocuments.site/reader036/viewer/2022081402/5589e8f2d8b42ad6378b464a/html5/thumbnails/35.jpg)
Required OS for low power
application
1. Small memory footprint
2. Low power consumption
3. Concurrency intensive operation
4. Diversity in design and usage
5. Robust operation
![Page 36: Wireless Sensor Network](https://reader036.vdocuments.site/reader036/viewer/2022081402/5589e8f2d8b42ad6378b464a/html5/thumbnails/36.jpg)
Problems with traditional OS
• The traditional OS is too big (Memory)
• It was not build considering constraints for energy and power
• It has a multithreaded architecture so it leaves large memory
footprint
Need a new OS…
Why TinyOS?
![Page 37: Wireless Sensor Network](https://reader036.vdocuments.site/reader036/viewer/2022081402/5589e8f2d8b42ad6378b464a/html5/thumbnails/37.jpg)
Developer Tiny OS Alliance
Programmed in nesC
OS Family Embedded operating systems
Source model Open Source
Initial Release 0.43 (2000)
Latest Release 2.1.1 (April,2010)
Marketing Target Wireless Sensor Networks
Why TinyOS?
![Page 38: Wireless Sensor Network](https://reader036.vdocuments.site/reader036/viewer/2022081402/5589e8f2d8b42ad6378b464a/html5/thumbnails/38.jpg)
• It features a Component based Architecture
• It has a single Stack
– used by both Interrupt and function calls
• Tasks are non-preemptive
• Tasks run in FIFO order
• It does not have Kernel because of direct hardwaremanipulation
• TinyOS's component library includes network protocols,distributed services, sensor drivers, and data acquisitiontools
Why TinyOS?
![Page 39: Wireless Sensor Network](https://reader036.vdocuments.site/reader036/viewer/2022081402/5589e8f2d8b42ad6378b464a/html5/thumbnails/39.jpg)
Three file needed in same folder(suppose „Blink‟)
1. Configuration file nesC file (e.g. BlinkAppC.nc)
2. Component file nesC file (e.g. BlinkC.nc)
3. Make file Contains TinyOS commands (e.g. Makefile)
Programming in TinyOS
![Page 40: Wireless Sensor Network](https://reader036.vdocuments.site/reader036/viewer/2022081402/5589e8f2d8b42ad6378b464a/html5/thumbnails/40.jpg)
Example : Blink
BlinkAppC.nc (Configuration file)
configuration BlinkAppC {}implementation {
components MainC, BlinkC, LedsC;components new TimerMilliC() as Timer0;components new TimerMilliC() as Timer1;
BlinkC -> MainC.Boot;
BlinkC.Timer0 -> Timer0;
BlinkC.Timer1 -> Timer1;
BlinkC.Leds -> LedsC;
}
![Page 41: Wireless Sensor Network](https://reader036.vdocuments.site/reader036/viewer/2022081402/5589e8f2d8b42ad6378b464a/html5/thumbnails/41.jpg)
BlinkC.nc (Component file)
#include "Timer.h"
module BlinkC {
uses interface Timer<TMilli> as Timer0;
uses interface Timer<TMilli> as Timer1;
uses interface Leds;
uses interface Boot;
}
implementation {
// In next slide
Example : Blink (cont.)
![Page 42: Wireless Sensor Network](https://reader036.vdocuments.site/reader036/viewer/2022081402/5589e8f2d8b42ad6378b464a/html5/thumbnails/42.jpg)
BlinkC.nc (Component file)
implementation {event void Boot.booted(){
call Timer0.startPeriodic( 500 );call Timer1.startPeriodic( 1000 );
}event void Timer0.fired(){
call Leds.led0Toggle();}event void Timer1.fired(){
call Leds.led1Toggle();}
}
Example : Blink (cont.)
![Page 43: Wireless Sensor Network](https://reader036.vdocuments.site/reader036/viewer/2022081402/5589e8f2d8b42ad6378b464a/html5/thumbnails/43.jpg)
Makefile (Make file )
COMPONENT=BlinkAppC
include $ (MAKERULES)
Example : Blink (cont.)
![Page 44: Wireless Sensor Network](https://reader036.vdocuments.site/reader036/viewer/2022081402/5589e8f2d8b42ad6378b464a/html5/thumbnails/44.jpg)
Compile
make iris
Dumpmake iris install,<node id> mib520,<serial port>make iris install,4 mib520,com8 (In Windows)
make iris install,4 mib520,/dev/ttyUSB0 (In Linux)
Blink Video
Example : Blink (cont.)
![Page 45: Wireless Sensor Network](https://reader036.vdocuments.site/reader036/viewer/2022081402/5589e8f2d8b42ad6378b464a/html5/thumbnails/45.jpg)
• Dissemination is a service for establishing eventual consistency on a sharedvariable.
• It allows administrators to reconfigure, query, and reprogram a network.
Program:1. EasyDisseminationC.nc:-
Component (Module) file, contains implementation.
2. EasyDisseminationAppC.nc:- Configuration file, contains wiring.
3. Makefile: - For compilation.
Dissemination Video
Example : Dissemination
![Page 46: Wireless Sensor Network](https://reader036.vdocuments.site/reader036/viewer/2022081402/5589e8f2d8b42ad6378b464a/html5/thumbnails/46.jpg)
• “IRIS”:- Radio Module– IEEE 802.15.4 compliant RF transceiver
– 2.4 to 2.48 GHz, an ISM band
– 250 kbps data rate
• Sensorboards:-– MTS300
• Light
• Temperature
• Acoustic
• Sounder
– MDA100• Light
• Temperature
• General Prototyping area.
Hardware
![Page 47: Wireless Sensor Network](https://reader036.vdocuments.site/reader036/viewer/2022081402/5589e8f2d8b42ad6378b464a/html5/thumbnails/47.jpg)
• Exploration of the kit MSP430
• Basics of TinyOS
Conclusion (Review-I)
![Page 48: Wireless Sensor Network](https://reader036.vdocuments.site/reader036/viewer/2022081402/5589e8f2d8b42ad6378b464a/html5/thumbnails/48.jpg)
1. http://processors.wiki.ti.com/index.php/MSP-EXP430F5438_Experimenter_Board
2. http://www.ti.com/product/msp430f5438
3. www.jains.com
4. http://www.ti.com/tool/msp-exp430f5438
5. "A wireless application of drip irrigation automation supported by soil moisture sensors" by
Mahir Dursun and Semih Ozden in Scientific Research and Essays Vol. 6(7)
6. http://en.wikipedia.org/wiki/Wsn
7. http://en.wikipedia.org/wiki/TinyOS
8. http://docs.tinyos.net/index.php/Installing_TinyOS_2.1#Manual_installation_on_your_host_OS_
with_RPMs
9. http://docs.tinyos.net/index.php/TinyOS_Tutorials
10. http://www.tinyos.net/tinyos-2.x/doc/html/tep118.html
11. http://docs.tinyos.net/index.php/Network_Protocols
12. http://docs.tinyos.net/index.php/Mote-PC_serial_communication_and_SerialForwarder
References
![Page 49: Wireless Sensor Network](https://reader036.vdocuments.site/reader036/viewer/2022081402/5589e8f2d8b42ad6378b464a/html5/thumbnails/49.jpg)
1. MSP430
1. RF Intrerface with CC2500
2. TinyOS1. Multihop dissemination protocol
2. DYMO protocol
Outline for Review-II
![Page 50: Wireless Sensor Network](https://reader036.vdocuments.site/reader036/viewer/2022081402/5589e8f2d8b42ad6378b464a/html5/thumbnails/50.jpg)
![Page 51: Wireless Sensor Network](https://reader036.vdocuments.site/reader036/viewer/2022081402/5589e8f2d8b42ad6378b464a/html5/thumbnails/51.jpg)
CC2500 Kit Introduction
![Page 52: Wireless Sensor Network](https://reader036.vdocuments.site/reader036/viewer/2022081402/5589e8f2d8b42ad6378b464a/html5/thumbnails/52.jpg)
CC2500 Kit Introduction
![Page 53: Wireless Sensor Network](https://reader036.vdocuments.site/reader036/viewer/2022081402/5589e8f2d8b42ad6378b464a/html5/thumbnails/53.jpg)
CC2500 Kit Introduction
![Page 54: Wireless Sensor Network](https://reader036.vdocuments.site/reader036/viewer/2022081402/5589e8f2d8b42ad6378b464a/html5/thumbnails/54.jpg)
SENSORS
For the automated drip irrigation sensors are required
to sense necessary data and microcontroller is required
to controlled the whole system.
SensorsHumidity sensor
Temperature Sensor
Soil Moisture Sensor (Watermark)leaf wetness sensor
etc..
![Page 55: Wireless Sensor Network](https://reader036.vdocuments.site/reader036/viewer/2022081402/5589e8f2d8b42ad6378b464a/html5/thumbnails/55.jpg)
Humidity sensor
• Humidity sensors are used for determining the moisture content.
• Therefore, an accurate and precise means of testing moisture content in grain will help farmers monitor their crops.
• Moisture content measurements are important to sampling grain water content, field water content, and storage water content.
![Page 56: Wireless Sensor Network](https://reader036.vdocuments.site/reader036/viewer/2022081402/5589e8f2d8b42ad6378b464a/html5/thumbnails/56.jpg)
Humidity Sensor (808H5V5)
• Measurement range: 0 ~ 100%RH• Output signal: 0,8 ~ 3.9V (25ºC)• Accuracy: <±4%RH (a 25ºC, range
30 ~ 80%), <±6%RH (range 0 ~ 100)
• Typical consumption: 0.38mA• Maximum consumption: 0.5mA• Power supply: 5VDC ±5%• Operation temperature: -40 ~
+85ºC• Storage temperature: -55 ~
+125ºC• Response time: <15 seconds
![Page 57: Wireless Sensor Network](https://reader036.vdocuments.site/reader036/viewer/2022081402/5589e8f2d8b42ad6378b464a/html5/thumbnails/57.jpg)
Humidity Sensor (808H5V5)
![Page 58: Wireless Sensor Network](https://reader036.vdocuments.site/reader036/viewer/2022081402/5589e8f2d8b42ad6378b464a/html5/thumbnails/58.jpg)
Temperature Sensor• A thermocouple consists of two conductors of
different materials (usually metal alloys) thatproduce a voltage in the vicinity of the pointwhere the two conductors are in contact.
![Page 59: Wireless Sensor Network](https://reader036.vdocuments.site/reader036/viewer/2022081402/5589e8f2d8b42ad6378b464a/html5/thumbnails/59.jpg)
Temperature Sensor (MCP9700A)
• Measurement range: -40ºC ~ +125ºC
• Output voltage (0ºC): 500mV• Sensitivity: 10mV/ºC• Accuracy: ±2ºC (range 0ºC ~
+70ºC), ±4ºC (range -40 ~ +125ºC)• Typical consumption: 6μA• Maximum consumption: 12μA• Power supply: 2.3 ~ 5.5V• Operation temperature: -40 ~
+125ºC• Storage temperature: -65 ~ 150ºC• Response time: 1.65 seconds
(63% of the response for a range from +30 to +125ºC)
![Page 60: Wireless Sensor Network](https://reader036.vdocuments.site/reader036/viewer/2022081402/5589e8f2d8b42ad6378b464a/html5/thumbnails/60.jpg)
Temperature Sensor (MCP9700A)
![Page 61: Wireless Sensor Network](https://reader036.vdocuments.site/reader036/viewer/2022081402/5589e8f2d8b42ad6378b464a/html5/thumbnails/61.jpg)
Soil Moisture Sensor (Watermark)
• Measurement range: 0 ~ 200cb
• Frequency Range: 50 ~ 10000Hz approximately
• Diameter: 22mm
• Length: 76mm
• Terminals: AWG 20
![Page 62: Wireless Sensor Network](https://reader036.vdocuments.site/reader036/viewer/2022081402/5589e8f2d8b42ad6378b464a/html5/thumbnails/62.jpg)
leaf wetness sensor
• Leaf wetness is an meteorological parameter that describes the amount of dew and precipitation left on surfaces.
• It is used for monitoring leaf moisture for agricultural purposes, such as fungus and disease control, for control of irrigation systems, and for detection of fog and dew conditions, and early detection of rainfall.
![Page 63: Wireless Sensor Network](https://reader036.vdocuments.site/reader036/viewer/2022081402/5589e8f2d8b42ad6378b464a/html5/thumbnails/63.jpg)
leaf wetness sensor
• Resistance Range: 5kΩ ~ >2MΩ
• Output Voltage Range: 1V ~ 3.3V
• Length: 3.95cm
• Width: 1.95 cm