November 23, 2024, 11:39:24 PM

News:

Be sure to checkout our Vixen interfaces in the Library forum -- if you want PC automation at near zero cost, EFX-TEK and Vixen is a great combination of tools.


Reverse candle program

Started by gadget-evilusions, August 29, 2011, 07:55:39 PM

Previous topic - Next topic

gadget-evilusions

It's that time of year, and with the amount of programming and prop installs I am doing I am going to need loads of help for the next month.

First project: I have 2 - 12v led bulbs, 30ma draw. I want to flicker them in the opposite fashion that the standard wick led program does. The standard program flickers the outputs with the standard state of the output as off. I would like to do the opposite, where the output is normally on, and randomly flickering off. Unfortunately I am not sure how to exactly translate what I want into words. I tried to reverse the standard program, but there are values in it that I am not 100% sure of.
Brian
Evilusions LLC
www.evilusions.com for all your pneumatic components

JonnyMac

Actually, the standard LED program just sends random bits to the outputs; what you may want to do is change the timing. I would suggest making it faster than normal.
Jon McPhalen
EFX-TEK Hollywood Office

JackMan

Another option would be to use a normally closed relay for the LED circuit. The output for the flicker program would then turn the LED's off instead of on.

JonnyMac

The candles program loop runs every 25 to 75ms so it would not be good to use a relay.
Jon McPhalen
EFX-TEK Hollywood Office

JackMan

With the loop running at that speed would anyone really notice if the "normal" state was on or off? I guess I misinterpreted the original question.

JonnyMac

This is my point: the candles program simply writes a random value to the outputs -- the bits in the value determine on and off.  The fact that the normal candle circuit uses a capacitor to smooth things helps create the effect.  It might also help when using an incandescent.
Jon McPhalen
EFX-TEK Hollywood Office

gadget-evilusions

I modified the program to do what I needed and to get the effect I saw in my head. I will post it this weekend.

Thanks
Brian
Evilusions LLC
www.evilusions.com for all your pneumatic components