[#CODING4FUN] No more boring costumes, you only need an #Arduino, a motion sensor and a LED Strip!

Hello!

If your wife isn’t close to and you get to make the Space Cadet from your girl costume, likely that you leave a little bit of mold. In my case it was simple; Arduino, a motion sensor, led and Visual Studio 2013.

Note: I never tire of repeating how useful that is Visual Micro for creating projects.

Here’s a video of the final result, as the motion sensor “moves” being sent different values for the brightness of the led Strip. This with a 9V battery and then you have to put it in the guise of Space Cadet.

The source code is as follows:

Iimportant: only 32 lines of code!

image

References:

Saludos @ Home

El Bruno

image image image Google
Advertisements

One thought on “[#CODING4FUN] No more boring costumes, you only need an #Arduino, a motion sensor and a LED Strip!”

  1. I will right away snatch your rss feed as I can’t to
    find your email subscription hyperlink or newsletter service.
    Do you’ve any? Kindly allow me recognize so that I may subscribe.
    Thanks.

    Like

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.