Red Hat Open Demo: From the ESP8266 to the OpenShift cluster: discover what Red Hat can offer for the Edge computing!
On April 4, 2023, I presented a webinar named From the ESP8266 to the OpenShift cluster: discover what Red Hat can offer for the Edge computing! with three colleagues: Adrien, Florian and Sébastien. This webinar showcases a lab that we built and delivered for the Red Hat Tech Exchange 2023 .
Lab description
In this lab about Edge computing, participants stepped into the role of managing a parcel shipment hub using Red Hat products. The exercises revolved around the common and relatable theme of “shipment tracking”.
Participants helped a fictious company, FSC (the Fedora Shipping Company), set up its Edge computing infrastructure to support 10 warehouses and a central headquarter across EMEA.
During the lab, attendees set up and deployed all essential components to create a connected parcel tracking system. They began by configuring devices, using the Arduino IDE and an ESP8266, to read the parcel tracking number using RFIDs, which is then transmitted over Wi-Fi to an MQTT broker. Using Camel-K, the data was transformed into actionable events and sent to a central headquarter system for real-time reporting.
Meanwhile, at the headquarter level, a dedicated application visually mapped the movement of parcels as they traveled between hubs, creating an interactive, dynamic view of the entire shipment process.
To make the lab as much fun and interactive as possible, the participants had to work in teams of six people:
- Two people working in pair programming were setting up the firmware of the ESP8266 microcontrollers to scan incoming parcels, along with the MQTT broker and the incoming topic.
- Two people, ditto, were setting up the firmware of the ESP8266 microcontrollers to scan outgoing parcels, along with the MQTT broker and the outgoing topic.
- Two people, ditto, were setting up the Camel-K routes and the Kafka broker.
Then, once everything properly setup, a participant scan a parcel in the Athens warehouse and then in the Paris warehouse and in realtime a parcel would move from Athens to Paris on the map displayed on the screen.
Bill of materials
This lab makes use of physical devices to scan the RFID tags of parcels, so if you plan to replicate this setup, you might need the following Bill of Materials.
# of items | Description | Unit price |
---|---|---|
1 | 2.4 GHz Access Point, compatible with OpenWRT (TL-WR802N V4) | 27 € |
25 | Wemos D1 mini ESP8266 development kit | 6,99 € |
25 | RC522 RFID reader kit (each kit has 2 RFID tags included) | 3,40 € |
25 | USB A - Micro USB cable | 0,99 € |
Total | ~ 310 € |
The ESP8266 and RC522 RFID reader have to be soldered on together. Rince and repeat for the 25 units! For each unit, it took me from one hour down to 20 minutes once properly trained. Quite a time consuming task!
Replay
If you have not been able to attend the live session, I invite you to watch the replay!