-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Decoded your height readings #2
Comments
Oops, I just now noticed this issue. Sorry for the delay! I really appreciate the work you did on this. I wonder if calibration values factor into that formula or if it would be the same for everyone. It's been years now, but I recall being instructed to move the desk all the way to the bottom, then all the way to the top when I first set it up. I'll have to see if I can locate the instruction booklet. |
I do have an Uplift desk and I do remember going through the up->down->up routine, too. If these variables end up varying, it might be possible to have a calibration service that drops the desk to lowest, raises to highest, and tries to compute the variables in that formula. I don't know if it could be totally hands off though or if you'd need to ask like "set the desk to 32.5in and press ok" to collect the values at a few known points. |
That's a good point! The firmware could run through a process like this:
Then we should have the values of the lowest and highest and can calculate in-between states. I can't remember if the desk controller sends a value when it has a lower and upper limit. Would have to figure out how to handle that, but otherwise, I think this would work! I will play with it and see if I can get it running reliably. |
Thanks for this! I may have a lead on a formula related to the height readings on your Uplift Desk controller. I basically computed the slope and y-intercept between the lowest and highest observations using only the first component of the response (the
20
in20, 5
). This got me toheight=(0.5795454545*response[0])+13.70909091
.This left me with a little bit of an error, but the second component of the response was correlated with it. I ran the same basic line fitting on the error rate to come up with this formula:
height=(0.5795454545*(response[0]+(0.001746724891*response[1]-0.008733624454))+13.70909091)
This gets me the following results:
Scratchpad
The text was updated successfully, but these errors were encountered: