Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.
/ piano-sensor Public archive

Optical encoders for piano measurements with firmware written in Rust

Notifications You must be signed in to change notification settings

JitterCompany/piano-sensor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published