Specifications
Welcome to the documentation for controlling an LED strip using LedSC! This guide is designed to provide you with comprehensive instructions on how to effectively manage and manipulate LedSC. Whether you’re a hobbyist, a professional, or an enthusiast looking to add flair to your environment, this documentation will walk you through the process of how to set up our products. In this documentation, we’ll cover everything you need to know about controlling LED strips using LedSC, including hardware requirements, software setups, and the others. Whether you’re using Arduino, Raspberry Pi, or another controller, we’ll provide guidance on how to interface with these devices and create stunning lighting effects. The LedSC is a full controlled board for one RGBW LED strip with the smallest dimensions and a lot of features, which allows installation anywhere in the interior.
Modbus
Both of the versions have simple modbus communication, which allows connecting to Arduino, Raspberry Pi or Home assistant and others. Modbus communication also allows you to control the LedSC with your unit.
Proximity sensor
The proximity sensor is part of the board, so you need to choose a suitable place for installation due to the limited range. The primary use of the sensor is for contactless switching on and off of the device. Sensor does not have to be used every time.
Hardware specifications
| Parameter | value | Unit | Description |
|---|---|---|---|
| Communication protocol | RS485 (Modbus RTU) | - | multi-drop bus |
| Power voltage | 5–24 | V | according LEDs |
| Max current | 7 | A | |
| Max peak current | 15 | A | |
| Max current per channel | 4 | A | |
| Temperature range | -10 to 80 | ∘C | usually room temp |
| Proximity distance | 30 | mm |
Power voltage chooses, according to your LEDs. Power voltage goes directly to output!
Terminate resistor
The termination resistor is a crucial component in RS485 communication to minimize signal reflections and improve data integrity, especially in long-distance or high-speed communication setups.
Functionality
- The LedSC controller includes an optional 120 ohm termination resistor for the RS485 bus.
- This resistor is used to properly terminate the differential pair at the end of the bus, ensuring stable communication.
Activation
- The termination resistor is deactivated by default.
- To activate it, solder the TR jumper on the PCB.
- This creates a direct connection for the 120 ohm resistor across the RS485 A and B lines.
When to enable the Termination Resistor
- Enable (solder TR) if LedSC is at the end of the RS485 bus.
- Disable (keep TR open) if LedSC is in the middle of the bus or if termination is handled externally.
- RS485 networks should have termination resistors only at both ends of the bus.
- Avoid multiple termination points, as they may cause communication issues.
Factory reset
Sequence:
- Turn off device.
- Short GND and FRES pad.
- Turn on device.
- Wait, while periodically blink channel A (500ms off – 5ms on).
- Turn off device.
- Restore normal condition of GND and FRES pad.
- Turn on device.
Default values
| Address | Name | value |
|---|---|---|
| 1000 | Slave address | 1 |
| 1001 | Serial baud rate | 19200 |
| 1002 | Serial parity | 0 |
| 1003 | LED channel R | 0 |
| 1004 | LED channel G | 1 |
| 1005 | LED channel B | 2 |
| 1006 | LED channel W | 3 |
| 1007 | Default TT | 100 |
| 1008 | Default R value | 0 |
| 1009 | Default G value | 0 |
| 1010 | Default B value | 0 |
| 1011 | Default W value | 100 |
| 1012 | PWM cycle | 255 |
| 1013 | Light on start | 0 |
| 1014 | Proximity enable | 1 |
| 1015 | Proximity threshold | 2 |