Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Arduino Random Color Generator with 256 Color LED Part 1 of 2

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
294 views
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Nov 21, 2010

Arduino Random Color Generator with 256 Color LED. - This example uses the Duemilanove to PWM (Pulse Width Modulate) the base drive for a three color LED (Red, Green, and Blue). Based on the and the relative ntensity of each output, 256 colors can be produced. This example uses an analog input to change the cycle time, or the time between color changes. A random number is generated to control the output intensity of each LED. It is a good example of an analog input, and analog outputs, as the LEDs are being modulated in an analog format with PWM. The circuit is more dynamic with an analog input controlling the rate of change. The PWM output could also be used to control motors or larger loads with the use if a relay or larger power transistors.

  • likes, 0 dislikes

Link to this comment:

Share to:
see all

All Comments (0)

Sign In or Sign Up now to post a comment!
Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more