RGB LED Strip Light control using Raspberry Pi 3, Raspberry Pi Zero, and a basic HTML/JS Site
This project has been recreated with RGBW Lights In the repo titled RaspberryPi-RGBW-Control. Find it here: https://github.com/naztronaut/RaspberryPi-RGBW-Control
And find more info at https://www.easyprogramming.net/raspberrypi/rgbw_led_strip.php
- PIGPIO library installed on your pi - PIGPIO Library
- PHP 5+
- jQuery/Bootstrap libraries for the layout and AJAX. Can use a CDN or locally downloaded version
- jscolor picker library
- Raspberry Pi (this has been tested with Pi 3 and Pi Zero/W)
- Three MOSFET Transistors Type N-Channel - should be a logic-level transistor. E.g. IRL2203 or IRLU024
- RGB LED Strip
- Connectors/Wires and Power sources for Pi and Lights
Check out the demo on YouTube at the following link: https://www.youtube.com/watch?v=ddv5vsHgYhI
Nazmus Nasir - Easy Programming
Due to my beginner knowlege of Python, there's a layer of PHP between the JavaScript and actual Python being executed on the Pi. This has been tested on Raspbery Pi 3 and Raspberry Pi Zero. I'll keep updating this when I have time and eventually include a diagram of the connections.
More info on this can be found on https://www.easyprogramming.net/playground/raspberry_pi_led_strip_control.php Feel free to ask questions on Easy Programming.
If you have questions, there are many ways to get in touch with me!
- Ask in the comments section of the YouTube video, I am generally very good at responding to questions.
- Ask in the comments section of EasyProgramming.net. Every tutorial comes with a Disqus section to allow a meaninful discussion
- If a repository exists on Github, open an issue!
- This should be used as a last resort because I check this email every once in a while and don't guarantee a response, but if you must, you can use the contact form found here: https://www.easyprogramming.net/contact.php