- RGB led blinking through website hosted under home network.
- User can controll the blinking of RGB light through web portal from any device connected under same network
- Python + Arduino project.
- Arduino board
- RGB light
- Buzzer
- Battery
- Download Arduino IDE from here
- Download this repo
- Upload
StandardFirmata.ino
code in arduino - Download python3.X and install libraries in
requirements.txt
through this command:-
pip3 install -r requirements.txt
Arduino PINs | Electronic device |
---|---|
Pin 2 | Positive terminal of buzzer |
Pin 3 | Red terminal of rgb light |
Pin 4 | Green terminal of rgb light |
Pin 5 | Blue terminal of rgb light |
GND | Negative terminal of buzzer |
5V | Cathode point of RGB light |
- Connect arduino with your system
- Open file
StandardFirmata.ino
and upload the folder - Download this repo
git clone https://github.com/abhineetraj1/arduino-iot-project
- Open the folder of code
cd arduino-iot-project
- Open terminal in that folder
- Enter folder code into terminal and hit enter
flask run -h 0.0.0.0
- Open any device that is connected to same network or wifi
- Open the url (printed in the terminal)
Enjoy!!
Make sure you have connected the laptop and the mobile with same network or wifi
- This can be used as an application in smart home system, where your can turn on and off appliances according to your will thorugh your mobile phone or devices connected under home network.
- This can be used in smart office, where your can turn on and off office lights, systems ...etc according to your will thorugh your mobile phone or devices connected under home network.
- This can be used as an application in smart class, where your can turn on and off hall lights according to your will thorugh your mobile phone or devices connected under home network.