SeedLabs-it / smartknob-firmware

Repository for the Smart Knob Firmware (Currently supporting Dev Kit v0.1)
Other
23 stars 2 forks source link

Power down and up strain when not in use etc. #131

Closed carlhampuswall closed 2 months ago

carlhampuswall commented 2 months ago

Should fix issues regarding strain drift and or issues of strain not working after awhile. If not fix. Greatly reduce at least, might be hardware related issue not completely fixable by software.

Also found some issues, after a while maybe 12-24h knob slows down causing strain to lag behind? and also screen updates when rotating knob.

Updates screen dimming and adds two parameters in platformio.ini file for setting the timeouts, one for actual physical interaction with device now set to 30s timeout and on for if and when only proximity is detected but no physical interaction this timeout is set to 8s for now.

carlhampuswall commented 2 months ago

Fixed bug regarding failed calibration being detected by knob as being successful until reboot of device.

carlhampuswall commented 2 months ago

Closes #132