Skip to content

This is a way for arduino and python to exchange only some variables while still running their own programs

Notifications You must be signed in to change notification settings

JanezCim/Python-Arduino-two-way-communication-over-Serial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Python-Arduino-two-way-communication-over-Serial

This is a way for arduino and python to exchange only some variables while still running their own programs. The communication on arduino is done with simple Serial.read and Serial.write, while on python two different programs are running at the same time. It is done by threading library.

Py2ArdComs.py takes care of communicating with arduino, while PythonMain.py runs at normal speeds and gets Serial information thru the first one.

Both arduino and python send only long intigers. Chars and strings are going to cause error.

About

This is a way for arduino and python to exchange only some variables while still running their own programs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages