Project with Troy to make a physical life tracker for Magic: The Gathering
- SSD1306 128x32 pixel display
- Rotary Encoder x2
- ICR10440 3.7V 350mAh Lithium Ion Rechargeable Battery
- TP4056 li-on battery charger
- AAA battery housing
- 3d printed case (wip)
Pin | Function | Component |
---|---|---|
1 | SDL | display |
2 | SDA | display |
5 | Out A | encoder 1 |
6 | Out B | encoder 1 |
4 | press | encoder 1 |
8 | Out A | encoder 2 |
7 | Out B | encoder 2 |
3 | press | encoder 2 |
- Install espeon to transfer files.
- run
espeon flash
to flashfirmware.bin
and thenespeon upload
to upload the lua files espeon run
is helpful for debugging, it uploads and attaches so you can view print statementsctrl-a
->k
->y
exits console
- If the board won't upload, try
espeon reset
- If it really won't respond, try erasing and reflashing
- key press debouncing and press-and-hold