2/15/18

This week's Wednesday Evening Training: Building distributed applications using a Raspberry Pi, Node-RED & MQTT

This week's Wednesday Evening Training: Building distributed applications using a Raspberry Pi, Node-RED & MQTT

In this session, we continued our exploration of the Raspberry Pi and node-RED, extended with MQTT and Mosquitto.

Node-RED is a flow-based development tool for wiring together hardware devices, APIs and online services as part of the Internet of Things. Node-RED provides a browser-based flow editor, which can be used to create JavaScript functions. MQTT (MQ Telemetry Transport or Message Queuing Telemetry Transport) is an ISO standard (ISO/IEC PRF 20922) publish-subscribe-based messaging protocol. It works on top of the TCP/IP protocol. It is designed for connections with remote locations where a "small code footprint" is required or the network bandwidth is limited. The publish-subscribe messaging pattern requires a message broker, like Mosquitto.

Using Node-RED, MQTT and Mosquitto, distributed applications can be built based on multiple machines (e.g. Raspberry Pi’s) that exchange messages. This offers great opportunities!

Marcel Molenaar has showed us demo's and explained us how the technology worked. We've had plenty of opportunity to experiment with the technology, sending eachother's Pi's messages and turning on and off LED's, beepers and other apparatus. Thanks Marcel!

Wanne see the video? https://www.facebook.com/HansRontheWeb/videos/1611952195508122/

To be continued!

#werkenbijcapgemini #lifeatcapgemini #capgemini #wednesdayeveningtraining #raspberrypi #mqtt #mosquitto #nodered









No comments:

Post a Comment