Skip to main content

Python package for KuttyPy and KuttyPyPlus AVR trainer

Project description

KuttyPy Interactive Playground [ Microcontroller Training Utility ]

Documentation Status


The kuttyPy (/kʊtipʌɪ/) Microcontroller training utility allows live manipulation of the registers in microcontrollers via a connected computer containing its python library. setReg and getReg function calls act as debugging and monitoring tools, and combined with Python's visualization and analytical utilities, this approach has immense pedagogical potential for beginners to the microcontroller world.

The kuttyPy hardware is an ATMEGA32 microcontroller development board developed by the ExpEYES project, and is currently supported by this software. It contains the kuttyPy firmware, but can also be used to run other programs via its bootloader.


What can I use it for?

  • It's an atmega32 development board with a bootloader supporting the 'arduino' protocol
  • The bootloader also allows real-time manipulation of registers through commmands sent via the serial port.
  • This is done by the associated Python library and companion GUI
    • You can monitor every input
    • Toggle every output
    • Deal with Peripherals such as PWMs and Counters
    • View ADC readings via an analog gauge
    • Scan for sensors connected to the I2C Bus
    • Monitor readings from sensors [TSL2561 luminosity, and MPU6050 IMU supported]
  • Compile code to hex with the avr-gcc compiler
  • Upload hex via the built-in uploader
  • Rapidly prototype and debug educational projects. For example, you can verify ADC input values before handing over control to the uploaded hex file which will likely have very limited debugging capabilities.
  • Learn how registers are the key to microcontroller operation, as opposed to the Arduino ecosystem which prefers obfuscation of these details underneath abstraction layers.

Monitor I2C Sensors

  • Scan for Sensors
  • Click to monitor via analog gauge
  • List of I2C sensors supported thus far (Minimal data logging. Configuration options via the graphical utility might be incomplete)
    • MPU6050 3 Axis Accelerometer, 3 axis Angular velocity (Gyro)
    • TSL2561 Luminosity measurements
    • BMP280 Pressure and Temperature sensor
    • MCP4725 Single channel DAC
    • PCA9685 PWM controller
    • MLX90614 Passive IR

Programming library and examples : READ THE DOCS

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

kuttyPy-2.0.7.tar.gz (7.8 MB view details)

Uploaded Source

Built Distribution

kuttyPy-2.0.7-py3-none-any.whl (8.0 MB view details)

Uploaded Python 3

File details

Details for the file kuttyPy-2.0.7.tar.gz.

File metadata

  • Download URL: kuttyPy-2.0.7.tar.gz
  • Upload date:
  • Size: 7.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for kuttyPy-2.0.7.tar.gz
Algorithm Hash digest
SHA256 9d450655720c2df0ce0b12b7a657343c54eb410e883d24d9e9bd05c0ed3eb43e
MD5 3fb7f5c108369bbf5468d2b3cfaf6ecc
BLAKE2b-256 3fa1cfbc88a9e2a5cb6714622c73d2e8b3b320eb6da51fffc709f9c81666accf

See more details on using hashes here.

File details

Details for the file kuttyPy-2.0.7-py3-none-any.whl.

File metadata

  • Download URL: kuttyPy-2.0.7-py3-none-any.whl
  • Upload date:
  • Size: 8.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for kuttyPy-2.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 2d8dc1a29898175a5525a71dfd01f66d8fcd33ced15e1db1251b3f02d799d82f
MD5 d2c290a2a3565853085d1be76f443408
BLAKE2b-256 feeeabe3fdca648274a6901085b0de03bf4907123e265a80e8db73e2640dce45

See more details on using hashes here.

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