Candy Dispenser Riddles You This

A while ago, someone brought in a candy machine to AdaCore. Sometime after, [Fabien-Chouteau] was challenged to make it more… fun. So he decided to make it harder to receive candy — you know, to encourage knowledge growth — and discourage overeating of tasty treats.

The dispenser itself is pretty simple. It consists of a hopper containing the candies, a motor with a worm-gear for delivering said candies, and a small IR sensor that detects when you wave your hand underneath (in order to receive those sweet sweet candies).

He decided to leave the system operating as is, and only interrupt the connection to the motor feed. That way when you wave your hand underneath, you have to answer a skill testing question before you proceed…

[Fabien] added a touch screen using a STM32F469 discovery board to create a random question generator about either AdaCore or LadyAda — to make sure their candy-hungry-employees have been listening. If you get the question wrong — no candy for you! But nothing is stopping you from trying again…

If he wants to step it up a notch there’s always the Candy or Death machine we featured last Halloween…

14 thoughts on “Candy Dispenser Riddles You This

  1. Hmmm, maybe it’s time to upvert my Dilbert M&M dispenser.
    (P.S. the music in the video was a bit annoying (I should know, as I’m a bit annoying!)
    I wish the video would have shown a bit of the “build”.

  2. The real question is: Does LadyAda’s ego know no bounds? The first co-opting her handle from someone way more important to history than herself. You didn’t see Steve Jobs running around calling himself “Mr.Newton” or “GuyTuring”

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.