How to Flash WLED to your WT32-ETH01 microcontroller

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
how do you set up the wt32 eth01 board with wled software so that it can be part of your home light show we're going to cover this in today's video so come join me [Music] i have to begin with a story about these boards while i solder these pins a lot of the ethernet boards that are available are power over the ethernet or poe this means that they don't need an external power supply hooked in through their pins but they can power on through their ethernet connection if your network supports poe since my controllers would be encased with the same power supply that powered the lights i could go with the cheaper option that didn't have poe support when i first purchased these boards on amazon they were advertised like this with no pins however to my surprise they came like this if you notice the mail pins were soldered so that the components on the board and the ethernet jack got in the way it couldn't be mounted on a perf board or a solderless breadboard rather than trying to desolder them or just let them stand free i made two rigs out of female connectors and perf boards so i can mount these boards upside down to a solderless breadboard the good news is a few of us left comments and the manufacturer listened this is their response they now come with the pins separate so you can choose how you want to orient your pins hence i'm soldering them like this now that we've soldered the pins to our board we need to flash it with the software and unfortunately this particular board doesn't come with a usb port so we have to connect our own usb port with this adapter essentially this adapter will allow us to program it with our computer and platform i o so we'll start off with how do i map the pins so using jumper pins i'll need to attach some of these pins on this side of the board this adapter to the board itself and essentially what that is is that i need to attach the transmit side you'll see this pin called txt which means transmit data and that needs to be connected on to the rxd pin on the board which is receive data so if i'm transmitting and the board is receiving then whenever i'm receiving i need to get my rxd pin up to my transmit board so that way the board and the adapter are talking once that's done i need to connect the ground to one of the ground pins there's a couple ground pins you see here but i like to attach it to this ground pin because uh it's close to the five volt this five volt pin will power our board lastly we need to put this in programming mode by default the board thinks that it needs to run the program whatever's installed on it right now however this pin the io zero pin if this is pulled to ground that tells the board it's ready for programming so i have a fifth wire here that connects the i o to ground now that we've identified which pins go to which let's start off with downloading wled so if you were to google wled first you'll see the knowledge page which is their primary page talking about the project but the second page is the actual github page here if you go and click on tags if you go right to this button here and click on tags you'll see all the different builds that are available highlight the the build you want and then go to code and download zip and this will download a zipped up folder with the actual source code to your drive once you've done that then we need to make sure that we've downloaded uh vs code so here we've downloaded a vs code and we once we've done vs code you need to go to your extensions and look for platform io you'll see this little alien over here now that i've taken my zip folder i've downloaded my zip and i've got my code i'm going to open the folder find where i've unzipped that file i need to trust the authors and now i should see a whole bunch of uh files open up one of those thing one of those files that you see open up is this platform io.e and this is essentially the master configuration file and i'll give you the default builds here but the board we care about is the esp32 eth environment build i need to start off with this platform i o core cli because we need to download all the different libraries that this board requires so this particular build requires other libraries in order to work so by going over here clicking on platform ios core cli i need to type in pio lib install what this will do is it will go through and find all the different builds and pull down the right libraries and cache them locally now that i've got the libraries done i'm ready to flash this thing so making sure i have the pins in the right place make sure i don't want to put the wrong 5 volt pin in the wrong place i can insert it into my computer you'll see the red light go on and we are ready to go up here you'll see we'll find our board in this case it's the esp32 eth board we want to go to the upload button and we'll upload that all right you should start see this building it's building it from scratch finding the libraries we've already downloaded and now it's compiling i'll wait for this to finish okay sometimes it fails so we'll try that again [Music] okay now that's done compiling we'll start to see it load you can see the percentages now this is the more challenging way and the reason why i like to do this is because i like to make sure that you know i i have the source code of what i'm loading up i don't want i'm not comfortable with a pre-compiled binary because i never know what's on it but you can take the easier route if you'd like and download the binaries from the github they've already got the pre-compiled binary so you'll just need a flashing tool instead of vs code to do it okay you notice that the blue light has stopped uh i think it's marked as success so now we've loaded it okay at this point i am going to pull it out and i am going to take off this jumper here so it's no longer in programming mode i still have to power it up so i can see the access point and configure it so that it'll hook to my ethernet by default it'll be a wireless hookup and we'll be able to pick up the wireless access point and program it [Music] okay so now that i've got this particular view i'm going to plug in my board and it should start to transmit my access point if i go to my network okay and there it is you see wled ap connecting all right i'm connected and now if i go to 4.3.2.1 i should see my configuration screen i can go to my wi-fi settings okay so here is where i would set up my particular configuration if i wanted to hook it to my wireless network i could i could put my ssid here and my uh my gateway if i care to have that this is the um address local i'll need to rename this to something because this is the default wled ap whenever the board is not hooked up to a wired network through the ethernet jack or wireless it'll be its own access point you don't want it to be the default name and password wled1234 you want to change that to something that's different so if you have to spin it up nobody can jump on and here is where we want to mark this as an ethernet type so there's a couple ethernet boards and i think the w32 eth01 is the cheapest kind so once we've done that i can now plug it in it'll be another ethernet node on my network now i can i can go to my router and set this to a static ip address so that my falcon pi player can see it and know how to address it for my show this concludes this video thanks for watching you
Info
Channel: Bytes Of Pi
Views: 21,055
Rating: undefined out of 5
Keywords: wled, wled install, wled controller, xlights controller, vscode, BytesOfPi, Light, Show, VSCode, WLED, WT32-ETH01, pixel, xLights, light show, diy leds, diy led, diy pixels, diy pixel, install wled
Id: nvM-QI4Z_M4
Channel Id: undefined
Length: 8min 44sec (524 seconds)
Published: Fri Apr 01 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.