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

bozo and 5 Guests are viewing this topic.

Offline Polf

  • Regular Contributor
  • *
  • Posts: 54
  • Country: ru
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #2275 on: October 14, 2021, 03:55:18 pm »
Ok, one last try, slightly increasing H time to have some margin.
This might become the new timings, so other ksger v2 users, please try it...
For me it works with the standard 10K resistors, no modifications.
Yes it works. I tried to remove the 2k2 resistors and leave 4k7 - my display does not work.  :( I returned 2k2 back.
 

Offline ricktendoTopic starter

  • Regular Contributor
  • *
  • Posts: 115
  • Country: hn
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #2276 on: October 14, 2021, 04:11:55 pm »
If you want Soldering Iron comparisons use this channel: https://www.youtube.com/c/Sdgelectronics

Edit: here is the playlist

Code: [Select]
https://www.youtube.com/watch?v=AMvZfOWkApw&list=PLZzwMlLVLdOBBz8pwjt9CJhEJFYVfHSH2
« Last Edit: October 14, 2021, 04:14:19 pm by ricktendo »
 
The following users thanked this post: SteveyG

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5835
  • Country: es
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #2277 on: October 14, 2021, 04:22:00 pm »
I don't know how the factory fw works, but mine can put almost 100% power if the temperature doesn't match the setpoint even by 1°C, the pid integral will keep rising and rising, but only if the tip is able to transfer the heat.
Yes, stock fw hides the real temperature because it probably bounces more than a kid in a fun fair.
I've recently added a  small filter (5°C) to remove these annoying constant little changes, but the real temp will be shown when the threshold is surpassed.
Give it a try, you have original backups to revert.
All I can say is T12 are a very random thing, some perform a lot better than others, even smallers doing better than bigger ones.
The main issue comes in the TC bonding with the tip.
If poorly bonded, it'll read the heater temperature, instead the tip body, I've had tips reading 300°C under water, while others did much better.
Also they calibration can vary a lot, more than 50°C.

New tips are often a bit unstable, after a while they start working nicely, and few months later they start losing thermal performance.
I'd get a beefier 150-200w 24V power supply and mod the station to use JBC.
Also, I've heard JBC overshoots on purpose when detecting load, so when you think you're soldering at 300°C, it's actually rising the temps to compensate, but I can't verify that.
My fw doesn't do that because I can't trust these T12 tips, they all behave different, so better stay in the safe side.
You have the boost option which increases the temperature for a specified time and returns to normal, so you'll hardly damage anything by forgetting.
Anyways, the temperature control is pretty good, I've used it a lot at 380-400 and even 450°C when using small tips to solder grounded pins, and very rarely damaged anything, only when applying excessive force and other screw-ups caused by me.
If you want Soldering Iron comparisons use this channel: https://www.youtube.com/c/Sdgelectronics

Edit: here is the playlist

Code: [Select]
https://www.youtube.com/watch?v=AMvZfOWkApw&list=PLZzwMlLVLdOBBz8pwjt9CJhEJFYVfHSH2

He should re-test the performance with the newer pid and filtering algorithms, I thing it'll do better now.
« Last Edit: October 14, 2021, 04:32: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: SteveyG

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5835
  • Country: es
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #2278 on: October 14, 2021, 05:44:32 pm »
Yes it works. I tried to remove the 2k2 resistors and leave 4k7 - my display does not work.  :( I returned 2k2 back.
Nice!
I'm sorry but... I found that slightly changing certain parts of the code boosted performance up to 20-25%.
Ex. software SPI went from 600 to 920fps. I2C needs to got slower, but the data processing before toggling the pin is now faster.
So, I need another few test to recalibrate the timings again... This is the last one, I promise! :D
The H value now is (~)equivalent to older H+3. Ex. older H10 is now H7.
The L is the same.

Check it thoroughly. Sometimes there're little blips, random pixels... it doesn't always fail completely.
Edit: Deleted  file (now useless)
« Last Edit: October 14, 2021, 10:12:50 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 #2279 on: October 14, 2021, 06:50:45 pm »
With 2k2 resistors in SDA and SCK, the following firmware works fine:
KSGER_V2_I2C_Test_H10_L04_129FPS
KSGER_V2_I2C_Test_H09_L04_137FPS
KSGER_V2_I2C_Test_H08_L04_142FPS
KSGER_V2_I2C_Test_H07_L04_148FPS
KSGER_V2_I2C_Test_H06_L04_153FPS
KSGER_V2_I2C_Test_H05_L04_165FPS

firmware does not work (image is distorted):
KSGER_V2_I2C_Test_H10_L03_135FPS
KSGER_V2_I2C_Test_H10_L02_141FPS
KSGER_V2_I2C_Test_H09_L03_141FPS
KSGER_V2_I2C_Test_H09_L02_147FPS
KSGER_V2_I2C_Test_H08_L03_147FPS
KSGER_V2_I2C_Test_H08_L02_155FPS
KSGER_V2_I2C_Test_H07_L03_155FPS
KSGER_V2_I2C_Test_H07_L02_163FPS
KSGER_V2_I2C_Test_H06_L03_163FPS
KSGER_V2_I2C_Test_H06_L02_171FPS
KSGER_V2_I2C_Test_H05_L03_171FPS
KSGER_V2_I2C_Test_H05_L02_179FPS
KSGER_V2_I2C_Test_H05_L01_188FPS
KSGER_V2_I2C_Test_H05_L00_200FPS
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5835
  • Country: es
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #2280 on: October 14, 2021, 07:49:56 pm »
Thanks. I'll take the next slowest one, also increase slightly to L05.
Can anyone test KSGER_V2_I2C_Test_H06_L04_153FPS in a Ksger v2?
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline hanzz

  • Contributor
  • Posts: 20
  • Country: de
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #2281 on: October 14, 2021, 07:55:38 pm »
Can anyone test KSGER_V2_I2C_Test_H06_L04_153FPS in a Ksger v2?
Looks good.

 

Offline Polf

  • Regular Contributor
  • *
  • Posts: 54
  • Country: ru
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #2282 on: October 14, 2021, 08:02:15 pm »
Thanks. I'll take the next slowest one, also increase slightly to L05.
Can anyone test KSGER_V2_I2C_Test_H06_L04_153FPS in a Ksger v2?
https://disk.yandex.ru/i/iZlp37DM_bdo-g
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5835
  • Country: es
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #2283 on: October 14, 2021, 10:06:33 pm »
New builds using H06 L05.
Enjoy your new staggering 153 fps of power  :D

I got tired of manually updating the build version everytime.
Following builds will use the automated __TIME__ C preprocessor macro, which generates something like "Oct 14 2021"
« Last Edit: October 14, 2021, 10:09:24 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: Tugo, Polf

Offline wickated

  • Frequent Contributor
  • **
  • Posts: 326
  • Country: ru
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #2284 on: October 15, 2021, 03:43:45 pm »
I know wickated is going to try the 140fps version right away..  ;)

Edit: File removed
nooooo, where is mine 9000 fps supermegaturbohighoctane edition

tested final build. i2c screen works ok with 20cm nontwisted wires
« Last Edit: October 15, 2021, 03:49:57 pm by wickated »
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5835
  • Country: es
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #2285 on: October 15, 2021, 05:14:28 pm »
Current build is even faster :D
That's crazy, is It working with default 10K pullup resistors?
« Last Edit: October 15, 2021, 05:16:07 pm 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 #2286 on: October 15, 2021, 05:42:30 pm »
Current build is even faster :D
That's crazy, is It working with default 10K pullup resistors?
yep, all default with wires right over transformer.
latest builds looks like having even less jitter. compared to very old build where screen temp had permalock. looks like it was also linked with power limiter and it didnt worked either. now power limiter works ok.
cant be ever sure before since had huge voltage sags on my unregulated PSU, now no sags and power bar moves smooth

p.s. turkish translation  :-+
« Last Edit: October 15, 2021, 05:48:38 pm by wickated »
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5835
  • Country: es
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #2287 on: October 16, 2021, 09:47:38 am »
It came a year later, but I finally figured out how to trigger CubeMX code generation from the command line.
Now the build script is completely unattended.

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

Offline M-Reimer

  • Contributor
  • Posts: 25
  • Country: de
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #2288 on: October 17, 2021, 01:24:58 pm »
Give it a try, you have original backups to revert.

Finally managed to do it. I forgot that st-flash can't directly flash to locked controllers for some reason. Had to use openocd for unlocking, first. Then flashed with st-flash.

Quote
All I can say is T12 are a very random thing, some perform a lot better than others, even smallers doing better than bigger ones.
The main issue comes in the TC bonding with the tip.
If poorly bonded, it'll read the heater temperature, instead the tip body, I've had tips reading 300°C under water, while others did much better.
Also they calibration can vary a lot, more than 50°C.

The T12-D08 seems to be a bit dodgy. With original firmware it showed "Error" every time I started the station with this tip until it finally settled to some usable temperature.

With the custom firmware the 250°C setpoint was way off while calibrating. Measured was around 300°C which was not accepted while calibrating, so I had to manually adjust it a bit, first. For some reason the 400°C setpoint was way better and needed almost no adjustment...

If I set the station to 300°C and try to solder to a ground plane, then the tip cools down to a point where it is impossible to melt solder while the station still says 300°C without any major changes when touching or removing the tip from the ground plane.

When putting just the tip under water, then the station can heat to around 290°C. So somewhere around 190°C get lost.

I've ordered one original tip, now, just to see how they perform. What I've seen, so far, is not the performance I'm aiming for.
 

Offline wickated

  • Frequent Contributor
  • **
  • Posts: 326
  • Country: ru
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #2289 on: October 17, 2021, 03:12:17 pm »
only d52 or c4 are suitable for big solder pads. d08 is for througholes only. i used dl32 and wd52 and c4, other tips (even genuine K) arent suitable for heavy soldering.
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5835
  • Country: es
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #2290 on: October 17, 2021, 03:37:45 pm »
The default calibration is generic, close enough to be usable, but it will be wrong for almost every station.
It's just impossible, each one is different. For the stlink, all it takes is connecting the nRST pin.
You can -absolutely- forget about soldering anything heavy at 300ºC with most T12 tips, and D08 is a toy for small pins.

Made few updates:

- Made NTC settings profile-specific, so now each profile can have it's own NTC settings. Moved NTC menu to iron screen.
  So now T12 can have NTC enabled, and C245/C210 have it disabled to use stm32 internal sensor.

- The NTC detection was not working as I thought. Fixed.
  Edit: Since now NTC is profile-specific, it makes more sense to show NTC error if NTC is enabled and not detected, and use internal sensor only if disabled.
  Otherwise you won't notice there's a problem with the NTC.
  So, for profiles/handles without NTC, disable NTC to use internal sensor.

- Improved the error screen. Only show other errors when iron is detected, otherwise, only show the iron detection graphic.
  ​After all, other errors are irrelevant without iron.

- Improved the main screen drawing.
  Sometimes, an error could suddenly appear while drawing it, so it was too late to notice.
  The system could get wrong readings and display them until the next frame was drawn, causing a brief flash.
  Now, after drawing to the screen buffer, it will check for errors, and skip screen update if detected. So no more flashes.

- Fixed a small bug in the main screen when DEBUG  is enabled, returning to the wrong position.

- I had messed up something (again) in Farenheit temps.

« Last Edit: October 17, 2021, 06:02:06 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: ricktendo, Tugo, mastershake

Offline M-Reimer

  • Contributor
  • Posts: 25
  • Country: de
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #2291 on: October 18, 2021, 02:17:32 pm »
Does anyone know a good source for the T12 handle where the tip sits deeper in the housing to have better control when soldering smaller stuff?

I'm searching for this one: https://www.banggood.com/-p-1305799.html

But this offer does not include NTC and tilt switch.

I want to get it delivered to Germany. And I can't order from Aliexpress as they for some reason disabled my account and now want a phone number (which I won't give them).
 

Offline wickated

  • Frequent Contributor
  • **
  • Posts: 326
  • Country: ru
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #2292 on: October 18, 2021, 02:59:26 pm »
you can just type "ksger" in search window and select any handle u prefer :-//
« Last Edit: October 18, 2021, 03:01:27 pm by wickated »
 

Offline M-Reimer

  • Contributor
  • Posts: 25
  • Country: de
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #2293 on: October 18, 2021, 03:06:18 pm »
I'm looking for some handle that does not get excessively hot even with the "reduced tip length". So probably not the aluminium one because aluminium conducts heat very good (bad isolation for my fingers).

I've searched with all kinds of search terms on Banggood but could not find something that fits this. But there are many offers on Aliexpress... I have a friend who regularly orders stuff from Aliexpress. I guess I'll just tell him what I need and ask him to place the order.
 

Offline ygi

  • Regular Contributor
  • *
  • Posts: 202
  • Country: be
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #2294 on: October 18, 2021, 03:18:46 pm »
12euro + shipping just for the plastic parts? You're better off buying the fully assembled one here https://www.banggood.com/-p-1613852.html
Meh, I remember those were sold for like 7$ on AE a couple years back...
 

Offline mastershake

  • Frequent Contributor
  • **
  • Posts: 411
  • Country: us
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #2295 on: October 18, 2021, 04:14:40 pm »
i use the black aluminum one but i put the foam sleeves from the jbc 245 on them the green ones stays cool enough for me imo i just prefer the feel of that one to the plastic one
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5835
  • Country: es
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #2296 on: October 18, 2021, 08:11:30 pm »
I have the alu handle, don't recommend, it'll cook your fingers.

The cheap blue handle does ok, only 5 euro /$6 (Without cable). That's damn expensive in the link your provided!
https://es.aliexpress.com/item/32871508100.html
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 #2297 on: October 18, 2021, 08:30:38 pm »
i have handle that has both alu and plastic versions absolutely identical.
alu is warm but stiil workable
plastick one actually melted  :-DD
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5835
  • Country: es
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #2298 on: October 18, 2021, 11:20:09 pm »
Most of the firmware development was done with the plastic one...never had any isssue. And it had a LOT of use.
Until I bought the aluminium handle because I thought it was better  :palm:
I don't change it because I'm lazy, until something breaks or explodes...
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline mastershake

  • Frequent Contributor
  • **
  • Posts: 411
  • Country: us
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #2299 on: October 19, 2021, 12:07:25 am »
i have used the aluminum for hours imo it gets a bit hot but nothing crazy. once i added that jbc sleeve thing on there its perfect imo
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf