November 22, 2024, 08:05:26 PM

News:

You can now use Vixen to program your Prop-1 and Prop-2 controllers!  Get started quickly and easily, without having to learn PBASIC.  Details in the Library forum.


FC4 Will This Do FADE DOWN

Started by samsam, August 23, 2007, 10:06:06 AM

Previous topic - Next topic

samsam

August 23, 2007, 10:06:06 AM Last Edit: August 23, 2007, 11:17:20 AM by samsam
HI EveryOne

I just bought one of your FC4 Boards

I would like to know something that is in the for BS2 Demo Code

Now I know that this FADES UP

FadeUp_One_Auto:
DEBUG CR, "Fade one chanel", CR
SEROUT Sio, Baud, ["!FC4",%00,"f", 1, 0, 255,  8]
PAUSE 2100
GOSUB Show_Status

Now would like to know if this would do FADES DOWN

FadeDOWN_One_Auto:
DEBUG CR, "Fade one chanel", CR
SEROUT Sio, Baud, ["!FC4",%00,"f", 1, 0, 0, 8]

Edit
SEROUT Sio, Baud, ["!FC4",%00,"f", 1, 255, 0, 8]
PAUSE 2100
GOSUB Show_Status

Or am I missing something

I would like to thank any one that can help with this







Sam

I Want  Thank You for All Of Your Time And Help

...............In Helping Getting Thing To Work........

JonnyMac

You may be missing a read through of the FC-4 documentation!  ;D

With the "F" (fade) command, the first value is the channel (1 - 4), the second is the starting level (0 - 255), the third is the ending level (0 - 255), the last value is in milliseconds per step (which is the absolute value of the starting value minus the ending value plus one).  If you want to do a full fade-down on channel one it would go like this:

  SEROUT Sio, Baud, ["!FC4", %00, "F", 1, 255, 0, 8]

The fade would take approximately two seconds (256 [steps] x 0.008 s)
Jon McPhalen
EFX-TEK Hollywood Office

samsam

August 23, 2007, 11:10:14 AM #2 Last Edit: August 23, 2007, 11:14:18 AM by samsam
 JonnyMac

Thank You for your Reply

Now i understand what they are talking about for the Start Inltial Level and End Final
level What i did not understand was that the two value are next each other

What would be the MAX value be that you could use

The fade would take approximately two seconds (256 [steps] x 0.008 s)
Sam

I Want  Thank You for All Of Your Time And Help

...............In Helping Getting Thing To Work........

JonnyMac

Everything is done in bytes, so any value has a maximum of 255.  So if you did a full fade (up or down) with a step time of 256 milliseconds, the entire fade would take 65.5 seconds.  Be careful, the FC-4 ignores other commands while it is performing fades and cross-fades.
Jon McPhalen
EFX-TEK Hollywood Office

samsam

JonnyMac

Thank You For All Of Your Help And Your Time ................................................. :)

This will  Help alot to understand how use this board the right way thank agian

I have one more thing to ask and that is is there a way to run this set up on 24 Volts Ac if there is away to this what would i have to change for this to work if it can be
done and where can you Get the H11AA2 IC Dip Chip 

I have alot of low voltage lights that i would like to be able to dim and do this for the Holloween And Chirstmas And do not want to use DC Voltage
Sam

I Want  Thank You for All Of Your Time And Help

...............In Helping Getting Thing To Work........

JonnyMac

August 23, 2007, 07:24:18 PM #5 Last Edit: August 23, 2007, 07:34:46 PM by JonnyMac
No, the board is designed for 120 VAC.  I think the triac circuit would work at 24, but the H11AA1 resisters (15K, 5W) would have to be reduced to allow enough current through the LEDs in the device.  I got my prototype units at Mouser.
Jon McPhalen
EFX-TEK Hollywood Office

samsam

JonnyMac

Thank You For Your Reply

I am going to make a board

That I will use it at 24 Volts and see what happen and i will let you know if it works

Do you have the SX Code for this board if you do not mind shaing it with me

I do not want to remove the resisters form the board that i just bought just to see if it going to work or not

If you do not want to share the code with me then can I buy SX Proto Board with the Code Loaded On It

Please let me know which one I can do

Thank You For all of Your Help and Time in tis matter
Sam

I Want  Thank You for All Of Your Time And Help

...............In Helping Getting Thing To Work........

JonnyMac

We only provide code to customers who have purchased [re-programmable] products.  If you have purchased an FC-4 from use then contact us by e-mail and we'll provide the file (SX/B, advanced, uses interrupts), so long as you intentions for it are not commercial.  Also, we don't provide any kind of technical support for the modification of our firmware, nor is there any kind of warranty, expressed or implied, that it will work for your purpose.
Jon McPhalen
EFX-TEK Hollywood Office

samsam

JonnyMac


Thank You For all Of Your Help

I send you an email the one that you send when I order the FC board
Sam

I Want  Thank You for All Of Your Time And Help

...............In Helping Getting Thing To Work........