Hacking A Floating RGB LED Decorative Ball

Knowing that I’m always happy to get something new and glowy, my wife brought home a cheap “floating pool light” that she found on sale for roughly $10. This is a large white floating ball that has LEDs inside and cycles through different colors. Meant to be put into a pool for neat effects, we found it to be much more interesting just used around the house.

However, it was a bit too bright and cycled colors too quickly for our taste. It was actually somewhat distracting when we were just trying to sit and have a few beers late at night on our patio. This gave me a perfect excuse to tear it apart and start hacking… like I wasn’t going to do that anyway.

What I found inside was extremely simple. There’s a single un-marked chip that holds the different display modes (there were 3 display modes: warm, cool, and white). The LEDs were arranged in an array of Reds, Blues, Greens, and Whites (half marked yellow).

My goal was to make this a little more tolerable as mood lighting, so I needed to draw up a plan. I have an arduino sitting here from the redbull contest, so I figured why not hook it up to that? It would allow full PWM control of the channels and I could do some pre-programmed sequences if I wanted.

This was ridiculously easy. All I needed to do was solder leads on to each of the LED channels. There are already great tutorials on how to run PWM from the arduino and a couple quick additions would give me direct controls over each channel via potentiometers. So problem solved right?

Well, sort of. It really bugs me that there’s an entire arduino there just for some PWM. I can go buy the components to do 555 timer PWM circuits if all I want is PWM. Then again, if I compare the price, that free arduino is a much cheaper solution than buying 2xcaps, 1×555, 1xtransistor, and assorted resistors and diodes, especially if consider that I’d have to buy it all in triplicate.

Ultimately if I wanted to just leave this as PWM control on each channel, I’d opt for the 555 circuit. What else is there to do with a glowing ball? Simple notification system? Sound reactive? Give me some ideas.

36 thoughts on “Hacking A Floating RGB LED Decorative Ball

    1. good suggestion. since what you have is rgbw, 2 channels might be more than enough if you accept that you can’t make every possible color. just use 4 of the available digital i/o pins to turn on/off a set of mosfets, selecting two of the 4 available colors. if the pwm duty cycle of two colors is identical, with some design consideration, you could opt to run two colors off of one pwm channel to expand the range of colors at the expense of buying more mosfets.

  1. Put an acclerometer in there and let the Arduino sample it. You could try and have the accelerometer distinguish between a splashdown and a bounce. On a splashdown the ball turns blue, on a bounce it turns red or something. I think your idea about the notification system would also be cool.

    1. theres more to life then AVR and PIC, in fact, i bet 50 bucks it is NOT AVR or PIC

      it will be some microcontroller (uC) that youve never heard of…

      there are litterally HUNDREDS of microcontrollers around, AVR and PIC is only a *_small_* assortment of whats available!

      1. You don’t need a uC to blink a few LEDs.

        There’s heaps of PWM chips. Got a cordless drill? It probably uses a PWM chip called G1??? (I can’t remember), I didn’t find a datasheet but did find a seller (MOQ 10,000!).

        You can get RGB LEDs with the PWM chip built in, see http://www.dansdata.com/gz065.htm. Check the date – 2006!

        You can’t just stuff a dozen of them into the ball though, they’ll run out of sync. Maybe just one will be bright enough, current ones claim 5000mCd. Not much of a hack though.

  2. Just curious, how would you figure out what microcontroller that was, if it has indeed been scrubbed clean, also would it be possible if it had an external clock to just use a clock of a lower frequency to slow it down?

  3. finally got an idea worth mentioning.. yet still simple

    1) get a few more ;)
    2) have it randomly choose a color at powerup (battery insertion)
    3) have it turn off LEDs during the day (auto)
    4) have it change to next color when light turns on at sunset

    5) color of individual ball can be changed (to next) from far away using bright flashlight or even bright IR flashlight or even (IR) laser if desired

    6) sweep the yard with your (IR)flashlight/(IR)laser for stunning effects XD

    1. and noone mentioned SOLAR !!!!?!??????!?!?!?

      so there, make it solar along with what i just said, would make for a years long entertainment-mood lighting. maybe even add a manual-white switch for regular light

  4. First, make it wireless.
    Second, add sensors. Light sensors, temperature sensor, gyro/accelerometer, and see if you can electrically measure the PH or chlorine in your pool.
    While idle, it can cycle through colors, etc. But connect to it and it will change to a color corresponding to either the small movements/waves in the pool. or just scroll through colors. when connected, you can have it display a color corresponding to the sensors like water temp, or PH level.

  5. Make it self-propelled.
    (Actuator so it can make itself off balance in arbitrary direction and ball for it to rotate in, so it will roll around if placed on floor).
    Sensor so can confine its ramblings to an area (e.g. with a RF emitting wire for a fence).

    So it can gradually wander around within a user defined area – without actually having a pond.

  6. For this particular equipment, I’d rig a wireless RF remote for mode switching, a rechargeable power cell, a solar cell, and fill the chamber with helium, and let it go. :)

    1. I think my last comment was eaten…..anyhow, I’m wondering if you will be adding an RF link. I’ve been working on a wireless RGB light controller using a WiFly module. The control/music sequencer software does most of the heavy lifting, and it will soon be open-sourced (the hardware design is already released). It would be great to support more than one type of hardware implementation and these LED spheres seem to be a good fit.

Leave a Reply

Please be kind and respectful to help make the comments section excellent. (Comment Policy)

This site uses Akismet to reduce spam. Learn how your comment data is processed.