-
Notifications
You must be signed in to change notification settings - Fork 5
Led RGB Laboratory
Led RGB laboratory is a website platform that interacts remotely with hardware laboratory. This hardware laboratory is built in Arduino board and has a Led RGB. So with this repository you can control the color of the Led RGB light using wbsockets trough Raspberry Pi from any place in the world.
The file of server side are located into ../js/ folder (server.js). This file manage and open the serial port (Arduino communicaton) and websockets using Raspberry Pi architecture.
Remember load into Arduino board the file located into ../arduino/ folder (led_rgb.ino).
The file of client side is into ../led_rgb/ folder (index.html). This file uses the bootstrap library and let the client access to a simple interface to manage the values of different colors into the Led RGB.
When you go to inedx.html you can see 3 sliders. Every of them control the color of one of the ranges used by led RGB (red, green, blue). You only have to select your combination and click on the button to send this combination to the raspberry Pi and to Arduino. So the led RGB starts to blink with the colour combined selected.
If you need information about the process to install the files into Raspberry Pi, please visit: How to use Node.js and Socket.io laboratories with Raspberry Pi and Arduino