Programmable Excel Sheets for Easy Use
Click on the links below to download the excel sheet that can be used to easily create any animation that you want.
Firmware V1.04 //Updated 10/28/2016 -> Verifies the below example as its initial use.
Firmware V1.05 //Updated 10/28/2016
For LED Bulb Firmware V1.04.
Below is an explanation and example on how to use Parameter 37 and 38 of the LED bulb, ranging from step 1 - 6 including brief explanations on how to utilize the bit table. If you are having trouble figuring out how to use Parameter 37-39 for your own animations, please contact our support ticket system, and one of our engineers will be able to help you out, or provide you settings based on what you are looking for.
Configuration settings explanation.
Color Display Cycle Configuration.
Parameter 37 [4 byte] will cycle the color displayed by LED Bulb into different modes:
Color Display Mode (4 bits).
The Color Display Cycle field can have the following values corresponding to 4 different modes:
Color Transition Style (2 bits).
The following values correspond to 3 different transition styles between colous:
Cycle Count (8 bits).
The Cycle Count is used to define the number of repetitions/cycles displayed by your LED Bulb in Color Display Cycle before stopping.
Color Change Speed (8 bits).
This field specifies the transition speed when one color changes to another.
Color Residence Time (8 bits).
This field specifies the length of time each individual color is displayed before a transition.
The table above shows a decimal representation of the settings that can be set on parameter 37.
Multicolor Mode transition parameter 38.
Parameter 38 [4 byte] can be used to set up to 8 colors to cycle between when LED Bulb is in Multi Color Mode. Colors transition from Color Index 1-8.
Color Component Id.
If you set the parameter 38 to 801(0x00000321 in hexadecimal), the color will be changed from Red to Orange and then Orange to Yellow circularly (Red→Orange→Yellow→Red).
1) Imagine the bit grid like this:
0000 0000 value 1
0000 0000 value 2
0000 0000 value 3
0000 0000 value 4
2) Now go through each section of what you want, lets start with (Value 1).
Colour Transition = Fast/Direct colour = 1 = (01)
Colour Display Cycle = Multicolour mode = 2 = (0010)
So value 1 will now be: 0100 0010 (Reserved bits are always left as 0)
3) (Value 2), I want a cycle count of 8 (I am determine how many cycles i want, then using a converter to convert them to binary)
Cycle Count = 8 = (1000)
Value 2 = 0000 1000
If i want my cycle count to be 200 then
Cycle Count = 100 = (110 0100)
Value 2 = 0110 0100 (I'll just use this for the sake of continuing the example at the last step).
(Value 3 and 4 are the same method of setting them so i will just set them to random numbers for quick examples, you can easily use the Windows Calculator and put it into programmer mode to do conversions)
4) (Value 3),
Colour Change Speed = 255 = (1111 1111)
Value 3 = 1111 1111
5) (Value 4)
Colour Residence Time = 53 = (11 0101)
Value 4 = 0011 0101
6) Now lets collect all the values, first i will show you how they look like in a grid.
So starting from the first (1) in value 1, the binary number will look like this:
Value = (100 0010 0110 0100 1111 1111 0011 0101)
If you convert this to decimal, you will get: 1113915189 as the input for Parameter 37.
(Parameter 37 [4 byte dec] = 1113915189)