You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: components/led/lightbulb_driver/CHANGELOG.md
+12-4Lines changed: 12 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,11 @@
1
1
# ChangeLog
2
2
3
+
## v1.10.0 - 2025-08-19
4
+
5
+
### Improve:
6
+
7
+
* Added new dimming driver SM16825E
8
+
3
9
## v1.9.0 - 2025-08-11
4
10
5
11
### Improve:
@@ -61,7 +67,7 @@
61
67
62
68
### Enhancements:
63
69
64
-
* Remove linear dimming, default to enabling curve dimming for all.
70
+
* Remove linear dimming, default to enabling curve dimming for all.
65
71
66
72
## v1.4.0 - 2024-11-15
67
73
@@ -151,7 +157,7 @@
151
157
* The driver now supports setting white balance parameters for all channels. This means that you can adjust the white balance individually for each channel, allowing for precise control and customization of the lighting output.
152
158
* Increased the power limit range from 100-300 to 100-500, facilitating power setting for RGBWW beads.
153
159
* Introduced CCT output modes: standard mode (consistent with original scheme, mapping percentage to Kelvin values proportionally) and precise mode (setting individual percentages for each Kelvin value and predetermining current coefficients for each channel, scaling these coefficients proportionally during writing).
154
-
* Some configuration changes:
160
+
* Some configuration changes:
155
161
* Removed mode_mask from capability, now using led_beads to set the LED panel bead combination
156
162
* Renamed enable_mix_cct to enable_hardware_cct, fades_ms to fade_time_ms, and enable_fades to enable_fade
157
163
* Removed hardware_monitor_cb
@@ -194,6 +200,7 @@
194
200
* Add a phase delay function to the PWM drive, and after enabling this function, all channel outputs will be in a complementary state.
195
201
196
202
## v0.4.1 - 2023-8-30
203
+
197
204
### Bug Fixes:
198
205
199
206
* Fixed a thread safety issue.
@@ -347,8 +354,8 @@
347
354
### Enhancements:
348
355
349
356
* Initial version
350
-
351
357
* The following dimming solutions are supported
358
+
352
359
* PWM
353
360
* RGB + CW
354
361
* RGB + CCT/Brightness
@@ -360,13 +367,14 @@
360
367
* BP5758/BP5758D/BP5768D
361
368
* Single Line
362
369
* WS2812
363
-
364
370
* Support for power limit
365
371
* Support for color calibration
366
372
* Support for effect
373
+
367
374
* Blink
368
375
* Breathe
369
376
* Support for application layer capability configuration
The SM16825E is an RGBWY five-channel LED driver that uses an SPI interface and RZ coding protocol, supporting 16-bit grey scale control and current regulation.
171
+
172
+
```cpp
173
+
lightbulb_config_t config = {
174
+
//1. Select SM16825E output and configure parameters
175
+
.type = DRIVER_SM16825E,
176
+
.driver_conf.sm16825e.led_num = 1, // Number of LED chips
177
+
.driver_conf.sm16825e.ctrl_io = 9, // Control GPIO pin
178
+
.driver_conf.sm16825e.freq_hz = 3333000, // SPI frequency (default: 3.33MHz, auto-calculated based on RZ protocol timing)
179
+
180
+
//2. Driver capability selection, enable/disable according to your needs
The driver automatically calculates optimal timing based on datasheet parameters:
293
+
294
+
-**RZ Encoding**: 800Kbps effective transmission rate, 1200ns code period
295
+
-**SPI Frequency**: 3.33MHz, each SM16825E bit encoded with 4 SPI bits
296
+
-**Timing Parameters**:
297
+
- T0 bit: 300ns high level + 900ns low level
298
+
- T1 bit: 900ns high level + 300ns low level
299
+
- Reset signal: minimum 200μs low level
300
+
167
301
## Example of Limit Parameters
168
302
169
303
The primary purpose of limit parameters is to restrict the maximum output power and constrain the brightness parameters within a specific range. This component allows independent control of colored light and white light, which results in two sets of maximum/minimum brightness parameters and power parameters. Colored light uses the HSV model, with the value representing colored light brightness, while white light uses the brightness parameter. The input range for both value and brightness is 0 <= x <= 100.
@@ -195,16 +329,14 @@ input output
195
329
196
330
Power limit is applied after the brightness parameter limitations, and for the RGB channel adjustment, the range is 100 <= x <= 300. The relationship between input and output is as follows:
0 commit comments