I completed my Valentines day gift and thought I would share. Mariessa had an idea about the gift she wanted "LED Flowers" were the request. Simple on off powered LED Flowers just wouldn't do for me however. So I put together a vase with 6 flowers inside that each have a Pink LED that is connected to an Arduino. It has a button that allows you to put it into a few different modes: off, on, pwm cycling, and a special twinkle mode. It also has an AC Adapter connected for convince.
Hardware:
RBBB by Paul Badger @ Modern Device Company
6 Pink 10mm LEDs from Evil Mad Scientist Laboratories
7 100Omh Resistors
1 10K Resistor
28 AWG ribbon cable wire
AC Adapter
Software:
To write the script I started out with the blink script and added my various modes. I ported the twinkle effect from the Valentine's Day LED Heart from NerdKits and I got the button state code from ladyada's Arduino Tutorial Lesson 5. The code is by no means polished and there are even some modes that I didn't end up using.
` <http://github.com/cstcyr/arduino_roses/tree/master>`__Roses.pde can be found under Roses in my arduino git repository on github