Skip to main content

A Python Protocol Abstraction Library For Arduino Firmata using Python asyncio

Project description

pymata_aio is a high performance, non-blocking, Python asyncio client for the Firmata Protocolthat supports the complete StandardFirmata protocol.

Major features

  • Python 3.5+ compatible.

  • Choose From 3 Included APIs

    • pymata_core - a pure asyncio method call API.
    • pymata3 - A non-asyncio proxy for pymata_core
    • pymata_iot - A websocket based backed to control an Arduino over a Web page.
  • Implements 100% of the StandardFirmata Protocol (StandardFirmata 2.5.3).

  • Auto-detects Arduino COM ports.

  • FirmataPlus (enhanced StandardFirmata sketch) included with distribution. It adds support for:

    • HC-SR04 Ultrasonic Distance Sensors using a single pin.
    • Stepper Motors.
    • Piezo Tone Generation.
    • 2 Pin Rotary Encoder Support.
  • FirmataPlusRB (enhanced StandaradFirmata sketch to control a SparkFun Redbot. It adds support for:

    • Piezo Tone Generation.
    • Wheel encoders.
    • RedBot Accelerometer.
  • Ability to automatically capture and time-stamp user specified analog and digital transient input events on a per-pin basis.

  • All 3 APIs support callback as well as a polled interface.

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

pymata-aio-2.35.tar.gz (36.2 kB view hashes)

Uploaded source

Built Distribution

pymata_aio-2.35-py2.py3-none-any.whl (57.4 kB view hashes)

Uploaded py2 py3

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