Author Topic: CFW for KSGER/Quicko STM32 Soldering Stations  (Read 666811 times)

0 Members and 3 Guests are viewing this topic.

Offline Wirehead

  • Regular Contributor
  • *
  • Posts: 177
  • Country: be
    • Wirehead.be
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #2200 on: October 05, 2021, 06:26:41 pm »
That seems to have done it (using the 500ms one). For reference, the 2.1 version that I have, is using a linear LDO + tant cap. Maybe power rises indeed a bit slower than with a switcher.
"to remain static is to lose ground"
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5915
  • Country: es
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #2201 on: October 05, 2021, 06:55:29 pm »
That's what I guessed.
I already updated the code, next releases should work fine.
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 
The following users thanked this post: Wirehead

Offline Wirehead

  • Regular Contributor
  • *
  • Posts: 177
  • Country: be
    • Wirehead.be
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #2202 on: October 05, 2021, 07:23:36 pm »
Works great. Mine is powered with a floating SMPS, and the ksger 2.1 board technically couples tip earth to the negative supply. So I put the shaker on the NTC ground as well, but oriented so while soldering it doesn't trigger. I now have a nice separate, earthed tip, instead of floating, possibly damaging components. Only gives a small *blip* when the NTC is read at the same time (technically, it would be possible to sample these out in code I guess  :-/O, so shaker sampling does not occur when NTC is read).
"to remain static is to lose ground"
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5915
  • Country: es
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #2203 on: October 06, 2021, 06:45:33 am »
I didn't understand it all.
The shaker must use the same ground as the controller, not the earth.
How are you going to damage anything by joining ground and earth?
And what's that blip you're talking about?
The Shake input is read at Systick rate (1KHZ), not with the ADC.
There's an exception, in stand mode it's read after every ADC conversion.
But ADC and Shake input are completely separate parts.
« Last Edit: October 06, 2021, 06:47:42 am by DavidAlfa »
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline Wirehead

  • Regular Contributor
  • *
  • Posts: 177
  • Country: be
    • Wirehead.be
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #2204 on: October 06, 2021, 07:23:09 am »
I didn't understand it all.
The shaker must use the same ground as the controller, not the earth.
How are you going to damage anything by joining ground and earth?
And what's that blip you're talking about?
The Shake input is read at Systick rate (1KHZ), not with the ADC.
There's an exception, in stand mode it's read after every ADC conversion.
But ADC and Shake input are completely separate parts.

So For the following - My switching power supply, supplying energy to the station, is a two-prong type. So with reference to actual earth, there's a 27V offset. This means, the tip; was also having a 27V offset in regards to earth. So I lifted the wire below; and coupled it via a resistor to real earth. 
[modification.jpg]

But the original handle pinout, had the following:
[original.jpg]
The shaker ground, was also connected to the tip ground (and that in turn to the negative voltage rail). So I had to move the shaker ground, to the same NTC ground. But when actually shaking, you see  some noise in the graph.
"to remain static is to lose ground"
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5915
  • Country: es
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #2205 on: October 06, 2021, 08:01:18 am »
That handle wiring was either wrong or designed for a circuit that has earth and gnd connected together.
Of course you saw noise, it was connecting the earth through the stm32 and few resistors, bad idea if the smps is isolated.
How are you going to get 27V offset if you join negative and Earth? Once they're joined, both will become the smps ground reference.
New builds (21-10-06), oled should be working perfectly now.
« Last Edit: October 06, 2021, 08:03:35 am by DavidAlfa »
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline wickated

  • Frequent Contributor
  • **
  • Posts: 326
  • Country: ru
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #2206 on: October 06, 2021, 08:12:02 am »
offset from gnd ?
maybe there is just ac constant cuz in most SPSUs u have Y caps (afaik) that connect secondary gnd with ac gnd. i actually dunno real schematics, so can say wrong
 

Offline Wirehead

  • Regular Contributor
  • *
  • Posts: 177
  • Country: be
    • Wirehead.be
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #2207 on: October 06, 2021, 08:20:20 am »
That handle wiring was either wrong or designed for a circuit that has earth and gnd connected together.
Indeed, that's why I put the shaker on the negative wire instead of green "earth", and lifted tip ground, with a separate cable + resistor to a real earth. (see handle wiring in attachment)
Of course you saw noise, it was connecting the earth through the stm32 and few resistors, bad idea if the smps is isolated.
Well no, technically speaking, the negative of the smps is also the gnd of the stm32. Real Earth is completely separate now and only used for the tip. But when shaking, I do get some noise now in the ADC measurement.
"to remain static is to lose ground"
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5915
  • Country: es
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #2208 on: October 06, 2021, 09:33:30 am »
First, stop the abstract descriptions and post pictures.
Clearly something affecting the analog circuitry.
Try putting a 1n4148 diode in series, so the shake sensor can only pull to ground.
That's a very bad circuit design anyways, no protection at all.

Try something:
Heat the tip to 400C, then set 180C setpoint.
As the tip is hotter than the setpoint, the pwm will be off.
Do the spikes still appear when shaking the handle?
It's really strange.
Again, if your mains earth is good (a lot of older houses have poor earth connection), there shouldn't be any offset.
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline Polf

  • Regular Contributor
  • *
  • Posts: 54
  • Country: ru
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #2209 on: October 08, 2021, 09:22:39 am »
Firmware 21-10-06. When turned on, it shows the real temperature of the NTC and the soldering iron, for example 22 degrees, then gradually increases to 30 degrees within a minute. I take out the tip, insert it again and now it shows the real temperature again.  :o This happens at two stations, one works with T12, the other with C245.
 

Offline ygi

  • Regular Contributor
  • *
  • Posts: 202
  • Country: be
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #2210 on: October 08, 2021, 11:05:51 am »
It's probably as good as it gets at such low temperature. I mean, the expected working range is 200-400°C , it's not a weather station.
 

Offline Polf

  • Regular Contributor
  • *
  • Posts: 54
  • Country: ru
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #2211 on: October 08, 2021, 12:00:47 pm »
I am not interested in the value of the ambient temperature. The strange thing is that change happens for no reason. In addition, this was not observed in previous firmware.
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5915
  • Country: es
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #2212 on: October 08, 2021, 12:22:58 pm »
Enter the debug menu, insert the cold tip, wait some seconds and note down the AVG value.
Keep watching the value as it heats up.
Debug screen has 5 minutes timeout, so there's plenty of time.
Mine does perfectly, no issues at all. There were no changes on the measuring code.
Also, the tip detection sends small power pulses, it might increase the temperature some degrees, but not that much.
Could be a lot of things,ex. the internal amplifier causing a small drift with the temperature.
What happens when you remove the tip and plug it back?
Have you changed any filtering/pwm setting from default?

Ensure your description is accurate. Ex. 1 minute is not 10 seconds, It can mean a completely different thing.
Or just make some videos.
My station shows 23-24°C with 24.5°C ambient, all the time.
Ensure your calibrated zero cal value.

Anyways, not something I'd spend my time on.
My personal life has changed lately, and the project will receive much less time.
« Last Edit: October 08, 2021, 12:30:26 pm by DavidAlfa »
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline Polf

  • Regular Contributor
  • *
  • Posts: 54
  • Country: ru
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #2213 on: October 08, 2021, 02:09:02 pm »
David, thanks for the answer. I shot several videos.
I looked at the AVG value, but I don't know what to do with it later.
Active det. is disabled, so there is no heating.
After removing and installing the tip, the temperature decreases by about 10 degrees.
I did not change the filter settings and power.
I completely erased the microcontroller and re-flashed it to exclude incorrect settings, but it did not help.
Returned to firmware 21-09-29, temperature is stable, removal and installation of the tip is not affected.
Video here:
https://drive.google.com/file/d/1-s2-wLOUAZt87tjqJ7ia5Y9WDzRMO9iA/view?usp=sharing
« Last Edit: October 08, 2021, 02:44:16 pm by Polf »
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5915
  • Country: es
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #2214 on: October 08, 2021, 02:38:48 pm »
I can't access the file. Check the permissions, ensure it's public.
« Last Edit: October 08, 2021, 02:50:51 pm by DavidAlfa »
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline Polf

  • Regular Contributor
  • *
  • Posts: 54
  • Country: ru
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5915
  • Country: es
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #2216 on: October 08, 2021, 06:46:55 pm »
It's not the tip what rises, it's the ambient temperature sensor.
It goes from 25ºC to 36ºC, seems it's disabling the external NTC for some reason, using the stm32 temperature instead.
When the handle or tip is removed, the internal sensor is never used, unless the NTC is disabled in the menu.
That can be quickly checked out,  remove the handle connector, the ambient should show -99.9ºC.
If it doesn't, the NTC is disabled. In that case the value should never change, regardless if the handle is connected or not.

Check your wiring. I can get similar results when I connect the handle only partially from one side, changes between 13 and 25ºC.
In your case, it seems like it isn't making a good ground connection, and travels back through the shake circuitry.

I checked the code and didn't find anything. Last weeks were minor updates, mainly to the user interface, translations, nothing to the sensors.
If you keep thinking it's a firmware thing, go to Github history and start trying builds, from newer to older.
Ensure it's not the wiring, test it thoroughly!


Is anyone else able to replicate that issue?
« Last Edit: October 08, 2021, 09:22:30 pm by DavidAlfa »
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline Polf

  • Regular Contributor
  • *
  • Posts: 54
  • Country: ru
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #2217 on: October 08, 2021, 09:24:40 pm »
I mentioned above that this temperature change is observed in the same way at two different stations. The first one, which can be seen in the video, has a controller according to the KSGER HW2.1s scheme and works with the T12. The T12 handle is connected to the station.
The second one is assembled according to the same scheme and works in the C245 profile with a copy JBC handle.
I flashed both stations to the software on 21-09-29, now no temperature jumps occur.
 

Offline wickated

  • Frequent Contributor
  • **
  • Posts: 326
  • Country: ru
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #2218 on: October 08, 2021, 10:12:09 pm »
Is anyone else able to replicate that issue?
definitely not possible.
 

Offline Polf

  • Regular Contributor
  • *
  • Posts: 54
  • Country: ru
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #2219 on: October 08, 2021, 10:44:39 pm »
Check your wiring. I can get similar results when I connect the handle only partially from one side, changes between 13 and 25ºC.
Thanks. I will check. I just double-checked the C245 station, it looks like it’s okay and the temperature doesn’t jump.
Tomorrow I will check the wiring of the T12 handle, maybe something is wrong there.
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5915
  • Country: es
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #2220 on: October 08, 2021, 11:59:07 pm »
Keep trying newer versions, if you find exactly the one that causes the problem it will be much easier.ç
I have re-checked every change. Again, nothing related to the sensors.

21-09-29
21-10-01
21-10-02
21-10-02a
21-10-06

definitely not possible.
So a black capacitor can't be a capacitor anymore? I smell racism here  :D.
What did you do this time? Or you soldered a coil by mistake?
« Last Edit: October 09, 2021, 09:27:06 am by DavidAlfa »
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline wickated

  • Frequent Contributor
  • **
  • Posts: 326
  • Country: ru
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #2221 on: October 09, 2021, 10:32:25 am »
nope, thats just big black NTC i bought in store cuz black ones work better than chinese ones (no racism)
« Last Edit: October 09, 2021, 10:35:42 am by wickated »
 

Offline ygi

  • Regular Contributor
  • *
  • Posts: 202
  • Country: be
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #2222 on: October 09, 2021, 01:46:16 pm »
For what it's worth, temperature doesn't drift on my v1.5 using latest build (21-10-6) and it is also fairly accurate (error margin is less than 2°C with cold tip).
 

Offline Polf

  • Regular Contributor
  • *
  • Posts: 54
  • Country: ru
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #2223 on: October 09, 2021, 02:19:00 pm »
To avoid possible mistakes, I took another controller, assembled according to the same KSGER HW2.1s circuit and a different handle. First, I flashed the controller with software 21-10-01, I did not find any temperature jumps. Then I flashed the controller with firmware 21-10-06, the result is in the video. Profile T12. The jump in temperature is 7 degrees. Earlier firmwares do not give temperature jumps.
https://drive.google.com/file/d/1-soPKq4LCOnD7XktsQflZ7TuJuaTACkj/view?usp=sharing
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5915
  • Country: es
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #2224 on: October 09, 2021, 03:09:59 pm »
What about 2 and 2a versions?
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf