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

bozo and 9 Guests are viewing this topic.

Offline ygi

  • Regular Contributor
  • *
  • Posts: 202
  • Country: be
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #3175 on: October 24, 2022, 02:15:33 pm »
I mean, after soldering for 15-20min, you can clearly feel a handpiece warming up. At this point, how is NTC inside the handle any better at reading ambient t° than the one on the controller board? This never made sens to me. :-//
 

Offline dcore

  • Contributor
  • Posts: 13
  • Country: pt
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #3176 on: October 24, 2022, 02:19:57 pm »
Yes, you might lose 10ºC in the worst case, is that so critical? Nope.
No not critical, it was what I observed in T12 test.
I wanted to experience it to learn.

Will it help having a NTC soldered to the pcb, inside the box, measuring ambient temp, compared to using cpu temp?

Did you calibrate the system? Otherwise you're losing your time, of course the readings will be wrong!

Regarding T245, I power on, T245 profile, NTC OFF, wakeup stand, startup sleep.
Station sleeping displays ~37C in tip, 36.7C in CPU and 25.3C in FG100. Ambient temp. in FG100 is 24.5C.

I started the T245 cold tip calibration, I noticed when the station is trying to stabilize 250, shoots at 800, 900C, but at same time tip is bellow 100C.
It stabilizes at 250 but FG100 measures 112C in tip.
I though something was wrong or I did something wrong and didn't proceed doing a manual calibration.

This in both stations, one I only cut R0, I soldered a short wire to PCB jbc pin (lower 6th pin in a row), then to T245 blue handle wire on the other side (with a crocodile).
T245 brown wire to pin 5 and green wire to pin 3 (using front GX12-5 socket).

-EDIT-
Proceeding with manual calibration:
cal 250 defaults to 900 and measures 110C in FG100.
Increasing the value to max 990 measures 120C in FG100.
I aborted the manual calibration and defaulted to 900.
I also ordered another tip.

Without calibration, waking up from sleep and going to the graph, it displays a lot of huge camel bumps, will take a photo, looks like noise? tip is touching nothing.
Going to the the home screen it displays a steady 320C, with a few occasional jumps to 315,326C, but tip is at 128C in FG100
« Last Edit: October 24, 2022, 03:14:41 pm by dcore »
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 6226
  • Country: es
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #3177 on: October 24, 2022, 02:30:25 pm »
Don't get fooled, we don't care about the ambient temperature, it's the cold side of the tip what we need.
Why?
Because that's where the Seebeck effect ends, at the connection of the T12 tip.
The probe voltage is generated based on the temperature gradient between the hottest part (Tip) and the coldest (Tip connector).
If you have 400 and 50°C, the probe generates voltage for 350°C.
If you have 400 and 10, it "reads" 390°C.
But the tip temperature is actually the same, it's the cold side what changes.
So that's why the NTC is ideally placed at the handle.
As the handle warms up, the tip sensor voltage drops, as the gradient is lower.
Reading the NTC compensates this, not greatly accurate, but does something.
Using the internal sensor might accidentally compensate enough as the board warms up, but that's pure luck, it might under or overcompensate.
Both handle and board will warm up, so using the internal temperature will be better than nothing.
« Last Edit: October 24, 2022, 02:32:33 pm by DavidAlfa »
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 
The following users thanked this post: dcore, ygi

Offline ygi

  • Regular Contributor
  • *
  • Posts: 202
  • Country: be
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #3178 on: October 24, 2022, 03:00:09 pm »
Well I now know I'm thinking about it the wrong way. Thanks David :-+
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 6226
  • Country: es
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #3179 on: October 24, 2022, 03:22:58 pm »
Dcore, just follow the User Manual, there's nothing else!
You're skipping calibration because, well, it reads lower?
What's calibration is for, then? Why would cal250 and cal400 values exist?  ;)
Increase until reading 250 and 400°C respectively, you have room up to 4000.

As stated in the instructions, default calibration is usually pretty low to prevent tip overheating, there're a lot of controllers out there and some of them read a lot different than others, I don't want anyone getting the $30 JBC tip red hot, ruining it.

Also genuine JBC tips read about twice than cloned tips, which are basically expensive T12 tips.
You're using a chinesium JBC clone, right?

Of course it oscillates a bit, it's trying to control too small temperature changes, thinking it's 10°C when the variation is 5°C really, way too sensitive.
Will get better when properly calibrated.
« Last Edit: October 24, 2022, 03:29:27 pm by DavidAlfa »
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 
The following users thanked this post: dcore

Offline dcore

  • Contributor
  • Posts: 13
  • Country: pt
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #3180 on: October 24, 2022, 09:52:00 pm »
I now see that I was being overcautious.
(Yes, I use china clone tips.)

I did the manual calibration, since auto was not possible.
I had to do manual calibration twice, since the first time, the max allowed value for cal250 was limited to 990.
In the second manual calibration, it allows cal250 values beyond 990, probably because I had set cal400 to 4000 before.

After the manual calibration was correct, I did auto calibration and it worked, values were only off by 4C.

Back to home screen, the temp is spot on 320C, 370 is +2 hurray!!!!  :clap:
I notice that cold tip, shows 39C, probably the CPU temp when I did zero set.

It's working very well now!!!  :-+
Thank you so much for all your help and information!   :clap: :clap: :clap:
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 6226
  • Country: es
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #3181 on: October 24, 2022, 10:23:51 pm »
Yeah, repeat the zero set when really cold, like after 30 minutes off.
Take out the tip without your fingers (Or you will transfer some heat to it), turn on the station, go to calibration menu, insert the tip, enter calibration adjustment and capture the new Zero Set value.
Once done right, it usually stays pretty close, few degrees off depending on the board temperature (This slightly affects the amplifiers drift).
However remember this is not a thermometer and shouldn't be expected to work like one.
Few degrees off here and there are completely expected, specially at the center between 250 and 400, as the sensor output is not 100% linear but I do use a linear interpolation.
The error will be about 5°C in the worst case, for me it's just fine, not enough to bother with complex maths.
Most commercial products won't display anything below 100°C or more, also they filter all these small oscillations and you won't know they exist (But they do).

Enjoy!
« Last Edit: October 24, 2022, 10:35:34 pm by DavidAlfa »
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 
The following users thanked this post: dcore

Offline yeezy

  • Newbie
  • Posts: 1
  • Country: ru
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #3182 on: October 26, 2022, 04:06:26 am »
Which T12 (according to the technical base) is best to buy so that there are no problems with custom firmware? On 4pda I was advised a green diy kit ksger 2.1s, but it is quite expensive.
https://aliexpress.com/item/32933941125.html
 

Offline yelkvi

  • Regular Contributor
  • *
  • Posts: 114
  • Country: ru
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #3183 on: October 26, 2022, 03:51:32 pm »
« Last Edit: October 26, 2022, 03:54:10 pm by yelkvi »
 
The following users thanked this post: yeezy

Offline wickated

  • Frequent Contributor
  • **
  • Posts: 326
  • Country: ru
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #3184 on: October 27, 2022, 03:03:43 am »
Which T12 (according to the technical base) is best to buy so that there are no problems with custom firmware?
https://aliexpress.ru/item/32788912011.html
this one
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 6226
  • Country: es
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #3185 on: October 28, 2022, 11:18:09 pm »
I'd like to fix the Quicko STM32F072 build, but I lost the chip long time ago.
Does anyone have that controller and some spare time to let me remotely debug it?
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline koendv

  • Newbie
  • Posts: 8
  • Country: es
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #3186 on: November 04, 2022, 10:08:35 am »
Firmware for soldering stations with MM32SPIN27: https://github.com/koendv/t12-958
This is Arduino, and easily adapted to your needs.

Basically I ported the relevant parts of Arduino to MM32SPIN27  https://github.com/koendv/MM32SPIN27-Arduino.
In case you are using MindMotion MM32 Cortex M0 processors in another project: In MM32SPIN27-Arduino/mm32/mm32-libgcc you'll find libgcc, patched to use the hardware division present in MM32 Cortex M0 processors.

 
The following users thanked this post: Tugo, wickated, dcore

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 6226
  • Country: es
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #3187 on: November 04, 2022, 10:18:59 am »
Nice work! :-+
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 6226
  • Country: es
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #3188 on: November 05, 2022, 04:02:27 pm »
Well, it seems they started to use relabeled chips.
Spent few hours remotely fighting with Cube IDE, discovered that anything never than JDK15 will break it in very strange ways...
Finally, CPU ID 0x13030410, definitely not a genuine STM32F103, Google says it's a GD32F.
So GD32F also has the same ADC issue as the CH32F.
« Last Edit: November 06, 2022, 06:52:48 pm by DavidAlfa »
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline eevnoob

  • Contributor
  • Posts: 29
  • Country: us
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #3189 on: November 06, 2022, 12:58:19 am »
hello, there is a newer KSERG T12 being sold on aliexpress that uses "STC Controller V2.3". one of the new "features" is that the chassis is now properly grounded and also the display appears to have a color interface. however, i suppose this means that the likehood of it using David's firmware is very low? AFAIK this is the first of the T12 clones to be properly grounded from the factory?
https://www.aliexpress.us/item/3256804499899529.html
 

Offline NathanBxr

  • Newbie
  • Posts: 2
  • Country: au
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #3190 on: November 06, 2022, 07:30:41 am »
Well, it seems they started to using relabeled chips.
Spent few hours remotely fighting with Cube IDE, discovered that anything never than JDK15 will break it in very strange ways...
Finally, CPU ID 0x13030410, definitely not a genuine STM32F103, Google says it's a GD32F.
So GD32F also has the same ADC issue as the CH32F.

Did it look like this? I got this one couple weeks ago.

KSGER T12 OLED Soldering Station T12 Iron Tips STM32 DIY Assembled Kits ABS Plastic FX9501 Handle Electric Tools Welding Heating
https://www.aliexpress.com/item/4000008060128.html?spm=a2g0o.order_list.0.0.635e1802h1LEh9

1632490-0
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 6226
  • Country: es
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #3191 on: November 06, 2022, 12:20:00 pm »
STCs are not compatible. It's not a clone, but a completely different architecture.

Yeah it looked pretty similar.
After rubbing with some alcohol the label went away, original stm32 are labed with laser.
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline ygi

  • Regular Contributor
  • *
  • Posts: 202
  • Country: be
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #3192 on: November 06, 2022, 01:17:13 pm »
I thought every chinese faker got a laser engraving machine nowadays.
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 6226
  • Country: es
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #3193 on: November 06, 2022, 04:02:09 pm »
Probably got fake laser machines too  :-DD
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline ygi

  • Regular Contributor
  • *
  • Posts: 202
  • Country: be
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #3194 on: November 06, 2022, 04:22:13 pm »
Haha, that would explain it >:D
 

Offline eevnoob

  • Contributor
  • Posts: 29
  • Country: us
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #3195 on: November 07, 2022, 12:48:01 am »
just one other quick question that many of the experts in this thread can probably answer: what is primary difference between the 4 pin and 5 pin handles in the T12 clones?  i've read that 5 wire irons have an additional temperature sensor in the handle to allow for proper cold junction compensation. is that an important feature that was absent from the 4 pin versions? if so, are all 4 pin handles in some sense defective? thanks for help understanding.
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 6226
  • Country: es
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #3196 on: November 07, 2022, 12:51:28 am »
Nothing really, all you need is 4:
- Gnd
- T12+
- Shake
- NTC

5-wire handles use two wires for gnd.

Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 
The following users thanked this post: eevnoob

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 6226
  • Country: es
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #3197 on: November 07, 2022, 07:50:54 pm »
I made a KSGER v2 test build, enforcing Cortex-m0 instructions for MM32, but I have no way of trying.
File attached, let me know the results if you tested it.
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline Spenoza

  • Newbie
  • Posts: 9
  • Country: by
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #3198 on: November 08, 2022, 03:18:33 pm »
Hello DavidAlfa. I am studying your sources with interest. I am not a programmer, and therefore I program a little. I saw a lot of new things in the source code for myself.
To facilitate the study, could you explain the principle of forming menu screens with widgets and displaying them on the screen?
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 6226
  • Country: es
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #3199 on: November 08, 2022, 05:34:49 pm »
Sorry, I can't really explain everything, that's a pretty long thing to do, specially if you don't know programming!
Start at gui.c, follow the program flow...
Most stuff happens at widgets.h/c, screen.h/c and the individual screens at "screens/**screen.c".
Mostly you can reuse existing blocks, function names are easy to understand and self-explanatory.

It's like asking a mechanic to explain how to rebuild an engine when your daily business is office work.
I'm not saying it's easy for me either, first time I got into it, it took me weeks to understand everything, few years had pased since last time I programmed.
« Last Edit: November 08, 2022, 05:37:44 pm by DavidAlfa »
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