hardware based TV Ambient-Light "SCIMO" - software
software description
Software description
SCIMO supports two different modes of operation:
- Ambient-Light mode
- MoodLight mode
Ambient-Light mode
SCIMO uses video input signal, either S-Video or Composite signal, to analyze video data. Depending on video image for every zone (LED) a suitable color is calculated and refreshed in realtime with 50/60 fps (frames per second). For this mode SCIMO offers some parameters to adjust Ambient-Light effects to personal feeling (e.g. to get more smooth or exciting color effects...).
MoodLight mode
In this mode none of the input signals is used and SCIMO generates some different light effects which can be choosen by IR remote control.
IR remote control
I recommend to use universal IR remote control URC-3920 or URC-7120 from company One for All. Functions of SCIMO are optimized to keyboard layout of this remote control.
IR remote control from company "One for All" and suitable device codes:
RC Type | parameter "IR_CODE_SET" in config file |
device code |
---|---|---|
URC-3920 R02 | 2 | 11423 |
1 | 11508 | |
URC-3920 R03 | 0 | 1423 |
1 | 1508 | |
URC-7120 | 0 | 1423 |
1 | 1508 |
Below some infos about IR commands and it's function at SCIMO:
IR command | description | |
---|---|---|
power | switch on/off SCIMO | |
AV | toggle operation mode: Ambient-Light moodlight | |
TXT large | direct select operation mode: Ambient-Light | |
TXT small | direct select operation mode: moodlight | |
Enter TXT | direct select power mode: switch on SCIMO | |
INFO | direct select power mode: switch off SCIMO | |
a m b i e n t l i g h t m o d e |
16:9 | Starts autodetecting of current video format, if detecting is finished all LEDs will flash with green light. The parameters can be found in config file named with: - "FRAME_START_LEFT" - "FRAME_START_RIGHT" - "FFRAME_START_UPPER" - "FRAME_START_LOWER" |
Guide | toggle between 3D modes: normal -> 3D-SBS -> 3D-TOB -> normal ... | |
red | After pressing the red button, the intensity of red can be changed with cursor up/down button. This parameter can be found in config file named with "RedCorrection". | |
green | After pressing the green button, the intensity of green can be changed with cursor up/down button. This parameter can be found in config file named with "GreenCorrection". | |
blue | After pressing the blue button, the intensity of blue can be changed with cursor up/down button. This parameter can be found in config file named with "BlueCorrection". | |
yellow | After pressing the yellow button the value of gamma correction can be changed with cursor up/down button. This parameter can be found in config file named with "GammaCorrection". | |
0 | Temporarily deactivate every second LED. (to test reduced LED quantity) | |
1 | Selects configuration from config file "config1.ini" | |
2 | Selects configuration from config file "config2.ini" | |
3 | Selects configuration from config file "config3.ini" | |
4 | Selects configuration from config file "config4.ini" | |
5 | Selects configuration from config file "config5.ini" | |
6 | Selects configuration from config file "config6.ini" | |
Exit | Saves configuration to current selected config file (configX.ini) | |
m o o d l i g h t m o d e |
1 | select Moodlight effects "1" (rainbow turn arround colors) |
2 | select Moodlight effects "2" (very, very slow color changing mode) | |
3 | select Moodlight effects "3" | |
4 | select Moodlight effects "4" (changing random colors for each LED) | |
5 | select Moodlight effects "5" (user defined static color, see also paramater "MOOD_USER_COLOR") | |
mute | stop/play Moodlight sequence | |
red | All LEDs are switched to RED light. | |
green | All LEDs are switched to GREEN light. | |
blue | All LEDs are switched to BLUE light. | |
yellow | All LEDs are switched to YELLOW light. |
SCIMO can be configured via USB Interface connected to PC, it will appear as an USB mass strorage drive containing a configuration file named "config1.ini". In this text file (can be opend and edited with simple text editor) you will find some configuration points which are explained in the table below.
You can add an additional configuration file by simply copy file "config1.ini" and rename it to "config2.ini". SCIMO supports up to six different configurations files which are selectable by remote control with numeric buttons 1 - 6. This allows you to create different configuration profiles to match special needs (like different input sources selectable by remote control).
SCIMO do remember last selected configuration file and use it again at next power on. During boot-up procedure it shows which configuration file are used by flashing green onboard LED (video state). For example: if "config3.ini" has been selected than SCIMO will flash onboard LED three times with green light during boot-up procedure.
- If SCIMO is connected to USB then all LEDs are switched off until USB is disconected.
- When connecting SCIMO to USB it needs to be powered by a power supply unit.
- If a parameter is not placed at configuration file than SCIMO is using default value (see table below).
Available parameter for configuration:
parameter name | default value | example | possible values | description |
---|---|---|---|---|
LEDS_LEFT | 15 |
[LEDS_LEFT] Val=15 |
0 - 70 (max. 240 overall LEDs) | Number of LEDs on left side of TV (seen from front view). |
LEDS_RIGHT | 15 |
[LEDS_RIGHT] Val=15 |
0 - 70 (max. 240 overall LEDs) | Number of LEDs on right side of TV (seen from front view). |
LEDS_UPPER | 30 |
[LEDS_UPPER] Val=30 |
0 - 90 (max. 240 overall LEDs) | Number of LEDs on upper side of TV. |
LEDS_LOWER | 30 |
[LEDS_LOWER] Val=30 |
0 - 90 (max. 240 overall LEDs) | Number of LEDs on lower side of TV. |
TV_DELAY | 0 |
[TV_DELAY] Val=0 |
0 - 400 ms (in steps of 20ms) | Adjustable delay for LED data output. By this parameter a possible display input lag of your TV can be compensated. |
GammaCorrection | 1.9 |
[GammaCorrection] Val=1.9 |
0.50 - 5.00 | This value has big influence on Ambient-Light behavior, a lower value (e.g. "1.6") has the effect of smoother color mixing and is more relaxed for eyes. A bigger value (e.g. "2.2") gives more exciting color effects with sharper and saturated colors, which is for example nice at action games. This value has also big influence on color matching to TV. This parameter can be also adjusted during runtime with IR remote control. |
Color_Averaging | 2.0 |
[Color_Averaging] Val=2.0 |
0.0 - 20.0 (0 = no averaging) | By increasing this parameter a more averaged color mixing (averaged over time) is output to LEDs. |
BrightnessMin | 1.0 |
[BrightnessMin] Val=1.0 |
0 - 100 % | LEDs won't set darker than this value, helps to keep a minimum of brightness from back of TV which is more relaxed for eyes. |
BrightnessMax | 100.0 |
[BrightnessMax] Val=100.0 |
0 - 100 % | LEDs won't set brighter than this value, usefull if LED stripes equipped with very bright LEDs. |
RedCorrection | 1.00 |
[RedCorrection] Val=1.00 |
0.00 - 1.00 |
Usefull to fine-tune colors from LED stripe to match colors from TV. These parameters can be also adjusted during runtime with IR remote control. |
GreenCorrection | 1.00 |
[GreenCorrection] Val=1.00 |
0.00 - 1.00 | |
BlueCorrection | 1.00 |
[BlueCorrection] Val=1.00 |
0.00 - 1.00 | |
LedType | WS281xB |
[LedType] string=WS281xB |
WS281x, WS281xB, TM181x, TM182x, DMX512 | Type of LED stripes connected to SCIMO. Note: - WS2811, WS2812 = "WS281x" - WS2812B, WS2813 = "WS281xB" - TM1812 = "TM181x" ... |
LED1_POSITION | 0 |
[LED1_POSITION] Val=0 |
0 - 240 | (available since firmware V2.0) |
LED_DATA_DIRECTION | clockwise |
[LED_DATA_DIRECTION] string=clockwise |
clockwise, anti-clockwise |
Defines data direction of LED stripe mounted at TV/Monitor, seen from back view of TV ! (available since firmware V2.0) |
VideoSource | composite |
[VideoSource] string=composite |
svideo, composite, compositeA, compositeB |
Setup type the video input signal which is delivered to SCIMO. some note: - CVBS and FBAS = "composite" - Y/C and S-VHS = "svideo" |
FRAME_START_LEFT | 30 |
[FRAME_START_LEFT] Val=30 |
0 - 180 |
These parameters defines format of video input signal (e.g. 4:3, 16:9 ...). I recommend to use autodetect mode activated by IR remote control (button "16:9"). |
FRAME_START_RIGHT | 330 |
[FRAME_START_RIGHT] Val=330 |
180 - 360 | |
FRAME_START_UPPER | 30 |
[FRAME_START_UPPER] Val=30 |
0 - 156 | |
FRAME_START_LOWER | 235 |
[FRAME_START_LOWER] Val=235 |
156 - 312 | |
3D_MODE | 3D_OFF |
[3D_MODE] string=3D_OFF |
3D_OFF, 3D_SBS, 3D_TOB |
3D-Mode can be preselected at configuration file or by use of remote control button "GUIDE". (available since firmware V2.3) |
IR_CODE_SET | 0 |
[IR_CODE_SET] Val=0 |
0 - 3 | selectable IR code set |
MOOD_USER_COLOR | 0x885500 |
[MOOD_USER_COLOR] Val=0x885500 |
0x000000 - 0xFFFFFF | User defined LED stripe color at Moodlight profile "5" |
ONBOARD_USER_COLOR | 0xFFFFFFFF |
[ONBOARD_USER_COLOR] Val=0xFFFFFFFF |
0x000000 - 0xFFFFFF, 0xFFFFFFFF |
User defined color for onboard RGB LED (SCIMO hardware V1.1)
bytes position for colors are like this : 0x00RRGGBB |
DC_BACK | on |
[DC_BACK] string=on |
on, off | If you want to keep SCIMO in standby mode after power brownout you can use parameter "DC_BACK" configured to "off" (available since firmware V2.0). |
POWER_TIMEOUT | 8 |
[POWER_TIMEOUT] Val=8 |
1 - 168 |
Power timeout when SCIMO automatic enter standby mode in hours. (available since firmware V2.0) |
OP-MODE | AMBIENT-LIGHT |
[OP-MODE] string=AMBIENT-LIGHT |
AMBIENT-LIGHT, MOODLIGHT1, MOODLIGHT2, MOODLIGHT3, MOODLIGHT4, MOODLIGHT5 |
Operation mode SCIMO is using after power on. (available since firmware V2.4) |
SKIP_INTRO | FALSE |
[SKIP_INTRO] string=FALSE |
TRUE, FALSE |
If set to TRUE than at startup no LED intro are shown. (available since firmware V2.4) |
LED_SKIP | 0 |
[LED_SKIP] val=0 |
0 - 5 | allows to blank every second LEDs, similar function like remote control button "0" |
description of special SCIMO functions
boarder detection (IR command "16:9")
Select a movie or TV channel in any format you want to adapt and let it run. This movie just have to be more bright (no night scene) and contains some motion. Press button 16:9 and wait some time (up to 120 seconds), during this time do not change movie or TV channel and watch out that it is not interrupted from commercial or something like that.
When SCIMO finished detection successfully it will flash all LEDs with green light and work with new configuration.
New settings can be saved to file config file by pressing button "Exit", otherwise they are discarded with next reboot of SCIMO.
Auto Power on/off depending on input signal
As described in feature list SCIMO is able to automatically power off if no input signal is detected (timeout 15 seconds). In same way it wakes up from input signal, but only if it has entered power-down mode before automatically.
So if SCIMO was powered off by remote control or switch, it stays off and won't awake from input signal.
If there was a power brownout than SCIMO automaticly starts working as long video signal is available. If you want to keep SCIMO in standby mode after power brownout you can use parameter "DC_BACK" confgured to "off" (available since firmware V2.0).
KeiAng
Publiziert am: Freitag, 14. Oktober 2016 (27932 mal gelesen)
Copyright © by Keiang''s electronics hobby side
[ Zurück ]