Calibrate dial
Name | Route | Method | Query Parameters |
---|---|---|---|
Calibrate dial | /api/v0/dial/{DIAL_UID}/calibrate |
GET |
key , value |
API route to calibrate dial.
Factory calibrated
All VU dials come pre-calibrated from the factory!
How to calibrate a dial
Query Parameters value
can be any integer from 0
to 2048
.
We are looking for a value
for which dial indicator (needle) will be perfectly vertical.
Calibration process:
- Send calibration
value
(ie600
) - Dial will move the indicator
- Check the position of the indicator
4a. If dial indicator is leaning towards left side, go to step 1. and increase the value
4b. If dial indicator is leaning towards right side, go to step 1. and decrease the value - Repeat steps 1-4 until dial indicator is perfectly vertical
No undo
Dial does not store previous calibration values.
Sending new calibration value will overwrite the previous value.
Caution
All dials come pre-calibrated from the factory.
You should never have to re calibrate them.
Example usage
Calibrate dial 3E0075000650564139323920
to value 600
GET
- http://localhost:5340/api/v0/dial/3E0075000650564139323920/calibrate?key=...&value=600
Response is a JSON object