30 lines
693 B
Markdown
30 lines
693 B
Markdown
# FilamentGauger
|
|
|
|
PlatformIO firmware for the Guition `JC8048W550(C)` display with an `HX711` load-cell amplifier.
|
|
|
|
Pins:
|
|
- `HX711 SCK -> IO17`
|
|
- `HX711 DOUT -> IO18`
|
|
|
|
Important:
|
|
- On this display family `IO18` is normally used by the capacitive touch interrupt.
|
|
- In this firmware the touch controller stays enabled, but its interrupt pin is moved to `GPIO_NUM_NC`, so touch works in polling mode and `IO18` becomes available for `HX711`.
|
|
|
|
Default calibration flow:
|
|
1. Leave the platform empty.
|
|
2. Tap `Tare`.
|
|
3. Put a `100 g` reference weight on the platform.
|
|
4. Tap `Cal 100 g`.
|
|
|
|
Serial commands:
|
|
- `tare`
|
|
- `cal 100`
|
|
- `scale 432.1`
|
|
- `reset`
|
|
- `status`
|
|
|
|
Build:
|
|
```bash
|
|
platformio run
|
|
```
|