Configuration file #
The board configuration is stored in one simple text file on the SD Card. Name of the file is settings.txt and it must be stored in the root directory of the SD Card. Animation files are stored in LNT file format. Both file formats can be generated in LED Strip Studio software.
Example of SD Card for SPI LED Controller – animation files in LNT format
How to do configuration file
To create settings file, you can use LED Strip Studio software.
Here is an example of a configuration step by step:
- Go to menu Settings →LSS SPI Settings
Go to menu Settings →LSS SPI Settings
2. Following dialog appears
SPI LED Controller settings file generator in LED Strip Studio
SD Card mode – In this case, SPI LED Controller uses LNT files from the SD Card to be played.
7 DMX channels are used.
Pixel mode – This mode converts incoming DMX signal into RGB pixel format. You can later define how many pixels should be used (in DMX Pixel tab). Each pixel uses 3 DMX channels for red, green and blue color. You can also change the order of the RGB color channels.
IC (used chip) #
Allows you to select used LED strip type control chip (IC).
RGB order #
allows you to define RGB order for the LED strip. Some LED strips might use for example blue, green, red order instead of standard red, green blue. This setting allows you to change this color order.
DMX Address #
starting DMX address for both, SD Card and Pixel mode.
Distributor Address #
defines address of distributor, which should be used from SD Card files or MMX input.
Strip Address #
LSS SPI Settings – auto play tab
You can lower the brightness of the animation. All animations are affected (in case you switch between them using the buttons).
Speed of default animation. 128 is default animation (as played in LED Strip Studio software). 255 is 4x faster than default animation. If the value is lower than 128, the animation is slower (64 = 1/2 of speed).
Force LED Count #
By default, LSS SPI plays animations on the number of LEDs defined in LNT file. But sometimes you can use more or fewer LEDs on your LED strip or LED pixel and you don’t want to export the LNT files once again. This setting will convert all the animations to the desired number of LEDs. In case it’s 0, the number of LEDs is defined by LNT file.
LSS SPI Settings – DMX Pixel Tab
defines how many pixels are used on SPI output. Value range is from 1 to 170. By 1, SPI LED Controller uses three DMX channels (from DMX Address) and sends it to SPI output as 1 RGB pixel. In case you use 170, SPI converts 170*3 = 510 DMX channels (almost all the DMX universe).
LEDs per Pixel #
three DMX channels are converted to one LED pixel by default. But this setting allows you to create a group of LED pixels controlled by DMX channels. E.g. in case LEDs per Pixel is 4, four LED pixels behave as one on SPI output (they’ll have the same color set by these 3 channels). This is quite practical in case your LED strip or LED pixel line uses more than 170 LEDs and you still want to control them over DMX.
Example: Let’s say, you set Pixels to 20 and LEDs per Pixel to 3. You’ll control the total of 60 LED pixels, every 3 following pixels will have the same color set by DMX channels.
Export to text file #
export settings.txt to the selected directory. This file must be saved on the SD Card for SPI LED Controller.
Standalone (autoplay) mode
It’s perfect for standalone applications, where you don’t want to use computers. Typical usage is an advertisement
If there is NO DMX signal connected to SPI LED Controller, the device starts automatically playing file defined in the settings.txt file.
The SPI LED Controller device locates all LNT files (animations) saved on the SD Card and allows you to switch between them using up/down buttons.
DMX controlled mode
You can use SPI LED Controller in two different modes when controlling over DMX:
- SD Card
- Pixel mode
DMX mode will start run automatically after DMX signal is detected.
You can find the DMX to RJ45 connection scheme on the image below.
Scheme of DMX to RJ-45 adapter
SD Card #
It’s SD player mode when you are able to choose any file from the SD-Card and play it on your digital LED strips. You can use DMX channel to select animation stored on SD Card and let it play on LED strips/LED pixels. You can see an example of right DMX values in this mode:
|3||Animation speed (default is 128)||128|
A short video which helps you with a single installation and explains SD-Card mode.
Pixel mode #
In this mode, you control every LED pixel of your LED strip directly using three DMX channels. You can use more LED pixels than one, thus more DMX channels will be used. The calculation is easy, you use N pixels, you’ll need 3*N DMX channels. Also, don’t forget, you can use LEDs per Pixel setting to create groups of pixels with the same color.
In pixel mode, every 3 DMX channels are used to control red, green and blue color of one (or more) LED pixels. You can define how many pixels are used (thus how many DMX channels). The only limitation is, SPI LED Controller can control up to 1024 LEDs. If you want to use more, you’ll have to use several SPI LED Controller devices.
LSS SPI Settings – DMX Pixel Tab
3 DMX channels are used to control red, green and blue color of 4 LED per each pixels
A short video which helps you with a single installation and explains Pixel mode.