-
1Search components
Get any spare Esp32 board and prepare to compile. Get some RGB Leds and a spare PCB
-
2Compile the light example
-
3Soldiering
Build an RGB Led lamp taking in account to add a proper resistance and not passing the 30mA per gpio
-
43D print a lamp case
Make a nice 3D printed case. My own examples will be uploaded on the files of this project soon
-
5App installation
Install Esp Mesh app in Android (apk download) or in the Apple store to setup and control your lamp
-
6Make sure to add a resistance per line of RGB
At the end of the build you should end with 4 or 5 cables, depending if you add a White channel or not, 1 for common GND and 1 per color. If after initial measuring per Channel consumes less than 30mA then you are safe to connect it directly to the ESP32 endpoints: https://github.com/espressif/esp-mdf/tree/master/examples/development_kit/light
GPIO 04 PWM_Red
GPIO 16 PWM_GreenGPIO 05 PWM_Blue
GPIO 23 PWM_White (Cold)
-
7And that's it! Setup your lights
Connect it, install the App, if the Anodes are well connected to the right PWM Gpios it should blink yellow. Then turn on Bluetooth on your phone and open ESP-Mesh app, discover the new device, and tell the lamp what is your WiFI Password. That's it! Now you have a WiFi IoT Lamp ready to be controlled by using MQTT Messages.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.