Skip to main content

Microcontroller and python interface

Project description

Pymewc ( Python Microcontroller Interface)

Making your microcontroller connect with python

version:0.0.7

Build Status PyPI - License PyPI Contributions

  • 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pymewc-0.0.7.tar.gz (3.4 kB view hashes)

Uploaded Source

Built Distribution

pymewc-0.0.7-py3-none-any.whl (3.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page