Shop OBEX P1 Docs P2 Docs Learn Events
Propeller rgb xmas light — Parallax Forums

Propeller rgb xmas light

kelvin jameskelvin james Posts: 531
edited 2008-12-20 19:01 in Propeller 1
I am always looking to do something a little different for xmas lighting, I had some rgb leds here, so i hooked one up to the prop demo board, tweaked the resistor values, and modified Phil Pilgrims' Pwmx8 and demo program.

I punched a hole in a ping pong ball where the label is to put over the led, makes a great cheap and festive diffuser for the led. The program does a bunch of random pwm, from soft fades of different colors, to full color blinky things.

The code is childs play for most people here, it is just trial and error to get some nice effects. All the values can be toyed with, and more loops could be added. Anyway, makes a cool light show, almost hypnotic at times.

**

Comments

  • Timothy D. SwieterTimothy D. Swieter Posts: 1,613
    edited 2008-12-16 03:24
    Can you post pictures or a video. This sounds neat.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Timothy D. Swieter, E.I.
    www.brilldea.com - Prop Blade, LED Painter, RGB LEDs, uOLED-IOC, eProto for SunSPOT, BitScope
    www.tdswieter.com
  • Cole LoganCole Logan Posts: 196
    edited 2008-12-16 12:28
    I tried to play around with it last night but the RGB led that I have need a low signal to turn on. I was wondering if you didn't know an easy way to change up the settings so that it could give the oppisate wave form.
  • kelvin jameskelvin james Posts: 531
    edited 2008-12-20 19:01
    Cole

    You could try switching the common anode led with a uln2003. I am leery of giving advice on the pin output. I know how to set them, but not fully understanding the original program, i am unsure how to apply it.


    **
Sign In or Register to comment.