diff --git a/content/english/speaking/red-hat-open-demo-from-the-esp8266-to-the-openshift-cluster-discover-what-red-hat-can-offer-for-the-edge-computing/architecture.svg b/content/english/speaking/red-hat-open-demo-from-the-esp8266-to-the-openshift-cluster-discover-what-red-hat-can-offer-for-the-edge-computing/architecture.svg new file mode 100644 index 0000000..461e298 --- /dev/null +++ b/content/english/speaking/red-hat-open-demo-from-the-esp8266-to-the-openshift-cluster-discover-what-red-hat-can-offer-for-the-edge-computing/architecture.svg @@ -0,0 +1,16 @@ + + + + + + + HeadquarterWarehouse (x10)Mqtt BrokerKafka Brokerrkjc7-12VARDUINOUSB-BMEGA2560rkjcIOREFRESETA0A1A2A3A4A5ANALOG INPOWERA6A7A8A9A10A11A12A13A14A15~2~3~4~5~6~7~8~9~10~11~12~13AREF10GNDDIGITAL (PWM~)1415161718192021TX3RX3TX2RX2TX1RX1SDASCLTX0RX0COMMUNICATION->->->-><-<-<-<-SDASCLDIGITAL2224262830323436384042~44~46485052GND5V53514947~454341393735333129272523VinGNDGND3.3V5VICSPRESETRFID id RFID id + timestanpKafka BrokerMirror MakerESP8266-inrkjc7-12VARDUINOUSB-BMEGA2560rkjcIOREFRESETA0A1A2A3A4A5ANALOG INPOWERA6A7A8A9A10A11A12A13A14A15~2~3~4~5~6~7~8~9~10~11~12~13AREF10GNDDIGITAL (PWM~)1415161718192021TX3RX3TX2RX2TX1RX1SDASCLTX0RX0COMMUNICATION->->->-><-<-<-<-SDASCLDIGITAL2224262830323436384042~44~46485052GND5V53514947~454341393735333129272523VinGNDGND3.3V5VICSPRESETESP8266-outOCP WarehouseOCP Headquarter1 topic mqtt in1 topic mqtt outmessagea5:66:33:441 topic kafka in1 topic kafka outmessage{ "parcelNumber": "a5:66:33:44", "timestamp": "112344555" }Camel Ktransformation1122345710 topic kafka in10 topic kafka out1 topic kafka aggregationCamel Quarkuspattern enricherKafkaStream1 topic kafka shipment6Web frontworld mapmessage{ "parcelNumber": "a5:66:33:44", "location": "PAR","direction": ""in", "timestamp": "112344555" }message{ "parcelNumber": "a5:66:33:44","from": "BRN", to": "PAR","timestamp": "112344555" } \ No newline at end of file diff --git a/content/english/speaking/red-hat-open-demo-from-the-esp8266-to-the-openshift-cluster-discover-what-red-hat-can-offer-for-the-edge-computing/cover.png b/content/english/speaking/red-hat-open-demo-from-the-esp8266-to-the-openshift-cluster-discover-what-red-hat-can-offer-for-the-edge-computing/cover.png new file mode 100644 index 0000000..7f5394c --- /dev/null +++ b/content/english/speaking/red-hat-open-demo-from-the-esp8266-to-the-openshift-cluster-discover-what-red-hat-can-offer-for-the-edge-computing/cover.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:895d185889ec33d11e5b7d33170334819e060ade492878e06b3042f82cc9b3a1 +size 235689 diff --git a/content/english/speaking/red-hat-open-demo-from-the-esp8266-to-the-openshift-cluster-discover-what-red-hat-can-offer-for-the-edge-computing/demo.mp4 b/content/english/speaking/red-hat-open-demo-from-the-esp8266-to-the-openshift-cluster-discover-what-red-hat-can-offer-for-the-edge-computing/demo.mp4 new file mode 100644 index 0000000..0696bef --- /dev/null +++ b/content/english/speaking/red-hat-open-demo-from-the-esp8266-to-the-openshift-cluster-discover-what-red-hat-can-offer-for-the-edge-computing/demo.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7517a9fcc22e53996f13d8daebf38a8ea906d5b96c19138306885d8296ab8179 +size 1734787 diff --git a/content/english/speaking/red-hat-open-demo-from-the-esp8266-to-the-openshift-cluster-discover-what-red-hat-can-offer-for-the-edge-computing/esp8266-rc522.jpeg b/content/english/speaking/red-hat-open-demo-from-the-esp8266-to-the-openshift-cluster-discover-what-red-hat-can-offer-for-the-edge-computing/esp8266-rc522.jpeg new file mode 100644 index 0000000..af6147c --- /dev/null +++ b/content/english/speaking/red-hat-open-demo-from-the-esp8266-to-the-openshift-cluster-discover-what-red-hat-can-offer-for-the-edge-computing/esp8266-rc522.jpeg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:77cbc10ccdd5423fdc886c120f99809b9d9efa3fdaa61733f9551e23128f339b +size 454840 diff --git a/content/english/speaking/red-hat-open-demo-from-the-esp8266-to-the-openshift-cluster-discover-what-red-hat-can-offer-for-the-edge-computing/index.md b/content/english/speaking/red-hat-open-demo-from-the-esp8266-to-the-openshift-cluster-discover-what-red-hat-can-offer-for-the-edge-computing/index.md new file mode 100644 index 0000000..8e21d6d --- /dev/null +++ b/content/english/speaking/red-hat-open-demo-from-the-esp8266-to-the-openshift-cluster-discover-what-red-hat-can-offer-for-the-edge-computing/index.md @@ -0,0 +1,74 @@ +--- +title: "Red Hat Open Demo: From the ESP8266 to the OpenShift cluster: discover what Red Hat can offer for the Edge computing!" +date: 2023-04-04T00:00:00+02:00 +draft: false +resources: +- '*.svg' +- '*.png' +- '*.jpeg' +- '*.mp4' +# Featured images for Social Media promotion (sorted from by priority) +images: +- cover.png +topics: +- 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!](https://events.redhat.com/profile/form/index.cfm?PKformID=0x1270056abcd&extIdCarryOver=true&sc_cid=701f2000000txokAAA) with three colleagues: [Adrien](https://www.linkedin.com/in/adrien-legros-78674a133/), [Florian](https://www.linkedin.com/in/florian-even/) and [Sébastien](https://www.linkedin.com/in/sebastien-lallemand/). +This webinar showcases a lab that we built and delivered for the {{< internalLink path="/speaking/red-hat-tech-exchange-2023/index.md" >}}. + + + +## 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 **F**edora **S**hipping **C**ompany), set up its Edge computing infrastructure to support 10 warehouses and a central headquarter across EMEA. + +{{< attachedFigure src="slide-context.png" >}} + +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](https://en.wikipedia.org/wiki/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. + +{{< attachedFigure src="architecture.svg" >}} + +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. + +{{< embeddedVideo src="demo.mp4" autoplay="true" loop="true" muted="true" width="1152" height="720" >}} + +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. + +{{< attachedFigure src="slide-principle.png" >}} + +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! + +{{< attachedFigure src="esp8266-rc522.jpeg" >}} + +## Replay + +If you have not been able to attend the live session, I invite you to watch the replay! + +{{< youtube _m4JRHeX4LI >}} diff --git a/content/english/speaking/red-hat-open-demo-from-the-esp8266-to-the-openshift-cluster-discover-what-red-hat-can-offer-for-the-edge-computing/slide-architecture.png b/content/english/speaking/red-hat-open-demo-from-the-esp8266-to-the-openshift-cluster-discover-what-red-hat-can-offer-for-the-edge-computing/slide-architecture.png new file mode 100644 index 0000000..6558f64 --- /dev/null +++ b/content/english/speaking/red-hat-open-demo-from-the-esp8266-to-the-openshift-cluster-discover-what-red-hat-can-offer-for-the-edge-computing/slide-architecture.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a88c12a1bb1af62f7290d6a366198265bc75dbb56695be31b9256f813e3bba95 +size 175458 diff --git a/content/english/speaking/red-hat-open-demo-from-the-esp8266-to-the-openshift-cluster-discover-what-red-hat-can-offer-for-the-edge-computing/slide-context.png b/content/english/speaking/red-hat-open-demo-from-the-esp8266-to-the-openshift-cluster-discover-what-red-hat-can-offer-for-the-edge-computing/slide-context.png new file mode 100644 index 0000000..6d9a488 --- /dev/null +++ b/content/english/speaking/red-hat-open-demo-from-the-esp8266-to-the-openshift-cluster-discover-what-red-hat-can-offer-for-the-edge-computing/slide-context.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c8a48b80397202a33df36e20803ebb1ea7d36bae0d747f852894b2f316b42f3f +size 401628 diff --git a/content/english/speaking/red-hat-open-demo-from-the-esp8266-to-the-openshift-cluster-discover-what-red-hat-can-offer-for-the-edge-computing/slide-principle.png b/content/english/speaking/red-hat-open-demo-from-the-esp8266-to-the-openshift-cluster-discover-what-red-hat-can-offer-for-the-edge-computing/slide-principle.png new file mode 100644 index 0000000..d0e6bd9 --- /dev/null +++ b/content/english/speaking/red-hat-open-demo-from-the-esp8266-to-the-openshift-cluster-discover-what-red-hat-can-offer-for-the-edge-computing/slide-principle.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:06be434f239059fd041bad58f698cabd15e6a540dee6561f739db6128eb1810a +size 340836