Skip to content
This repository has been archived by the owner on Dec 29, 2021. It is now read-only.

This code is what allows the connection between the Arduino and Computer. This code gets the status from a server and sends it via Serial to an Arduino.

License

Notifications You must be signed in to change notification settings

Shaking-Hands-Overseas/Arduino-Serial-Hand

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

[DEPRECATED] Arduino-Serial-Hand

This code is what allows the connection between the Arduino and Computer. This code gets the status from the server and sends it via terminal to an Arduino.

Important Information:

This code is limited to use data up to 999, further than that will raise an error. This is a work in progress and it is to be solved.

Installation Guide:

  1. Download the lastest version from releases in this repository or clone the repository using the following command:
git clone https://github.com/Shaking-Hands-Overseas/Arduino-Serial-Hand
  1. Install Necessary Dependencies using pip:
pip install pyserial
  1. Connect your Arduino to your computer and through the Arduino IDE find the Serial Port. Also I recommend using my arduino firmware, but feel free to use whatever you prefer.

  2. Open the code via your text editor and specify on the URL Variable your API URL

  3. Go to the cnt_index and change it accordingly to your data.

  4. Go to the num variable, where the string that will be sent to the arduino is created and modify it according to your data.

With the above should work just fine.

Todo List for next Versions:

  • Simplify the way in which the API settings are used into a single JSON File
  • Add Support for Longer Numbers than 999

About

This code is what allows the connection between the Arduino and Computer. This code gets the status from a server and sends it via Serial to an Arduino.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages