Page MenuHomeAleph Objects Inc

Fan speed adjustment is incorrect when incrementing by 1 or 10
Closed, ResolvedPublic

Description

Quiver 7 : after installing .67 firmware I was testing the fan settings via the temperature menu in the LCD.

While trying to increase by 1% in the menu it appears to increment by 2 at first and periodically jumps by 2 instead of 1 if you continue to push.

The same with incrementing by 10, it jumps straight to 11 for the first push, increments correctly by 10 for the next 6 pushes until the 8th push where it becomes 82%.

Event Timeline

EricNugent triaged this task as Low priority.
EricNugent created this object with edit policy "LulzBot Hardware Products (Project)".
logan assigned this task to marcio.Jan 10 2019, 8:26 AM
logan added a project: Marlin.
marcio added a comment.EditedJan 10 2019, 8:32 AM

I will investigate, but unfortunately there may not be a way to solve this problem. Even though the percentages range from 0 to 100, these values are stored in Marlin as 0 - 255. What you are likely seeing is rounding errors while scaling between those two ranges which cause the values to deviate +/-1. The only way to get an exact representation within show fan speed from 0 to 255, like Marlin does on the older LCD.

Update 1-21-19:

Quiver 7 with .77 FW.

The fan values appear to be correctly incrementing; however, now there appears to be a bug where when at 0 the user is able to decrease speeds past 0 and loops back to 100. It appears to only be the lower limit.

however, now there appears to be a bug where when at 0 the user is able to decrease speeds past 0 and loops back to 100. It appears to only be the lower limit.

@EricNugent: This should be fixed in both .78 and .79. Please confirm and close down this ticket if that is the case.

karrad closed this task as Resolved.EditedJan 29 2019, 3:27 PM
karrad added a subscriber: karrad.

Testing on SL 2.0.0.79 i am unable to set the fan below 0% are roll it over above 100%

Same with 2.0.0.79 on evergreen_bagworm, cannot go below 0% or above 100%

EDIT: I have also tested 1% and 10% increments, and all increasing correctly.