Skip to main content

Pinguino Board Framework

Project description

⚠️ Deprecated. This project's successor is liveduino — use that for new projects.

FrameDuino

FrameDuino is a Python 2 framework that talks to a Pinguino board using the Arduino-style API you already know: pinMode, digitalWrite, digitalRead, analogRead, analogWrite, eepromRead/eepromWrite. The usb_interpreter.pde firmware runs on the board and listens for these commands over USB, Bluetooth, or serial, so your Python script drives the hardware directly, without compiling and flashing a sketch for every change.

This project is no longer under active development; see Status below.

Status

FrameDuino is legacy. It was an alpha, Python 2 only, and Pinguino only.

Its spiritual successor is liveduino: the same idea, rebuilt from scratch for Python 3.13+, targeting Arduino boards (UNO, Nano, Mini, Pro Mini, Fio, and more) over the standard Firmata protocol, with USB, Wi-Fi/Ethernet, and Bluetooth drivers, servo and I2C support, a CLI that flashes firmware for you, and 100% test coverage.

If you're starting a new project, use liveduino instead. FrameDuino stays here for historical reference and for anyone still working with a Pinguino board.

Examples

Examples using raw code and manual configuration.

from pinguino import *
from drivers.usb_driver import *

pinguino = Pinguino(USBDriver())
pinguino.pinMode(0,OUTPUT)
pinguino.pinMode(7,INPUT)
pinguino.digitalWrite(0, HIGH)
print pinguino.digitalRead(7)
pinguino.disconnect()

Drivers

FrameDuino ships drivers for connecting to a Pinguino board over:

  • USB (usb_driver.py)
  • Serial (serial_driver.py)
  • Bluetooth (bt_driver.py)
  • CDC (cdc_driver.py)

Firmware

pinguino/usb_interpreter.pde is the Pinguino sketch that must be flashed to the board; it parses the incoming commands and calls the matching Arduino/Wiring function.

License

Distributed under the GPLv2 (or later) license. See LICENSE and NOTICE for details.

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

frameduino-0.2.3.tar.gz (6.4 kB view details)

Uploaded Source

File details

Details for the file frameduino-0.2.3.tar.gz.

File metadata

  • Download URL: frameduino-0.2.3.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for frameduino-0.2.3.tar.gz
Algorithm Hash digest
SHA256 f8b398ea6825cb7fed5c255a3f4a316963695a7657d69a3d8e4d0826a50c40d1
MD5 ccd402f92aa11cd21b04716162abad3d
BLAKE2b-256 8f5c1c34886606cdfe4f4e99cda30056531df66912deef321fc8d75bfd20692c

See more details on using hashes here.

Provenance

The following attestation bundles were made for frameduino-0.2.3.tar.gz:

Publisher: publish.yaml on adanmauri/frameduino

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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