A web based controller interface for arduino.
- Arduino AVR board
- Arduino IDE
- python3
Clone this repository
git clone [email protected]:tirtharajsinha/Arduino-controller.git
Clone the arduino repository
git clone [email protected]:tirtharajsinha/arduino.git
- Connect the arduino board
- open the arduino IDE
- select the board and port number(something like
COM5
) - Now open
Arduino\control_arduino_from_thirdparty\control_arduino_from_thirdparty.ino
in arduino ide. - install the required libraries listed below.
- open the Arduino-controller repo in terminal and run following command.
virtualenv venv ./venv/Scripts/activate pip install -r requirements.txt
- Now open the util.py in current location repo in notepad and change the
PORT
variable as per your case. - Connect the circuit available the .ino code location.
- Open the arduino ide and validate and upload the script.
- Open serial monitor. You should see the
0#XX
printing in the monitor. - type
led1
and press CTRL+ENTER. if you see one led lights up then you are good to go. othewise contact maintainer. if maintainer refuses then you are fucked up. - If everything is good, now go the app repo and run following command.
./venv/Scripts/activate python app.py
- Adafruit Circuit Playground by Adafruit
- Servo by Michael Margolis, Arduino
- DHT sersor library by Adafruit
- Adafruit Unified sensor by Adafruit
- By Tirtharaj Sinha