Tunable Parameters¶
These constants in board_scanner.h and gantry_controller.h may need adjustment based on your specific hardware:
Constant |
Default |
Purpose |
|---|---|---|
|
1000 $\mu$s |
Time to wait after changing mux address before reading. Increase if readings are noisy. |
|
1000 ms |
Time to hold each mux address during the diagnostic channel matrix so S0–S3 can be read with a meter or logic probe. |
|
3 |
Number of consecutive identical scans required before accepting a reading as stable. |
|
50 ms |
Delay between debounce scans. Total debounce time = |
|
20 ms |
How often to poll sensors during |
|
10,000 ms |
How long the board can sit in an unrecognized state before alerting the player. |
|
1000 in/min |
Gantry movement speed. Reduce if the gantry skips steps or knocks pieces over. |
|
100 ms |
Pick/release settle time around magnet on/off. Encoded as |
|
1.5 in |
Physical size of each board square. |
|
12.0 in |
Physical size of the 8$\times$ |
|
5.000 / 4.420 in |
Calibrated center of a1 in the G54 work frame. |
|
1.5 in |
Storage slot row spacing; matches the board square size. |
Tunable hardware parameters