IoT in 5 days

The Internet of Things (IoT) has been considered as an emerging research area where the 6LoWPAN (IPv6 over Low-Power Wireless Personal Area Network) protocol stack is considered as one of the most important protocol suite for the IoT.
User avatar
iotmania
Junior Member
Junior Member
Posts: 7
Joined: 22 Aug 2017, 21:00

IoT in 5 days

Postby iotmania » 22 Aug 2017, 21:12

Table of Contents
1. Introduction to IoT .................................................................................................... 1
1.1. Introduction ................................................................................................... 1
1.2. Wireless Sensor Networks ............................................................................. 3
1.3. Applications .................................................................................................. 6
1.4. Roles in a WSN ............................................................................................ 7
1.5. References. .................................................................................................. 8
2. Introduction to IPv6 .................................................................................................. 9
2.1. A little bit of History ....................................................................................... 9
2.2. IPv6 Concepts ............................................................................................. 10
2.3. What is IPv6 used for .................................................................................. 15
2.4. Network Example ........................................................................................ 17
2.5. IPv6 Excercises ........................................................................................... 18
2.6. Addressing Exercises .................................................................................. 20
3. Short introduction to Contiki .................................................................................... 23
3.1. What is Contiki OS? .................................................................................... 23
3.2. Install VMWare for your platform .................................................................. 24
3.3. Download Instant Contiki: ............................................................................ 24
3.4. Start Instant Contiki ..................................................................................... 24
3.5. Updating to the latest Contiki release ........................................................... 24
3.6. Zolertia Z1 platform ..................................................................................... 26
3.7. Check the toolchain version and installation .................................................. 27
3.8. Contiki structure .......................................................................................... 27
3.9. Check installation: examples ........................................................................ 28
3.10. Check z1 connection to the virtual machine ................................................. 29
4. My first applications ............................................................................................... 33
4.1. Hello world with LEDs ................................................................................. 33
4.2. Printf ........................................................................................................... 35
4.3. Button ......................................................................................................... 36
4.4. Timers ........................................................................................................ 37
5. Sensors ................................................................................................................. 39
5.1. Analog Sensors ........................................................................................... 39
5.2. External analog sensor: ............................................................................... 40
5.3. Internal digital sensor .................................................................................. 42
5.4. External digital sensor ................................................................................. 44
6. Sending Data to Ubidots: ........................................................................................ 47
6.1. What is Ubidots ........................................................................................... 47
6.2. Get the API key and create your variables .................................................... 48
6.3. Send data to Ubidots over the serial port ...................................................... 48
6.4. Ubidots Python API Client ............................................................................ 51
7. Wireless with Contiki: ............................................................................................. 55
7.1. Set up the Node ID and MAC address of the Z1 mote. ................................... 55
7.2. UDP Broadcast ........................................................................................... 57
7.3. Setting up a sniffer ...................................................................................... 61
7.3.1. Short intro to Wireshark .................................................................... 62
7.3.2. SenSniff IEEE 802.15.4 wireless sniffer .............................................. 63
7.3.3. Foren6 ............................................................................................. 67
7.4. Simple application: UDP Server and client .................................................... 69
7.4.1. IEEE 802.15.4 channels and PAN ID ................................................. 75
7.4.2. ETX, LQI, RSSI. ............................................................................... 77
8. Intro to 6LoWPAN .................................................................................................. 81
8.1. Overview of LoWPANs ................................................................................ 82
8.2. About the use of IP on LoWPANs ................................................................ 83
8.3. 6LoWPAN ................................................................................................... 85
8.4. IPv6 Interface Identifier (IID) ........................................................................ 87
8.5. Header Compression ................................................................................... 88
8.6. NDP optimization ......................................................................................... 92
8.7. References ................................................................................................. 93
9. IoT Simulation (Cooja) ............................................................................................ 95
9.1. Create a new simulation .............................................................................. 95
9.2. Add motes .................................................................................................. 96
9.3. Revisiting broadcast-example in Cooja ......................................................... 96
9.4. Routing Protocol for Low Power Networks (RPL) ........................................... 97
10. Connecting our network to the world ..................................................................... 99
10.1. The border router ...................................................................................... 99
10.2. Setting up IPv6 using gogo6. .................................................................... 105
10.3. Setting up IPv6 using Hurricane Electric .................................................... 106
11. IPv6 communication in Contiki and IoT/M2M protocols .......................................... 109
11.1. Revisiting the Z1 Websense application on Z1 Motes. ................................ 109
11.2. UDP communication between network and host. ........................................ 111
11.3. CoAP example and Firefox Copper plug-in. ............................................... 115
11.3.1. Preparing the setup ....................................................................... 117
11.4. RESTfull HTTP example with curl. ............................................................ 121
12. End-to-end IPv6 communication with an IoT platform ............................................ 125
12.1. Installing 6lbr on a Raspberri Pi ................................................................ 125
12.2. Programing the slip-radio to the Z1 mote ................................................... 128
12.3. Using NAT64 with wrapsix. ....................................................................... 129
12.4. Launching 6lbr as Border Router with NAT64 ............................................ 130
12.5. Ubidots IPv6 example in native Contiki ..................................................... 132
You do not have the required permissions to view the files attached to this post.



Return to “Internet of Things (IoT)”

Who is online

Users browsing this forum: No registered users and 1 guest

 

 

cron