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

Latest commit

 

History

History
43 lines (25 loc) · 1.02 KB

README.md

File metadata and controls

43 lines (25 loc) · 1.02 KB

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