Building Industry 4.0 logistics applications with MicroPython and ESP32 MCUs

Hailing forklifts in production with MicroPython and ESP32-based M5Stack prototyping hardware

Florian Wahl

Cross-Platform-Development DIY Hardware/IoT Internet of Things (IoT) MicroPython

See in schedule

In this session, we will report about a forklift hailing application we built using MicroPython and the ESP32-based prototyping hardware M5Stack.
In a production facility, machine operators can hail a forklift using an ESP32 device running MicroPython. The device sends a request to a forklift dispatcher software, written in Python. The request is queued and subsequently, the next available forklift is notified and sent to the machine. Each forklift is also fitted with an ESP32 device. In this project, the prototyping hardware M5Stack was used. It features an ESP32 micro controller with Bluetooth, WIFI, GPIO, three buttons, and a display.

Attendees will learn how MicroPython and prototyping hardware can be used to scale from an idea on the developers desk to a working system in a rough Industry 4.0 production environment. The talk will recap our journey with MicroPython, the lessons learned, and the pitfalls to avoid. Furthermore, the tooling setup will be introduced, including our M5Stack GUI-simulator to mock the M5Stack display.

The central dispatch server is built using Python and deployed in a Docker container. Messages are exchanged using MQTT, a popular IoT message protocol. The talk will conclude with a live demonstration of the forklift hailing system. Attendees should be comfortable with the Python syntax but are not expected to have any MicroPython, MQTT, Docker or domain knowledge.

Materials can be found at https://gitlab.com/fwahl/europython2019.

Type: Talk (30 mins); Python level: Intermediate; Domain level: Beginner


Florian Wahl

Deggendorf Institute of Technology

Florian is a freelance Data Scientist and a researcher at the Deggendorf Institute of Technology. His doctoral thesis in computer science and electrical engineering with a focus on machine learning from wearable sensors is currently under review. He has a M.Sc. in Embedded Systems from TU Eindhoven and worked in a Mercedes Benz Research Center in Silicon Valley.
Florian started using Python during his doctoral thesis and has been in love ever since.