So I had this led strip laying around and wanted to put it behind my tv but I didnt want to use a app for this, I want to perform specific automatations so best option is to use home assistant, and thus esphome for controlling the lights. it might be more expensive than comercial methods but cheaper if you found electronics in the garbage like me :)
video:
also the original code is not made by me but by Wagnerf on a home assistant forum.
here is the link to his comment and code, as well as a schematic
https://community.home-assistant.io/t/esphome-esp32-led-strip-controller/203658/19
I did however some changes in order for the code to compile
post made on 23rd of november 2022
first you have to have installed and running esphome and home assistant.
First burn the code to the esp32
Once complete remove power from esp32 and start adding components in a breadbard, pcb, or any method you want following the schematics.
Make sure that the development board for the esp32 you are using has vin port and make sure it is hooked up directly to the 3.3v voltage regulator. and set the lm 2596 to output 3.3v; or 5v if you want less current through the cables (its not big of a deal) but DONT give 12v to esp32.
pin 21 is red channel
pin 19 is green channel
pin 18 is blue channel
Comments