=====================================================
This project allows you to control multiple LED bulbs remotely using a web interface. The system consists of an Arduino board connected to the LED bulbs, and a Flask web application that communicates with the Arduino board using serial communication.
- Arduino board (e.g. Arduino Uno)
- LED bulbs
- Breadboard and jumper wires
- Serial cable (USB to serial)
- Arduino IDE
- Python 3.x
- Flask web framework
- Serial library for Python
- The Arduino board is connected to the LED bulbs and configured to receive serial commands.
- The Flask web application is run on a computer connected to the same network as the Arduino board.
- The user accesses the web interface using a web browser and sends commands to turn the LED bulbs on or off.
- The Flask application receives the commands and sends them to the Arduino board using serial communication.
- The Arduino board receives the commands and turns the corresponding LED bulbs on or off.
app.py
: The Flask web application codetemplates/index.html
: The web interface HTML filewebLED/webLED.ino
: The Arduino code
- Clone the repository and navigate to the project directory.
- Install the required Python packages using
pip install -r requirements.txt
. - Upload the Arduino code to the Arduino board using the Arduino IDE.
- Run the Flask application using
python app.py
. - Access the web interface using a web browser at
http://localhost:5000
.
This project is licensed under the MIT License. See LICENSE
for details.