A simple Python application to control some arduino functions from a GUI over the serial USB port.
Report Bug
·
Request Feature
A basic example of a python GUI to read and write to a Aduino over the serial port. In this example a Arduino UNO was used and the functinoallity is based on reading the a0 analog input port and sending the data over serial in a JSON format. The Arduino UNO also has a command that can be send over the serial console to toggle the pin 13, you just have to send 0.
The project consists of 2 parts the Arduino Sketch PSI.ino
and the python GUI main.py
If you want your own copy just follow this steps
git clone https://github.com/adkoprek/ArudinoPySerial
- Python 3 interpreter
- Arduino IDE
- Tkinter:
pip install tk
- Serial:
pip isntall pyserial
- Load the Sketch onto an Arduino board of your choise
- Start the Python program
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE.txt
for more information.