PTDreamer / stm32_soldering_iron_controller

Custom firmware for the chinese ksger soldering iron controller
GNU Lesser General Public License v3.0
163 stars 71 forks source link

low value of calADC_At_200 causes power output to be stuck at 100% #5

Closed JMoerman closed 5 years ago

JMoerman commented 6 years ago

(I have yet to upgrade to 1.1.2, but taking a quick look at the commits, nothing seems to have been changed since 1.0)

I recently got a new 1403 t12 tip and calibrated this tip with the tip thermometer resulting in the calibration values 175, 1075 and 2147. This resulted in accurate temperature measurements, but also caused the output power to be stuck at 100%, quickly heating my iron to above 500C (which it displays correctly). I managed to find the debug menu and found out that a higher value for calADC_At_200 alleviated the issue.

(When I had increased calADC_At_200 a bit the soldering iron operated normally unless the temperature was set to a value lower than 140C. I did not investigate much longer as my tip already has a purplish to blueish color from the brief exposure to the high power output.)

ricktendo commented 6 years ago

I had the EXACT same issue, I reported it in the EEVBlog forum.

Another thing that does not always work is sleep, is there any way to adjust the sensitivity?

JMoerman commented 6 years ago

@ricktendo No idea, I'm just another user. I'm going to build a stand that is able to detect the iron first, after that I will take a look at if I can get sleeping to work well. (The switch in my handle is never going to work well for this.)

Since you also have this issue, do you know how to get into the debug menu? (configure pid -> push and hold button and twist untill you reach a screen with 5 values and no name. The 3rd value is calADC_At_200)

PTDreamer commented 6 years ago

Issue should be fixed now. Please test and report.

ricktendo commented 6 years ago

Thank you PTDreamer, I flashed the latest firmware, I configured sleep for 15s but the iron would not go into sleep mode so I cannot verify if the issue is fixed. Maybe JMoerman has better luck.

JMoerman commented 5 years ago

Got around to updating the iron and it no longer heated the iron beyond what was set. I will need to do some more thorough testing, but I consider this fixed.

@ricktendo sleeping issues are a bit out of the scope of this issue. You may want to open a separate issue for that.