Skip to main content

Crontol a embbbed system via firmata.

Project description

embbedFirmata

embbedFirmata is a minimal and experimental Firmata-based Python library designed to communicate directly with Arduino boards over serial.

⚠️ This library is in early testing stage


⚙️ Supported Boards

Currently supported boards:

  • Arduino Uno ✅

More boards may be added in the future.


📦 Requirements

  • Python 3.8+
  • pyserial 3.5
  • Arduino running StandardFirmata

🚀 Example Usage

Basic example controlling the onboard LED and reading an analog pin:

from embbedFirmata import *
import time

ardu = ArduinoUno()

ardu.start()

ardu.pinMode(13, OUTPUT)
ardu.pinMode(0, ANALOG)

ardu.sample()

while True:
    ardu.digitalWrite(13, 1)
    time.sleep(1)

    ardu.digitalWrite(13, 0)
    time.sleep(1)

    print(ardu.analogRead(0))

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

embbedfirmata-0.1.1.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

embbedfirmata-0.1.1-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file embbedfirmata-0.1.1.tar.gz.

File metadata

  • Download URL: embbedfirmata-0.1.1.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for embbedfirmata-0.1.1.tar.gz
Algorithm Hash digest
SHA256 cc78d2c0991a65b87565fbf292a29c6f723b26e58423d06a8ed93ee56ec56be5
MD5 05831911f2e5a9a40033961b78d76bb9
BLAKE2b-256 50b0bbb44dc101438ce109ea9795406a401c1298995ebf574f724f732def3489

See more details on using hashes here.

File details

Details for the file embbedfirmata-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: embbedfirmata-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for embbedfirmata-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 af202f7af9615c6f3c21a62b971253616effb8d65949b9969dce3935812c9e90
MD5 dbae3bde5f7274062684668c914f3266
BLAKE2b-256 5ffc1a83863e0fe7e043069ddedad794b2f008acadc0631ca6cfb97ce9f06547

See more details on using hashes here.

Supported by

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