The SP108e controller is designed to control adressable led strips with a DATA and with or without an CLK line. It operates between 5-24V DC input. Default app is LED Shop from from 'spledapps'. There are different versions of this controller. The newer version, I call it 'v2', has 2 VCC, 2 GND, 1 CLK and 1 DAT output on the right side and contains an ESP8285 with 2MB Flash inside.
After hardware modification you can use Tasmota, WLED or ESPHome on it. If you are okay with no CLK out, you can use SP501e instead, which does not require a hardware modification and has additional drivers for non-addressable RGBCCT strips soldered (see https://margau.net/posts/2020-11-21-2h-led-hack/).
The device use a separate controller (STM32F0) to control CLK and Data lines of the led strips. To hold this controller in reset state, please connect Pin 7 (Reset) to GND. After that, the ESP8285 can be flashed by pull down GPIO0 to GND.
Connect GPIO2 to R4 for DAT out and GPIO13 for CLK out
I have used the following build configuration in the platform_override.ini
using the APA102 led strip:
[platformio]
default_envs = sp108e
[env:sp108e]
board = esp8285
platform = ${common.platform_wled_default}
platform_packages = ${common.platform_packages}
board_build.ldscript = ${common.ldscript_2m512k}
build_unflags = ${common.build_unflags}
build_flags = ${common.build_flags_esp8266} -D CLKPIN=13 -D LEDPIN=5 -D USE_APA102
To flash firmware to the controller, you can use any ESP programmer module or other UART Serial adapter with 3,3V. Connect RX, TX, GND and VCC (3.3V!) between the programmer/power source and the ESP chip. To flash an ESP, you also have to connect GPIO0 to GND at boot time to enable the programming mode instead of starting the flashed firmware. See the corresponding pins at the image provided above.
Flashing the firmware can be done with esptool.py --port COM6 write_flash 0x000000 firmware.bin
.
Controller | Flash | Data out | Clock out | Levelshifter | non-Adressable Driver out | needs Hardware mod | Button | LED | Case |
---|---|---|---|---|---|---|---|---|---|
SP501E | 1-2MB | yes | no | no | 5ch (RGB+CCT) | no | yes | no | yes |
SP108E | 2MB | yes | yes | yes | no | yes | no | yes | yes |
WeMos D1 Mini | 4MB | yes | yes | no | no | no | yes | yes | no |