Giter VIP home page Giter VIP logo

pymecom's Introduction

pyMeCom

A python interface for the MeCom protocol by Meerstetter. This package was developed to control several TEC devices on a raspberry pi by connecting them via usb.

Requirements

  1. this code is only tested in Python 3 running in a linux OS
  2. pySerial in a version >= 3.1 https://pypi.python.org/pypi/pyserial
  3. PyCRC https://pypi.python.org/pypi/PyCRC

Installation

  1. clone the repository
  2. setup a virtualenv in python (you may skip this step)
  3. install the package with either pip or setuptools, e.g. pip install --user .
  4. python mecom/mecom.py to see some example output

Usage

For a basic example look at mecom/mecom.py, the __main__ part contains an example communication.

Additional parameters to get/set

Only parameters present in mecom/commands.py can be used, this is a security feature in case someone uses a parameter like "flash firmware" by accident. Feel free to add more parameters to mecom/commands.py.

Contribution

This is by no means a polished software, contribution by submitting to this repository is appreciated.

pymecom's People

Contributors

timhellwig avatar

Watchers

Martino Migliavacca avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.