chelmuth
New member
I've been working on an idea for inexpensive snowfall tubes.. What I've come up with so far consists of :
1-PIC 16F688
8-51Ohm 1/8Watt Resistors
1-10KOhm 1/8Watt Resistor
56-Pure White SuperFlux LEDs (Or Any LED, Depending on Vf the 8 resistors value might need to change)
My plan is not to create a PCB for these but take strips of white Formica and drill the holes for components. I know tedious but the idea is inexpensive and I've got time.
My plan is to power 1 tube per Ren48LSD Channel. Simply supply 5V to the tubes and they do a "fall".. I've written some Firmware for the PIC. I have 2 working versions. One is straight forward and loops through 28 times lighting 2 LED's each time through the loop with delays. The second is a variation with a TMR0 interrupt triggering the next run though the loop. Both Firmwares start with the fall going fast and then slowing as it "falls" I'm attaching the Schematic & Firmware for what I have currently working. Ideally I'd like to get it to a point where there are a few configurable options in the firmware such as setting a flag for maybe a "dimming tail" or other ideas. I'd like some input on the software and if possible some help with the code. I'm 1 week into learning assembly, so I know I've got a ways to go.
Here is a video of the LED's on my breadboard..
http://vimeo.com/22587872 (Uploaded at 11pm on 4-18-11.. Vimeo says it might take til midnight to convert. If it doesn't work try back)
1-PIC 16F688
8-51Ohm 1/8Watt Resistors
1-10KOhm 1/8Watt Resistor
56-Pure White SuperFlux LEDs (Or Any LED, Depending on Vf the 8 resistors value might need to change)
My plan is not to create a PCB for these but take strips of white Formica and drill the holes for components. I know tedious but the idea is inexpensive and I've got time.
My plan is to power 1 tube per Ren48LSD Channel. Simply supply 5V to the tubes and they do a "fall".. I've written some Firmware for the PIC. I have 2 working versions. One is straight forward and loops through 28 times lighting 2 LED's each time through the loop with delays. The second is a variation with a TMR0 interrupt triggering the next run though the loop. Both Firmwares start with the fall going fast and then slowing as it "falls" I'm attaching the Schematic & Firmware for what I have currently working. Ideally I'd like to get it to a point where there are a few configurable options in the firmware such as setting a flag for maybe a "dimming tail" or other ideas. I'd like some input on the software and if possible some help with the code. I'm 1 week into learning assembly, so I know I've got a ways to go.
Here is a video of the LED's on my breadboard..
http://vimeo.com/22587872 (Uploaded at 11pm on 4-18-11.. Vimeo says it might take til midnight to convert. If it doesn't work try back)
Attachments
Last edited:


