Skip to content

Commit

Permalink
Merge pull request #224 from DedeHai/main
Browse files Browse the repository at this point in the history
  • Loading branch information
blazoncek authored Oct 12, 2024
2 parents 4f04795 + fd30730 commit 3c89a1e
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 9 deletions.
Binary file added docs/assets/images/content/12Vanalog_wiring.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 9 additions & 6 deletions docs/basics/compatible-led-strips.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,26 +38,29 @@ UCS8904 | 5-24 V | RGBW

## Non-Addressable LED Strips

WLED supports non-addressable LED strips as well. Unlike addressable strips, non-addressable strips require a pin for each "color" channel and all LEDs are controlled the same way. To drive these strips, additional circuits (MOSFETs) are required. A basic circuit diagram is shown here. You need one MOSFET and one GPIO per color. It should be noted that the MOSFETs are destroyed very quickly in the event of an overload. To reduce the risk of fire and prevent personal injury, additional circuit elements should be implemented to protect MOSFETs from overtemperature and overload. Depending on the type, fuses are too slow for this! You might consider using self-protected MOSFETs too or the entire MOSFET circuit can be packed into a fire-retardant (e.g. metallic) housing.
WLED supports non-addressable LED strips as well. Unlike addressable strips, non-addressable strips require a pin for each "color" channel and all LEDs are controlled the same way. To drive these strips, additional circuits (MOSFETs) are required. Basic circuit diagrams for RGB strips are shown here. You need one MOSFET and one GPIO per color. It should be noted that the MOSFETs are destroyed very quickly in the event of an overload. To reduce the risk of fire and prevent personal injury, additional circuit elements should be implemented to protect MOSFETs from overtemperature and overload. Depending on the type, fuses are too slow for this! You might consider using self-protected MOSFETs too or the entire MOSFET circuit can be packed into a fire-retardant (e.g. metallic) housing.

![Controlling analog LED strios](../assets/images/content/pic29.jpg)
![Controlling analog LED strips](../assets/images/content/12Vanalog_wiringRGB.png)

![Controlling analog LED strips](../assets/images/content/pic29.jpg)

Recommended MOSFETs are IRLZ44N or STP55NF06L. A much smaller SMD alternative is the AO3400 which can be used up to 24V and 3A. The pulldown resistor from **G**ate to **S**ource prevents the LEDs turning on when the GPIO is disabled or powered down. The resistor between the GPIO an the **G**ate is to protect the GPIO from overload and reduces voltage ringing. To increase switching speed, add a SN74(A)HCT125 [level shifter](/basics/compatible-hardware#levelshifters) between GPIOs and gate-resistors.

As of v0.13.1, WLED supports single color, CCT, RGB, RGBW and RGBCCT strips. These strips are commonly found at 12 or 24 volts.
The default PWM frequency for dimming is 880 Hz on ESP8266 and 19531 Hz for ESP32.

_See **NOTE** at the end before trying the below amplifiers._

The commercially available so-called RGB(W) LED amplifiers can also be used (also called repeaters/boosters). These typically include optocouplers and MOSFET circuitry (1 to 5 channels) and can be used, for example, as follows:

![Controlling analog LED strios](../assets/images/content/pic44.jpg)
![Controlling analog LED strips](../assets/images/content/pic44.jpg)

Note that there is no GND connection between the controller and the amplifier. And this despite the fact that with all other WLED circuits it is always said that all GNDs must be connected to each other. This special feature is due to the fact that the inputs of the amplifier are galvanically decoupled from the outputs by optocouplers and the amplifier in this circuit is used slightly differently than its usual application.

You can connect the GPIOs directly (3.3V signal level) to the input of the amplifier or, if you use a ready-made WLED controller, you can also use the data outputs (of the level shifter, i.e. 5 V signal level). You can also use both at the same time:
![Controlling analog LED strios](../assets/images/content/pic46.jpg)
![Controlling analog LED strips](../assets/images/content/pic46.jpg)

The amplifier shown in the picture is a cheap product. Its advantage is a metal case. However, its circuit is very simple:
![Controlling analog LED strios](../assets/images/content/pic48.jpg)
![Controlling analog LED strips](../assets/images/content/pic48.jpg)

The simple structure means that the duty cycle of the PWM signal (the ratio between pulse and period duration) at the output is slightly distorted compared to the input. In many cases this is not critical, but it does result in the color composition of an RGB strip being slightly distorted. A significantly better (and slightly more expensive) version is described in <a href="https://media.elv.com/file/143195_led_rgbw_repeater.pdf" target="_blank">this article (in German, includes schematics)</a>. Here the MOSFETs are controlled with push-pull drivers. This and some other measures in the circuit mean that the PWM signal is reproduced very accurately at the output.

Expand Down
7 changes: 4 additions & 3 deletions docs/basics/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,11 @@ While using an ESP8266 and LEDs that have clock and data, you can either use har
For safe operation, it is recommended to size your power wires correctly and to integrate fuses.
For reference, you may use this [LED power, wiring and fuse calculator](https://wled-calculator.github.io/).

For analog LEDs, the MOSFETs IRLZ44N or STP55NF06L are good candidates. Partial, example circuit:
For analog LEDs, the MOSFETs IRLZ44N or STP55NF06L are good candidates. Example circuit:

![image](https://github.com/Aircoookie/WLED-Docs/assets/59397047/87e3f4ef-05fb-452a-8cc1-d0187254b466)
![image](https://user-images.githubusercontent.com/59397047/166152797-111eccae-1942-45d2-8980-1b584ebdeaf9.png)
![image](../assets/images/content/12Vanalog_wiring.png)

More wiring examples can be found [here](/basics/compatible-led-strips/#non-addressable-led-strips)

**2.** Flash the software to your ESP module! There are two options for this step:

Expand Down

0 comments on commit 3c89a1e

Please sign in to comment.