Wi-Fi Controlled LED Strip with Wemos D1 Mini and IKEA Trådfri Driver
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This circuit is designed to control a WS2812 RGB LED strip using a Wemos D1 Mini microcontroller. The circuit includes a MOSFET for switching, a resistor for current limiting, and an LM2596 voltage regulator to step down the voltage from an IKEA Trådfri LED driver. The Wemos D1 Mini runs the WLED software to control the LED strip.
Component List
Wemos D1 Mini
- Description: A compact microcontroller board based on the ESP8266.
- Pins: RST, A0, D0, D5, D6, D7, D8, 3V3, 5V, G, D4, D3, D2, D1, RX, TX
nMOS Transistor (MOSFET)
- Description: A type of transistor used for switching and amplifying electronic signals.
- Pins: gate, drain, source
WS2812 RGB LED strip
- Description: An addressable RGB LED strip.
- Pins: DIN, 5V, GND, DO
LM2596
- Description: A voltage regulator used to step down voltage.
- Pins: IN, OUT
IKEA Trådfri LED driver 30w
- Description: A 30W LED driver providing 24V output.
- Pins: - 24v, + 24v
Conactor
- Description: A connector used for making electrical connections.
- Pins: POSITIF, NEGATIF
Resistor
- Description: A 47k Ohm resistor used for current limiting.
- Pins: pin1, pin2
- Properties: Resistance: 47k Ohms
Comment
- Description: Placeholder for comments in the circuit.
- Pins: None
Wiring Details
Wemos D1 Mini
- D0 is connected to pin1 of the Resistor and gate of the nMOS Transistor (MOSFET).
- D6 is connected to POSITIF of a Conactor.
- 5V is connected to NEGATIF of a Conactor and OUT of the LM2596.
- G is connected to pin2 of the Resistor, source of the nMOS Transistor (MOSFET), and OUT of the LM2596.
nMOS Transistor (MOSFET)
- gate is connected to D0 of the Wemos D1 Mini and pin1 of the Resistor.
- drain is connected to POSITIF of a Conactor.
- source is connected to G of the Wemos D1 Mini, pin2 of the Resistor, and OUT of the LM2596.
WS2812 RGB LED strip
- DIN is not connected in the provided net list.
- 5V is connected to NEGATIF of a Conactor.
- GND is connected to POSITIF of a Conactor.
- DO is connected to POSITIF of a Conactor.
LM2596
- IN is connected to POSITIF and NEGATIF of a Conactor.
- OUT is connected to 5V and G of the Wemos D1 Mini, pin2 of the Resistor, and source of the nMOS Transistor (MOSFET).
IKEA Trådfri LED driver 30w
- - 24v is connected to NEGATIF of a Conactor.
- + 24v is connected to POSITIF of a Conactor.
Conactor
- POSITIF is connected to D6 of the Wemos D1 Mini, drain of the nMOS Transistor (MOSFET), DO of the WS2812 RGB LED strip, IN of the LM2596, and + 24v of the IKEA Trådfri LED driver 30w.
- NEGATIF is connected to 5V of the Wemos D1 Mini, 5V of the WS2812 RGB LED strip, IN of the LM2596, and - 24v of the IKEA Trådfri LED driver 30w.
Resistor
- pin1 is connected to D0 of the Wemos D1 Mini and gate of the nMOS Transistor (MOSFET).
- pin2 is connected to G of the Wemos D1 Mini, source of the nMOS Transistor (MOSFET), and OUT of the LM2596.
Documented Code
Wemos D1 Mini
sketch.ino
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
documentation.txt
ESP D1 mini placerad ovanför diskbänksöverskåp i köket.
Programvaran är WLED.
Den styr LED-lister SK6812, 5V. Det är tre "slingor" med totalt 75 LEDs
Bakom kryddhyllan sitter en IKEA Trådfri LED driver 30w där vi plockar ut 24V som sedan görs om till 5V.
ESPn styr en FETMos som ger LED-listen jord.
Comment
sketch.ino
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
documentation.txt
WLED, http://192.168.1.194/