Skip to main content

Python package for KuttyPy 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-1.0.19.tar.gz (1.1 MB view details)

Uploaded Source

Built Distribution

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

kuttyPy-1.0.19-py3-none-any.whl (1.2 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kuttyPy-1.0.19.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.9

File hashes

Hashes for kuttyPy-1.0.19.tar.gz
Algorithm Hash digest
SHA256 e3909da12dec29b661721045e029bd0930d50e89aed64c0b557d44692aeb9780
MD5 85ff70bf6b6a8f55c12c325c95317fe0
BLAKE2b-256 4fa1cdbea34ac08f4c13cadb113c958dcbc152ad9b6d6df12a744b898fde7802

See more details on using hashes here.

File details

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

File metadata

  • Download URL: kuttyPy-1.0.19-py3-none-any.whl
  • Upload date:
  • Size: 1.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.9

File hashes

Hashes for kuttyPy-1.0.19-py3-none-any.whl
Algorithm Hash digest
SHA256 5a6c9b372c0341ddad1c48b7f04796f8099803f6ba0ee9d5c8b973fd80f6b138
MD5 dc6a072ddf54db29232d6cf6edd3a96c
BLAKE2b-256 577f5961a833a295cd77f65e28ec6fee6a8a9aae60d21460a55150586fe477bd

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