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.0.tar.gz (3.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.0-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: embbedfirmata-0.1.0.tar.gz
  • Upload date:
  • Size: 3.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.0.tar.gz
Algorithm Hash digest
SHA256 9cba66b79dff3407e901e29510a129f67101a65e9b2f0f8c7ee9c1e0d14d9ec5
MD5 7cf240383b4d7aa0765bffd21ea898a6
BLAKE2b-256 fbab94b9b438eccef2cab9b2fb501c219912d6ae7cafb0c274506c7c14db3942

See more details on using hashes here.

File details

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

File metadata

  • Download URL: embbedfirmata-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.1 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 64da6808490947af1bfd8f80a875f7f88f8377fba04c46fcfe62eab4687b4016
MD5 48dda3832722f378133f263d7679cbac
BLAKE2b-256 a42ee64c76d4724e1509fb3136c254c976e3727506883b7788f1bf75f7b3fdbc

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