-
Notifications
You must be signed in to change notification settings - Fork 1
dial
#Cheap Digital Dial


It sends a package of 2*24 bits every 131ms. LSB first. On falling edge of the clock.
The first (sent) 24 bits contains a signed integer that isn't offset by zero.
The last 24 bits contains a signed integer that has a 'zero offset' e.g. whenever you press '0' the value of the int, at that position, will be zero.
The value sent over serial does not seem to be any know unit of measurment. It's just raw data. To convert it to mm i estimated the multiplier constant to be 1.239770. This might have to be adjusted.
Unlike the caliper the serial data does not seem to contain any information about what unit of measument the LCD is displaying.
#circuit
The interfacing hardware is identical to the caliper except that a TXB0108 does not work :(
If you put the signal through a schmitt trigger the signal quality will improve significantly.
Look at this blog too see how the pins are arranged.