3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Flicker up to 6 LEDs with Arduino

Flicker up to 6 LEDs with Arduino
Hi there.
Christmas is coming closer, and I was wondering if I could put some candles in my room to get in the "christmas mood".
But after a friends house burned down of christmas tree candles, I don't want to burn real candles into my room.
So why don't let the Arduino light for you?!

This Instructable will show you, how to flicker up to 6 LEDs using an Arduino Microcontroller.
For more information about Arduino visit http://www.arduino.cc/


 
Remove these adsRemove these ads by Signing Up
 

Step 1What you need...

What you need...
Here are the things you will need:

-Arduino Microcontroller (or similar)
-USB cable
-LEDs (up to 6 LEDs are possible)
-Resistors (equal to the number of used LEDs)

LED resistor calculator

if you don't want to solder the circuit:
-Breadboad
-Jumper wires


Optional:
-DC power source

Downloads:
-Arduino IDE
Get it here!

-TrueRandom Library
Get it here! (Instructions included)
Unzip it to your "Libraries" folder.


« Previous StepDownload PDFView All StepsNext Step »
4 comments
Apr 12, 2012. 10:07 AMledfreak01 says:
this i awesome keep it up
Nov 11, 2011. 9:52 PMphatguppy says:
This was a great starter tutorial and introduction to Arduino. I'd like to slow down the randomness in the blinking, to make it look more like fire flies. Any suggestions on how to tweak the TrueRandom library to do this?
Dec 21, 2010. 6:55 AMCODIY says:
Hi Gotcha,

Great little script. I am planning to use it to drive lights on a wreath. I noticed that you left out the library name in your include statement.

For those looking to duplicate this code, note that you need to download and install the TrueRandom library into your Arduino folders, then complete the include statement in the script as follows:

#include

the library can be found here:
http://code.google.com/p/tinkerit/wiki/TrueRandom

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
1
Followers
1
Author:gotcha99