Anonymous

Changes

From Pumping Station One
Added in link to the slide guide.
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.
 +
 
 +
= [https://docs.google.com/presentation/d/1iQn0SDjKX9Dykwn_gEgH4QC34FI7oypjuSCAS7bxPEo/edit Guide with pictures!] =
 +
I wrote up the text guide here in a bit of a rush and then wasn't looking forward to tossing up pictures into the wiki. A friend suggested I just come up with a [https://docs.google.com/presentation/d/1iQn0SDjKX9Dykwn_gEgH4QC34FI7oypjuSCAS7bxPEo/edit slide deck which is what I did]. The slides provide pictured instructions for all of the assembly however link back here for the WLED programing steps. At some later point in time I'll add in pictures for the WLED stuff.
 +
 
 +
[[File:WLED_Guide_Link.png|500px|link=https://docs.google.com/presentation/d/1iQn0SDjKX9Dykwn_gEgH4QC34FI7oypjuSCAS7bxPEo/edit|Click here for the guide with pictures!]]
    
= Prerequisites =
 
= Prerequisites =
Line 11: Line 16:     
= Parts =
 
= Parts =
During this meetup I will provide all parts needed (while supplies last). I will have a handful of my own USB cables and a large charger brick to test strips with, however you'll need to use your own when you take your strip home. The parts are provided for free to anyone attending, however if you want to kick back money please consider donating to PS1.
+
'''During this meetup I will provide all parts needed''' (while supplies last). I will have a handful of my own USB cables and a large charger brick to test strips with, however you'll need to use your own when you take your strip home. The parts are provided for free to anyone attending, however if you want to kick back money please consider donating to PS1.
    
* [https://www.amazon.com/s?k=WS2812B Addressable LED Strip, WS2812B 5V], 1 meter (strips provided will have 60 LEDs per meter)
 
* [https://www.amazon.com/s?k=WS2812B Addressable LED Strip, WS2812B 5V], 1 meter (strips provided will have 60 LEDs per meter)
Line 19: Line 24:  
* [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)
 +
 +
= Extra shown off parts =
 +
I showed off a couple other items that aren't part of this kit. Here's a list of them.
 +
 +
* [https://www.aliexpress.us/item/2251832671740023.html Wemos Mini D1 ESP32], can drive more LEDs and faster than the ESP8266
 +
* [https://www.aliexpress.us/item/3256801079332896.html WS2812B LED panels], I showed off the 16x16 panels which can also be run by WLED's 2D matrix mode
 +
* [https://www.amazon.com/gp/product/B094XZBTTX/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1 Generic Aluminum LED V channel], these are of a very standard consistent size of 16mm^2 and are very cheap, however the downside is light diffusion on them isn't the best
 +
* [https://www.amazon.com/gp/product/B07P7NJ9PF/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&th=1 Muzata Spotless Aluminum LED U Channel], these have better light diffusion than the V channels but cost a bit more
 +
 +
= 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 47:     
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 74:  
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 87:  
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 117:  
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 138:  
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 150:  
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 156:  
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.