Tag Archives: led

Multi-mode pen light: ATTiny85 with RGB LED

This is a bread board prototype of a multi-mode pen light. It shines white, red, green, and blue light. Intensity is adjustable. Strobe, emergency flasher, ‘psychedelic,’ and candle simulation functions. It’s powered by a USB phone battery charger pack and … Continue reading

Posted in Uncategorized | Tagged , , , , | 1 Comment

Beyond the Blink: RGB LED multiple lighting effects with arduino, push button, and potentiometer

Ever want to do more with an LED than just blink? This circuit and source code demonstrates some creative possibilities for lighting effects with an RGB LED. CC has descriptive subtitles. Sorry for the poor phone video quality. Here’s a … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , | 1 Comment

How not to blow up your LEDs

The above is what happened to an LED that was connected to a 9 volt battery without a current-limiting resistor in series. It exploded like a firecracker and the moral of the story is, WEAR EYE PROTECTION. The lesson of … Continue reading

Posted in Uncategorized | Tagged , , | Leave a comment

PC to Arduino to LED Control, Source Code

Due to popular demand, here is the source code for my blog entry, “PC to Arduino to LED Control.” First the Processing Source code: // ButtonProc // Make a button on the screen that can be clicked // and cause an LED to turn on and off in synch on  // the Arduino.  Used in conjunction with ButtonArd. //  import processing.serial.*; Serial myPort;  // Create object from Serial class int val; // … Continue reading

Posted in Uncategorized | Tagged , , , | 3 Comments

Bottle Cap Buzzy Glow Toy

Take a plastic bottle cap and make it buzz and glow. Flip it over and here’s the internals: The bottle cap I have in mind is the plastic one that comes on top of one-gallon water jugs. The 3 volt … Continue reading

Posted in Uncategorized | Tagged , , , , , , | Leave a comment

PC to Arduino to LED Control

As I’ve mentioned in previous posts (like the slideshow here), I want to build a teleoperated mining robot. Since I’m somewhat short of both cash and experience, I have to start small. One key part of the system will be … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , | 8 Comments