Skip to content
@Demo-AI-Edge-Crazy-Train

Demo "Mission AIpossible"

The Mission AIpossible demo (with Artifical Intelligence and Edge Computing)

Abstract

Message to Agent Red Hat:

The LEGO train is running without a driver! Your mission: develop and deploy an AI on board the train to stop it before it derails. This message will self-destruct in five seconds. Four… Three… Two… One…

🎵 tum tum tada tum tum tada tum tum tada tum tum tada tiduduuummm tiduduuummm 🎵

Full abstract here.

Demo

Watch the video

Software components

Component Description Git Repository Container Image
train-controller Receives commands through MQTT and acts on the Lego Hub accordingly. Demo-AI-Edge-Crazy-Train/train-controller quay.io/demo-ai-edge-crazy-train/train-controller
intelligent-train Receives images through MQTT, process them with an AI model and sends the results back to MQTT Demo-AI-Edge-Crazy-Train/intelligent-train quay.io/demo-ai-edge-crazy-train/intelligent-train
train-ceq-app Manages messages between the train-controller, intelligent-train, capture-app, MQTT and Kafka. Demo-AI-Edge-Crazy-Train/train-ceq-app quay.io/demo-ai-edge-crazy-train/train-ceq-app
train-monitoring-app Displays images streamed through Kafka. Demo-AI-Edge-Crazy-Train/train-monitoring-app quay.io/demo-ai-edge-crazy-train/train-monitoring-app
train-capture-image-app Captures and compresses images from the webcam. Sends them over MQTT. Demo-AI-Edge-Crazy-Train/train-capture-image-app quay.io/demo-ai-edge-crazy-train/train-capture-image-app

Bill of Materials

Component Reference Price
Lego Express Passenger Train #60337 159,99 €
NVIDIA JETSON ORIN NANO 8GB DEVELOPMENT KIT 945-13766-0005-000 469,06 €
USB Webcam with UVC support and fixed focus Logitech C505 HD 20,00 €
Traffic signs Siku 5597 11,04 €
LR03 / AAA battery pack Varta Long Life Power 8,66 €
USB-C Power Bank with PD support Shargeek 130 185,35 €
USB-C Portable Display Lenovo ThinkVision M14 229,01 €
USB-C to DisplayPort adapter Amazon Basics Bi-Directional USB-C to DisplayPort Cable 11,63 €
USB-C PD Trigger, 9-19V, 5.5/2.5 barrel jack DSD TECH MagicConn SH-CP15A USB Type C PD to DC Power Cable-15V 12,99 €
USB Keyboard Rii Mini Keyboard K01X1 19,99 €
NVMe M.2 2280 SSD Crucial P3 1To M.2 PCIe Gen3 65,99 €

Total budget to forecast: 1 193,71 €.

If you want to replace the green bricks by red ones and make the train a bit more professional, you can spend another 25,99 € on LEGO Pick a Brick. See the additional Bill of Materials.

Administration

Base container images

Dependencies

Bluetooth

  • node-ble: NodeJS library to use the BlueZ DBUS API under Linux
  • noble: NodeJS library that provides a cross-platform abstraction to communicate over Bluetooth Low Energy (BLE)
  • node-poweredup: NodeJS library that communicates with Lego hubs over Bluetooth Low Energy (BLE)

OpenCV

Live Events

This demo has been showcased at the following events:

Watch the demo!

Red Hat Open Demo - Mission impossible #1 - Stop the crazy Train with AI and Edge before it is too late!

Popular repositories Loading

  1. rhde-nvidia-jetson-orin rhde-nvidia-jetson-orin Public

    Red Hat Device Edge image construction

    Shell 2 2

  2. node-ble node-ble Public

    Forked from chrvadala/node-ble

    Bluetooth Low Energy (BLE) library written with pure Node.js (no bindings) - baked by Bluez via DBus

    JavaScript 1

  3. lego-summit-connect-2025-lab-statement lego-summit-connect-2025-lab-statement Public

    Forked from Demo-AI-Edge-Crazy-Train/open-tour-2025-lab-statement

    Lab statement for the Red Hat Summit Connect 2025

    HTML 1

  4. summit-connect-2025-gitops summit-connect-2025-gitops Public

    Forked from Demo-AI-Edge-Crazy-Train/volcamp2025-gitops

    Gitops Manifests for the Red Hat Summit Connect 2025

    HCL 1

  5. train-controller train-controller Public

    JavaScript 2

  6. intelligent-train intelligent-train Public

    Python 1

Repositories

Showing 10 of 40 repositories

Top languages

Loading…

Most used topics

Loading…