You might need used RGB led mild and used it within the room for adornment and different lighting functions. You may additionally have used the WiFI-based RGB mild changer the place you possibly can management the RGB led coloration over wifi however these RGB led change coloration on the similar time. If you wish to activate one explicit LED from 100 or 1000 or lakh of LEDs related, then you definately won’t be capable of do. Identical for if you wish to change the colour of the led related in a centesimal rows and need to change the colour of any explicit led by your alternative, you would possibly face an issue.
So right here we designed an addressable led mild controller utilizing ESP32 so that you individually name a specific led and management the brightness and coloration in response to your alternative. you possibly can handle all LEDs, notably led or any particular person RGB LEDs related in between 1000s or lakhs of LEDS with one another.
Invoice of Supplies
Right here is the listing of all of the parts wanted to construct an Addressable RGB LED Controller-
Addressable RGB LED Controller – Programming
Right here First we have to set up the APA102 library that helps us to ascertain the reference to LEDs.
After that, we have to configure the Wi-FI to attach it to our dwelling community, after which we have to create a webpage consisting of three sliders, one textual content entry RGB tackle entry, and one replace button to replace the RGB LED to our desired standing. (Confer with fig 2).
Now we are able to get the values of RGB to replace the led and tackle for an LED replace right here. You can both use the number_led to replace the entire led as much as that tackle with the entered RGB worth or change the RGB worth of that specific led that you just entered the tackle of the in-text bar.
Obtain Supply Code
Addressable RGB LED Controller – Circuit Connections
Now join all of the RGB LED wires collectively regardless of its 100, 10000, or lakhs; join the information line pin of all RGB to the information line pin and clock to clock and VCC to VCC and GND to GND pins of Addressable RGB LED.
Right here I’ve used the 12-circular RGB LED array; you need to use round, rectangular, or lengthy led strips with any variety of LEDs. Then join the LEDS wires in response to the next circuit diagram.
First, join the ESP32 to USB after which wait to get it to attach with the WiFi community that you just set within the code, then open the serial port with the baud charge that you’ve got set within the code.
Right here I’ve used 115200 and it’ll let you know the IP tackle; observe the IP tackle.
Now you possibly can open the webpage on any cellphone or laptop computer related to the identical WiFi community by looking that IP tackle in an online browser.
Now enter the tackle of the RGB LED that you just need to management if you wish to change the twelfth quantity led in magenta, then enter 12 after which transfer the RGB sliders and faucet on replace the twelfth quantity, RGB LED will replace with that color.
Examine the extra such attention-grabbing DIY Electronics Tasks.