Wireless Sensor Networks
Author: Matthias Wagner / Albert Martinez
- M. Schubert, OTH Regensburg, Germany
Wireless Sensor Networks Author: Matthias Wagner / Albert Martinez - - PowerPoint PPT Presentation
Wireless Sensor Networks Author: Matthias Wagner / Albert Martinez M. Schubert, OTH Regensburg, Germany Course structure 1.#lecture# 2.#lecture# 3.#lecture# Clock,# SimpliciTI# RF#basics# GPIO,Timer# protocol# Data# storage,#
Author: Matthias Wagner / Albert Martinez
1.#lecture#
Clock,# GPIO,Timer# SPI,#UART#
2.#lecture#
RF#basics# MRFI#chat#
3.#lecture#
SimpliciTI# protocol#
Data# storage,#
Project#
WSN || Matthias Wagner 2
WSN || Matthias Wagner 3
WSN: Timetable 2015
Nr: 1 2 3 4 5 6 7 8 9 10 11 date: 18.03.15 26.03.15 01.04.15 08.04.15 15.04.15 22.04.15 29.04.15 06.05.15 13.05.15 20.05.15 27.05.15
Room: S159 S081 group
1: 2: 1: 2: 1: 2: 1: 2: 1: 2: 1: 2: 1: 2: 1: 2: 1: 2: 1: 2: 11:45 - 13:15 13:30 - 15:00
9 10 5 6 7 8 1 2 3 4
Exam
Q&A project Intro practical training 3 address transmiss ion Non volatile
peer to peer Non volatile
Range extender Intro WSN Intro practical Intro practical training 2 Intro practical
Exam
part 1 part 2 part 3 Intro WSN team up Intro practical training 1 Clocks GPIO Flash First steps / project setup ADC Timer UART SPI Intro practical training 2 MRFI LQI MRFI CRC RSSI Simple Chat
name poject
WSN || Matthias Wagner 4
A Wireless sensor network (WSN) can be defined as a network of devices, denoted as nodes, which can sense the environment and communicate the information gathered from the monitored field (e.g., an area or volume) through wireless links
Chiara Buratti, Andrea Conti, Davide Dardari and Roberto Verdone 2009 ISSN 1424-8220
http://www.libelium.com/wp-content/themes/libelium/images/content/applications/libelium_smart_world_infographic_big.png
! Environment#
! Air#and#water#quality# ! Sea#temperature# ! ErupLon#monitoring#
! Health#Care#
! Blood#glucose# ! Heart#rate#
! Commercial#use#
! Customer#tracking# ! AdverLsement#
! Home#Intelligence#
! Smart#Home# ! Light#sensor#/#switch#(WSAN)#
! Military#
WSN || Matthias Wagner 8
Battery Sensor ADC / Digital Bus Microcontroller Memory RAM / SD Radio Sensing Unit Processing Unit Communication Unit Power Unit
WSN || Matthias Wagner 9
WSN || Matthias Wagner 10
WSN || Matthias Wagner 11
WSN || Matthias Wagner 12
in RX mode)
WSN || Matthias Wagner 13
SMCLK and ACLK active. CPU and MCLK disabled
ACLK is active. CPU, MCLK are disabled. SMCLK depend
DC generator and ACLK active. CPU, MCLK, SMCLK, DCO are disabled
ACLK active. CPU, MCLK and SMCLK disabled
CPU and all clocks disabled
WSN || Matthias Wagner 14
WSN || Matthias Wagner 15
!
WSN || Matthias Wagner 16
WSN || Matthias Wagner 17
Data transmission via electromagnetic radioation
WSN || Matthias Wagner 18
WSN || Matthias Wagner 19
WSN || Matthias Wagner 20
1 10 100 1⋅10-8 1⋅10-7 1⋅10-6 1⋅10-5 1⋅10-4 0,001 0,01 0,1
433 MHz 915 MHz 2.4 GHz
WSN || Matthias Wagner 21
OOK : On Off keying AM: Amplitude modulation FM: Frequency modulation
WSN || Matthias Wagner 22
2-FSK: Frequency Shift keying
4-FSK, GFSK
MSK: Minimum Shift keying
QAM, FSK, ASK
WSN || Matthias Wagner 23
ISM SRD
Industrial, Scientific and Medical Band 433 MHz Region 1 (Europa, Africa) 902 MHz Region 2 (America) 2,4 GHz Short Range Devices 433 MHz 868 MHz some ranges at 2,45 GHz (typically limited to 25-100 mW ERP)
WSN || Matthias Wagner 24
RF protocol for MSP430 microcontrollers
WSN || Matthias Wagner 25
Topologies:
Types of devices:
WSN || Matthias Wagner 26
WSN || Matthias Wagner 27
!
http://www.inetdaemon.com/tutorials/basic_concepts/network_models/osi_model/osi_and_internet_protocols.shtml 28
support to a specific microcontroller
communication with the radio chip
WSN || Matthias Wagner 29
WSN || Matthias Wagner 30
821 819,9 820 820,1 820,2 820,3 820,4 820,5 820,6 820,7 820,8 820,9 MHz Power channel spacing 1 2 3 4 base freq. : 820MHzRF Transmission Frequencies
!
WSN || Matthias Wagner 31
division
WSN || Matthias Wagner 32
WSN || Matthias Wagner 33
Algorithm to minimize collisions between radios:
transmission
repeat the process
WSN || Matthias Wagner 34
mrfiPacket_t : is a structure which contains two type definitions a) a) Packet.frame Packet.frame: frame of data b) b) Packet.rxMetrics Packet.rxMetrics: statistics on the last received packet
WSN || Matthias Wagner 35
void MRFI_RxCompleteISR(): received packet interrupt
Length (1B) Source (4B) Destination (4B) Payload (Length-8 bytes long) RSSI (1B) CRC (1b) LQI (7b)
WSN || Matthias Wagner 36
WSN || Matthias Wagner 37
selecting the proper route
peer to peer object
WSN || Matthias Wagner 38
39
PREAMBLE Radio synchronization PORT Forwarded frame (7), Encryption context (6) Application port number (5-0 SYNC Radio synchronization DEVICE INFO Sender/receiver and platform capabilities LENGTH Length of remaining packet in bytes TRACTID Transaction id MISC Miscellaneous frame fields APP PAYLOAD Application data DST ADDR Destination address FCS Frame Check Sequence SRCADDR Source address
WSN || Matthias Wagner
WSN || Matthias Wagner 40
WSN || Matthias Wagner 41
SMPL_Ioctl: change configuration parameters while run time
WSN || Matthias Wagner 42