This repository has been archived by the owner on Nov 1, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
43 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,39 @@ | ||
# Piano Force Sensor Project | ||
# Piano Sensor Project | ||
|
||
- electronic design | ||
- firmware | ||
- 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 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`](https://rtfm.rs) 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: | ||
|
||
```bash | ||
pipenv install | ||
``` | ||
|
||
Then to run: | ||
|
||
``` | ||
pipenv shell | ||
python app.py | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters