Presented by:

Nizar Ayed

from Upgrade-Code.org

I am Nizar AYED, Engineer from the Ecole Polytechnique de Tunisie, passionate by digital technology and its applications, and now, expert in the field.

Born April 16, 1975, I fell into the pot(*) at the age of 11 when a friend of my father offered me a "ZX Spectrum +". A mythological computer for reasons that only old “geeks” and “nerds” like me know.

When I was a teenager, I was very fortunate to join the "Young Sciences" club in Mahdia, one of the most beautiful beaches in Tunisia. And that's where I learned to master the computer and make it pretty much anything I want a computer to do.

Self-taught, of course, and with a solid scientific background, I organise science and computer camps for children and teens. (*): expression from "Asterix and Obelix"

Volunteer Hosts
Thanks for helping with Snap!Con 2020!

A SNAP! of MQTT

MQTT is a dedicated protocol for message queueing and is among the best to use with the IoT. Its light payload messaging makes an ideal feature to communicate with servers with less power and less bandwidth. It is also secure and error prone which make it enough robust for critical industrial applications and environments.

Why Snap!

So, bringing it to Snap! would help for many purposes. Professionally speaking, it helps develop new prototypes of connected objects, test and debug them. It can be used for simulations, allowing developers to focus on configuring, testing and debugging IoT clouds, hubs and servers. For hobbyists, it is a way to extending the existing facilities offered by DIY development boards. It can be used also for pedagogical purposes, even for technicians that are not acquainted with coding, since Snap! is a visual development environment that makes understanding very easy. Furthermore, this protocol can be used to manage interactive applications between different sessions of Snap! Users of Snap! will be able to develop games and quickly simulate remote activities related to their real life developments and coding.

How this can be achieved ?

Here is a presentation of an extension library that brings the power of MQTT to Snap!. This library was developed using the Object Oriented Programming possibilities of Snap!. The use case is a "Smart Garden Gnome" that takes care of the plants and supervise the ambient temperature, humidity and soil hygrometry. This project was sponsored by a company that asked us to develop a "SmartGnome" prototype. With the help of the MQTT extension and that of 10 kids, this was achieved in only 15 hours!


Discuss on the Snap! Forum

Duration:
1 h
Room:
Zoom 3
Conference:
Snap!Con 2020
Language:
English
Type:
Workshop
Track:
Workshop
Difficulty:
N/A