Running five Eclipse IoT projects on a single MCU with MicroEJ.

Developing for the embedded world is a really interesting challenge, as any object may become part of the Internet of Things (IoT). Even though you have “only” few dollars to put in your “Thing” to make it smart, you can still manage to run multiple IoT libraries on it. Using processors like the Arm Cortex-M also enables you to reduce your device’s power consumption and extend your device’s precious battery lifetime.

For my latest demo, I worked on a connected washing machine for both Arm Cortex-M and Arm Cortex-A boards. It could communicate using Bluetooth, MQTT, Z-Wave and LWM2M.

I managed to get many protocols running on the same Arm processor (Arm Cortex-M and Cortex-A), connecting the main board to two servers on a PC, two other Arm microcontroller boards (Arm Cortex-M0+, Arm Cortex-M4) and a couple of hardware elements (Z-Wave lights and the actual washing machine toy).

Thanks to MicroEJ, my main washing machine application is small, efficient and maintainable with elegant architecture choices, appealing with different GUI skins, internationalized with multiple languages, and portable so it can be reused on a wide range of hardware platforms.

A full description about this demo was featured in Eclipse Edje + Eclipse IoT: Towards a full IoT Stack for Microcontrollers.