Video: How To Create an Internet-connected, AI-powered Candy Dispenser

In a slight trip off the beaten path, here's a bit of a lighthearted view of integrating AI and IoT with an OutSystems mobile application, by way of controlling a Candy Dispenser with a stepper motor and other hardware.

This demo leverages a stepper motor, NeoPixel RGB LED Ring, Particle Photon WiFi-enabled microcontroller, custom-designed 3D printed parts, NFC tags, and an OutSystems mobile application built on OutSystems 11, and using the Camera and NFC plugins, and the Azure Cognitive Services and Text Analysis connectors.

https://youtu.be/WHrobxA4xOM

You can skip straight to the demo, with this link: https://www.youtube.com/watch?v=WHrobxA4xOM&t=870s

Nicely done! Quite a bit of a delay between the dispensing and seeing feedback on the screen of the app. Is that something that can be improved as it seems sending commands don't have a delay?

Hanno wrote:

Nicely done! Quite a bit of a delay between the dispensing and seeing feedback on the screen of the app. Is that something that can be improved as it seems sending commands don't have a delay?

Appreciate the feedback. The delay is likely a matter of how I wired up my actions...I'm sure there's plenty of room for refinement and performance improvements. In all likelihood, I'd probably switch the order of the widgets around so that I pop the feedback message first, then call the API to dispense (or not) to tell the hardware to do its thing.