Microcontroller and python interface
Project description
Pymewc ( Python Microcontroller Interface)
Making your microcontroller connect with python
version:0.0.7.4 Alpha
- Pymewc is a new and innovative python library that can we used for connecting python with the microcontroller world.
- Pymewc is a lightweight package that aims simplicity yet performing complex tasks with ease.
Features
- Read data from each pin of the microcontroller
- Read data printed on the serial monitor window
- Writing program to the microcontroller(Development Stage)
- Sending data to the local cloud service / running a apache server(Development Stage)
Installation
Pymewc requires Python v3.6+ to run. But extensively tested and recomends using python version > 3.8
Install the dependencies and packages and thats it.
For windows
pip install pymewc
For linux and unix based Operating systems
.
Downloading pip on linux based operating systems
Debian and Debian Based distros(Ubuntu, Mint etc)
sudo apt install python3-pip
For Arch and Arch Based distros(Manjaro, Endevour etc)
sudo pacman -S python-pip
Installing package using pip
pip3 install pymewc
How to use the package
To check whether the python package is working and responding perfectly
import pymewc
pymewc.hello()
For printing what the serial monitor prints:
import pymewc
pymewc.serial() # It asks for 2 parameters
# 1- The com-port('com4' or /dev/ttyACMO) depending on the os windows and *ux respectively
# 2- The baud rate
Adding few other features which are digitalRead and digitalWrite functionalites(In development will be live soon)
Development
Want to contribute? Great!
I will always welcome everyone contributers to contribute to the project which will be live soon. Hope it hits the market hard
License
MIT
Free Software, Hell Yeah!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.