Anonymous

Changes

From Pumping Station One
m
no edit summary
Line 1: Line 1:  
= Premise and goal =
 
= Premise and goal =
[https://kno.wled.ge/ WLED] is an open source web server that runs on ESP boards to control addressable LEDs. This page documents a bit of a crash to have a 1 meter strip of blinky LEDs you can control over wifi!
+
[https://kno.wled.ge/ WLED] is an open source web server that runs on ESP boards to control addressable LEDs. This page documents a bit of a crashcourse to have a 1 meter strip of blinky LEDs you can control over wifi!
   −
I'm [[user:rubin110|Rubin]], and am hoping to run at least 1 instant of this class. You can find me on #smart-home in the PS1 Slack.
+
I'm [[user:rubin110|Rubin]], and am hoping to run at least 1 instance of this class. You can find me on #smart-home in the PS1 Slack.
    
= Prerequisites =
 
= Prerequisites =
Line 19: Line 19:  
* [https://www.printables.com/model/491146-wemos-d1-mini-v40-case-wled Enclosure for the ESP8266], I designed these specifically for the Wemos Mini D1 ESP8266 V4.0
 
* [https://www.printables.com/model/491146-wemos-d1-mini-v40-case-wled Enclosure for the ESP8266], I designed these specifically for the Wemos Mini D1 ESP8266 V4.0
 
* USB Cable, USB charger/power supply (available to test at PS1 but you'll need to use your own when you go home)
 
* USB Cable, USB charger/power supply (available to test at PS1 but you'll need to use your own when you go home)
 +
 +
= Power supply notes =
 +
The WS2812B requires 5V to power the LEDs, as does the Wemos D1 board. Typically you will want to power both the strip and the board from a 5V power supply. For this short 1 m strip we're going to cheat and provide power to the LED strip from the USB port on the Wemos board. If you want to put together a new strip that's longer and requires more power you'll want to use a proper 5V power supply with more amps wired directly to the strip. Googling around you can find plenty of help on how to power strips. '''Do not power more than 60 LEDs via the Wemos USB port''', you risk frying the board.
    
= Steps =
 
= Steps =
Line 31: Line 34:     
Put shrink tubing around LED strip. Make sure the shrink tubing is at least 5 cm up and away from the end of the LED strip so you don't accidentally start shrinking it with the heat from the soldering iron
 
Put shrink tubing around LED strip. Make sure the shrink tubing is at least 5 cm up and away from the end of the LED strip so you don't accidentally start shrinking it with the heat from the soldering iron
      
Apply flux and pre-tin 3 solder pads on the side of the LED strip with the arrows going INTO the strip.
 
Apply flux and pre-tin 3 solder pads on the side of the LED strip with the arrows going INTO the strip.
Line 59: Line 61:  
Gently pull the wires back out the case and slide/pop the board into the case.
 
Gently pull the wires back out the case and slide/pop the board into the case.
   −
 
+
== Test for shorts ==
Test for shorts
   
Do not plug the connectors together yet. Do not plug USB into a computer.
 
Do not plug the connectors together yet. Do not plug USB into a computer.
   Line 73: Line 74:  
Pop the cap to the case.
 
Pop the cap to the case.
   −
 
+
== Flashing the ESP8266 with WLED ==
 
  −
Flashing the ESP8266 with WLED
   
Do not plug in the board to your computer yet
 
Do not plug in the board to your computer yet
   Line 105: Line 104:  
Open up webpage (you may need to tell Chrome that you’re ok connecting with an unsecure webpage)
 
Open up webpage (you may need to tell Chrome that you’re ok connecting with an unsecure webpage)
   −
 
+
== Connect to and configure WLED ==
 
  −
 
  −
Connect to and configure WLED
  −
 
   
Once you’re on the web page for your WLED strip from the previous step
 
Once you’re on the web page for your WLED strip from the previous step
   Line 130: Line 125:  
Hit Save. Hit Back.
 
Hit Save. Hit Back.
   −
Use WLED, quick crash corse
+
== Use WLED, quick crashcourse ==
    
There’s a power button in the top left. You’ll need to research how to have defaults setup for when WLED is first plugged in.
 
There’s a power button in the top left. You’ll need to research how to have defaults setup for when WLED is first plugged in.
Line 142: Line 137:  
In the Effects column/screen you can select an effect to make the LED strip do cool stuff with the color palette. Try Phased. Some of the effects will have hard set color palettes of themselves. At the bottom of the effects screen there will be sliders to play with the speed of the effect or the intensity. Some effects will require a mic to be soldered into the board to do anything.
 
In the Effects column/screen you can select an effect to make the LED strip do cool stuff with the color palette. Try Phased. Some of the effects will have hard set color palettes of themselves. At the bottom of the effects screen there will be sliders to play with the speed of the effect or the intensity. Some effects will require a mic to be soldered into the board to do anything.
   −
Moving WLED to a different wifi network, like at your house.
+
== Moving WLED to a different wifi network, like at your house. ==
    
When WLED cannot find the wifi network it was previously configured to it should open up its own wifi network where you can connect to and reconfigure the wifi network settings in the Config menu. Once moved you can use one of the WLED phone apps to scan and find the device on your wifi network.
 
When WLED cannot find the wifi network it was previously configured to it should open up its own wifi network where you can connect to and reconfigure the wifi network settings in the Config menu. Once moved you can use one of the WLED phone apps to scan and find the device on your wifi network.
Line 148: Line 143:  
If after 3 minutes you don’t see a “WLED” wifi network come up then you can plug the board back into a computer and go back to install.wled.me. When you tell the website to “install” again it’ll detect WLED already existing and offer an option to change the wifi network. Again note down the IP address, or try one of the apps.
 
If after 3 minutes you don’t see a “WLED” wifi network come up then you can plug the board back into a computer and go back to install.wled.me. When you tell the website to “install” again it’ll detect WLED already existing and offer an option to change the wifi network. Again note down the IP address, or try one of the apps.
   −
WLED Phone App
+
== WLED Phone App ==
    
The phone apps can most of the time find WLED instances on your network automatically.
 
The phone apps can most of the time find WLED instances on your network automatically.
   −
Home Assistant
+
== Home Assistant ==
 
If you have Home Assistant running, you can go to Settings > Devices & services. HA might auto discover WLED already on your network and give you an option to add the device. If HA doesn’t auto discover it, then just click Add Integration, select WLED, and provide the IP address.
 
If you have Home Assistant running, you can go to Settings > Devices & services. HA might auto discover WLED already on your network and give you an option to add the device. If HA doesn’t auto discover it, then just click Add Integration, select WLED, and provide the IP address.
   −
WLED and beyond
+
= WLED and beyond =
 
Pop into #smart-home in the PS1 Slack if you’ve got more questions!
 
Pop into #smart-home in the PS1 Slack if you’ve got more questions!
24

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.