Back to Parent

Outcome


INTRODUCTION

Things can get noisy in my bedroom - there’s music, clanking radiators, you name it. So I originally wanted to build a white noise machine to help my roommate Stephanie ignore those sounds. Unfortunately, the necessary parts didn’t arrive in time, so instead I built the Cinco Dream Machine - an animatronic nightmare fuel IoT device. Basically, it plays the theme from Mario Kart, while a Mario character (powered off a servo) diabolically waves. The effect is so disturbing that Stephanie is sure to forget about whatever’s happening in my room whenever the din rises above 50 decibels.

Inspired by the bestselling Cinco B'ougar (www.youtube.com/watch?v=dYbiwFpqA4s_)

GOAL

I wished to create a fully integrated IoT device with outputs along as many modalities as possible. The piezo makes music. The servo drives the animatronic Mario. IFTTT serves up the Justin Bieber song “Sorry” (though only once per disturbance).

PROCESS

I began the project by thinking of a simple MVP: make the piezo emit sound once the audio sensor is triggered, then send a text. Seeing as this was solved (using provided code and peripherals - thank you Joseph) more quickly than expected, I started to add functionality. First, I tracked down longer tunes. One source on Instructables included the notes to the Mario Kart video game, so I integrated this code and library into my sketch.

Next, I added in the servo motor using our DIoT tutorial as a reference. Taking the obvious next step, I used the servo arm’s motion to drive a small figure. As I’ve never done anything mechanical before, I had to wrack my brain for a long time before I could figure out a gear arrangement that would translate 180’ circular oscillations into human-like motion. Once this architecture made sense in my head, I mocked it up in Rhino, then 3D-printed the resulting parts.

I tried but failed to make all these functions run at the same time.

OUTCOME

The Cinco Dream Machine works exactly as intended. Stephanie finds it horrific and will certainly be distracted by this device as soon as it’s triggered. Between the Mario melody, the figure, and the texted Bieber video, her attention will inevitably be drawn away from the din in my room.

BOM

-Photon

-Audio sensor

-Breadboard, wires

-Servo

-Piezo

-3D-printed gears and housing

REFLECTION

Everything I encountered in this project was entirely new to me (apart from the 3D-printing). The DIoT labs were quite helpful, as was the Arduino forum. Joseph’s initial advice over the weekend jumpstarted everything, so I owe him a big debt of gratitude. I’m still disappointed that my alarm clock peripherals didn’t arrive in time to add to the mayhem. 

Show Advanced Options
Front view
Show Advanced Options
Rear view
Show Advanced Options
Full setup
Show Advanced Options
Show Advanced Options
Incomplete breadboard %283 prong audio sensor not present%29
Show Advanced Options
Drop files here or click to select

You can upload files of up to 20MB using this form.