Skip to content

abhineetraj1/arduino-iot-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Arduino iOT project

alt text

  • 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.

Requirements

  • Arduino board
  • RGB light
  • Buzzer
  • Battery

Installation

  1. Download Arduino IDE from here
  2. Download this repo
  3. Upload StandardFirmata.ino code in arduino
  4. Download python3.X and install libraries in requirements.txt through this command:-
pip3 install -r requirements.txt

Circuit of Arduino

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

Execution

  1. Connect arduino with your system
  2. Open file StandardFirmata.ino and upload the folder
  3. Download this repo
git clone https://github.com/abhineetraj1/arduino-iot-project
  1. Open the folder of code
cd arduino-iot-project
  1. Open terminal in that folder
  2. Enter folder code into terminal and hit enter
flask run -h 0.0.0.0
  1. Open any device that is connected to same network or wifi
  2. Open the url (printed in the terminal)

Enjoy!!

Note:-

Make sure you have connected the laptop and the mobile with same network or wifi

Uses

  • 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.

Programming languages used

blender Python

Developer