Skip to content
This repository was archived by the owner on Nov 1, 2022. It is now read-only.
JitterCompanyPublic archive

About

Optical encoders for piano measurements with firmware written in Rust

Resources

Stars

9 stars

Watchers

1 watching

Forks

Latest commit

 

History

100 Commits

Folders and files

Repository files navigation

Piano Sensor Project

  • Electronic design
  • Firmware written in Rust for stm32f103
  • Python app for data visualization

Electronic Design

This repo contains the following KiCad projects

  • encoder-breakout is the breakout pcb for the AEDR-8300 optical encoder IC
  • main-board is a daisychainable board that connects to five encoder-breakouts
  • uart-adapter connects to the main-board and computer (USB) and also delivers power.

Firmware

There are two firmware projects

  • firmware was the first try. It works and decodes the encoder signals but does not have all functionality such as daisychaining.
  • firmware-rftm is firmware based on the cortex-m-rtfm framework. This has all functionality and is compatible with the python app.

App

The python app lives in a Pipenv virtual environment. First time you need to run the following command to install:

pipenv install

Then to run:

pipenv shell
python app.py

About

Optical encoders for piano measurements with firmware written in Rust

Resources

Stars

9 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages