Close

Software

A project log for RGBW Controller Shield

RGBW analog or digital LED stripe controller whit smooth transitions.

eduardoEduardo 04/27/2019 at 21:410 Comments

Brief revision of the serial console.


Serial commands:

help:

__________________________________________________
|                - RGBW v4.0 -                   |
|________________________________________________|
|Commands:                                       |
|    onoff   allon            alloff             |
|    data    cycle            resetsettings      |
|    help    savecolor[1-8]   callcolor[1-8]     |
|    wt      levelw[0-100]    lramp[0-10000]     |
|    rt      levelr[0-100]    lcramp[0-10000]    |
|    gt      levelg[0-100]    lstay[0-30000]     |
|    bt      levelb[0-100]    ldimm[0-99]        |
|                                                |
|Tuners:                                         |
|      r+         g+          b+         w+      |
|      r-         g-          b-         w-      |
|     stay+      ramp+      cramp+      rgb+     |
|     stay-      ramp-      cramp-      rgb-     |
|                                                |
|Colors:                                         |
|  red   ltgreen  green   magenta  cyan  white   |
|  blue  ltblue   orange  rgbwhite gold  violet  |
|________________________________________________|

Provides this help frame with all the commands.

onoff:

Turn off fast and turn on to the last color.

allon:

All colors on to the highest level.

alloff:

All colors off.

data:

__________________________________________________
| Data:                                          |
|   White    |    Red    |   Green   |   Blue    |
|     0      |     255   |     0     |    255    |
|     0%     |     100%  |     0%    |    100%   |
|  - - - - - - - - - - - - - - - - - - - - - -   |
|     Ramp      |   Cycle Ramp   |  Cycle Stay   |
|     300       |      1500      |     2000      |
|________________________________________________|

Show this data frame.

cycle:

Start/Stop the cycle mode. It change the color from the 8 memory colors. It gives this frame:

__________________________________________________
|                   Cycle Mode                   |
|                       On                       |
|________________________________________________|

resetsettings:

This reset all settings to the factory settings.

savecolor:

Save the current color to the desired position:

savecolor 4

callcolor:

Call the selected color:

callcolor 4

wt, rt, gt, bt:

Color toggle, it switch the selected channel.

levelw, levelr, levelg, levelb:

Level input, use to set a desired level in %:

levelw 74

It gives the next frame:

__________________________________________________
|              White Level:74%                   |
|________________________________________________|

Can be seted from 0 to 100.

lramp:

Level ramp, use to set a desired time in ms:

lramp 300

It gives the data frame updated. Can be seted from 0 to 10000.

lcramp:

Level cycle ramp, use to set a desired time in ms:

lcramp 300

It gives the data frame updated. Can be setted from 0 to 10000.

lstay:

Level cycle stay, use to set a desired time in ms:

lstay 300

It gives the data frame updated. Can be setted from 0 to 30000.

ldimm:

Level dimmer, use to set a desired level in %, it gives the data frame updated. On cycle mode it gives this data frame:

__________________________________________________
| Data:                                          |
|   White    |    Red    |   Green   |   Blue    |
|     0      |     200   |     0     |    200    |
|     0%     |     78%   |     0%    |    78%    |
|  - - - - - - - - - - - - - - - - - - - - - -   |
|     Ramp      |   Cycle Ramp   |  Cycle Stay   |
|     300       |      1500      |     2000      |
|  - - - - - - - - - - - - - - - - - - - - - -   |
|                   Cycle On                     |
|                   Dimm:50%                     |
|________________________________________________|

w+/- r+/- g+/- b+/-:

Increment/decrement the selected color

stay+/-:

Increment/decrement cycle stay time.

ramp+/-:

Increment/decrement ramp time.

cramp+/-:

Increment/decrement cycle ramp time.

rgb+/-:

Increment/decrement all colors.

red:

Set red color (r100%)

blue:

Set blue color (b100%)

green:

Set green color (g100%)

cyan:

Set cyan color (g100% b100%)

magenta:

Set magenta color (r100% b100%)

gold:

Set yellow color (g100% g100%)

orange:

Set orange color (g100% g14%)

violet:

Set violet color (r65% b100%)

ltgreen:

Set ltgreen color (g100% b9%)

ltblue:

Set ltblue color (g74% b100%)

white:

Set white color (w100%)

rgbwhite:

Set rgb white color (r100% g100% b100%)

Buttons:

Buttons have two push modes, short and long press: Button 1 on short press use the onoff command, showing the next frame

__________________________________________________
|                       On                       |
|________________________________________________|

On long press use the wt command, showing the next frame

__________________________________________________
|                   White toggle                 |
|                       On                       |
|________________________________________________|

Button 2 on short press change through the seven color mode, showing the next frame:

__________________________________________________
|                    Mode:1                      |
|________________________________________________|

On long press use the cycle command, showing the next frame

__________________________________________________
|                   Cycle Mode                   |
|                       On                       |
|________________________________________________|

IR Remote

When a signal is received this frame appears:

__________________________________________________
|               IR Signal Recieved               |
|________________________________________________|

The IR functions are limited to the following commands:

Discussions