Presented by:

Xavier Pi

from Industry 4.0 Commission, Engineering Associations of Catalonia

Knowmad, passionate about Simulation, Digital Twins, and Embedded Systems as central factors for the 4th Industrial Revolution.

Bernat Romagosa

from SAP, Snap!, MicroBlocks

Bernat is a software developer from Barcelona. He develops for Snap! and MicroBlocks, and is the author of Snap4Arduino and a bunch of other Snap! modifications.

Volunteer Hosts
Thanks for helping with Snap!Con 2020!

Bryant Bettencourt

from UC Berkeley

We present an MQTT library for Snap ! (https://github.com/pixavier/mqtt4snap) along with an example of two Snap ! instances communicating with each other.

MQTT (Message Queuing Telemetry Transport) is a standard and widely used publish/subscribe protocol for the Internet of Things that allows you to read data from sensors or control actuators that support the MQTT protocol.

The MQTT4Snap ! included blocks are depicted as follows:

MQTT4Snap *!*

Popular microcontroller based boards such as Arduino or NodeMCU, with an Internet connection, and with the corresponding MQTT library, can be controlled directly.

MQTT can also be used to make several Snap ! programs cooperate in real-time, for instance for multiplayer gaming.


Discuss on the Snap! Forum

Duration:
30 min
Room:
Zoom 3
Conference:
Snap!Con 2020
Language:
English
Type:
Short Talk
Track:
Short Talk
Difficulty:
N/A