My IoT book
This booklet is a quick but thoughtful guide to jump into the Internet of Things, covering important subjects as IPv6 networking, sensors, wireless protocols and technologies, as well as IoT cloud platforms and its most commonly used protocols, featuring lots of hands-on examples to start working from day one.
The lessons and examples are heavily focused on Contiki OS, a well known IoT operating system well suited for low power embedded devices, and the Zolertia Z1 mote, a widely used hardware platform to develop a wide range of IoT applications. The Raspberry Pi is used as well.
The history
This project started out of necessity as everything: I was invited by the ICTP (concretely Marco Zennaro and Ermanno Pietrosemoli) to give a workshop on IoT
, more specifically a hands-on 4-day marathon on sensors, wireless networking (6LoWPAN and IEEE 802.15.4), and Contiki OS.
At first, slides were OK, but the aim was to have something easier to replicate and maintain. The idea evolve to a workbook for my IoT working sessions. Later on, I was invited to spend two weeks in Trieste, Italy, at the ICTP guest house, to just work on the content of the workbook. I spent remarkable hours side by side with Marco, figuring out which would be the best angle to take, what examples to include, and how to set up an IPV6 network in the laboratory.
Alvaro Vives (a regular at the ICTP workshops) got involved as IPV6 expert, we began to troubleshoot our deployment on Mikrotik gateways, and try to have a full end-to-end ping going from my Zolertia Z1 motes to Internet over IPv6. Later on, Alvaro became a contributor of the workbook, and finally we began to shape the chapters and a full book structure. Marco and Ermanno contributed to the rest.
The result
I’m proud to say I enjoyed every iteration of the book, alas now it is perhaps outdated as stacks and implementations have evolved, it remains one of the most browsed sources for MQTT and CoAP on 6LoWPAN, Contiki, and some of the basic principles of IoT (the one with the actual power and resource constrains).
I’m not planing to keep updating the book, but it has been a good run:
- It remained relevant for more than three years,
- It was translated from English to Spanish and French,
- It was used for six international workshops in Italy, Colombia, Argentina and Costa Rica,
- It was printed three times: two English releases and one in Spanish,
- It was used by more than 150 person (workshop attendees) from four continents (Africa, Asia, America and Europe),
- And the sources has been starred 73 times and forked 43 times.
I would gladly do this again: the people I met over the three years are all incredible talented, and were eager to learn - to be honest, likely I learned more from them. I got to visit Costa Rica and Argentina, took the opportunity to return to Colombia, and return a bit of knowledge to unlock innovation in my home country (and visit my family twice). I became a regular visitor at the Marconi Lab (at the ICTP), and enjoyed many hours chatting with Marco and Ermanno, proud owner of the Guiness record for the longest Broadband Wireless Connection.
I even got to receive a Video welcome message from Vint Cerf, for our ICTP Workshop about IoT for scientific applications. Yes, I was a lecturer in this event too.
Marco, Ermanno - Thanks for the fantastic ride.