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

0 Members and 6 Guests are viewing this topic.

Offline ricktendoTopic starter

  • Regular Contributor
  • *
  • Posts: 115
  • Country: hn
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #1475 on: July 31, 2021, 09:14:50 pm »
Forgive me if this has been asked and answered, I looked in the Operations Instructions and FAQ but did not find the anser

Is there a Boost mode setting/feature, if not is it possible to add this to the feature requests?
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5912
  • Country: es
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #1476 on: July 31, 2021, 10:24:53 pm »
The main thing I wanted in the fw was to keep it minimalistic, away from a lot of adjustable widgets in the main screen and having to navigate beween them, selecting, deselecting... that's a mess.
That's why it's done that way. Every encoder action has its own function.
So,there are no free actions for the encoder in the main screen. All of them (click, long click, rotate, click and rotate) are used.
Anyways, why? When you can simply turn the encoder. It'll be worse to have to go somewhere to select it or doing some long-clicking thing.

Call me old grump, but I always saw the boost as a stupid thing. Depending on the board you'll need different boost temperature and time.
Having to adjust any, will be more annoying than just cranking up the temps.

Otherwise, something will need to go. Like the temperature plot graph.


BTW, how many ºC are represented by each step in the graphic? Just curious...

It draws +-20ºC from the set point reference. So if you set 300ºC, the drawable range is 380-320ºC.
The plot height is 40 pixels , so it's 1px/ºC
« Last Edit: July 31, 2021, 10:34:20 pm by DavidAlfa »
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline ricktendoTopic starter

  • Regular Contributor
  • *
  • Posts: 115
  • Country: hn
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #1477 on: July 31, 2021, 10:32:55 pm »
The main thing I wanted in the fw is to keep it minimalistic, keeping the main screen away from alot adjustable widgets, having to navigate beween them, selecting, deselecting... that's a mess.
That's why it's done that way. Every encoder action has its own function.
So,there are no free actions for the encoder in the main screen. All of them (click, long click, rotate, click and rotate) are used.
Anyways, why? When you can simply turn the encoder. It'll be worse to have to go somewhere to select it or doing some long-clicking thing.
Understood

But for whatever reason it were to be implemented it could be a increase in degree setting (example 50) from the current temperature setting (example 350, boost would increase to 400)
I think double click would be a good boost shortcut and maybe single click to exit (or use the dial in any direction to go back to set temperature and maybe adjust up/down in the direction the dial has turned)
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5912
  • Country: es
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #1478 on: July 31, 2021, 10:36:46 pm »
Hmm you gave me an idea. Maybe selecting the setpoint, and quickly doing a long-press...
The main thing is to not cause trouble with other settings. There are a lot of checks everywhere.
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline ricktendoTopic starter

  • Regular Contributor
  • *
  • Posts: 115
  • Country: hn
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #1479 on: July 31, 2021, 10:42:12 pm »
Isn't long press already used to get to settings from the main screen?

I think double click from the main screen is a good option, because click right is already taken by tip selection, click left for standby/sleep
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5912
  • Country: es
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #1480 on: July 31, 2021, 11:15:27 pm »
Edit: I made it even easier.
When you adjust the setpoint, there's 1 second timeout before returning back to normal screen.
If you click within that time, boost mode will be enabled.
Instead of a fixed temp, I made the boost mode as an offset which is added to the actual setpoint. Here we start again, people will want one or another.
I think this way is better. If you are soldering a sensitive board, you'll want a lower temperature, and boost relative to that setpoint.
Then you take a 4mm board with thick traces, you aren't going to enable boost time after time, instead, you'll set the temp for the average needs of that board.
If you find something hard to solder, it'll be better to boost the actual temp.
Otherwise youll have to go to settings and change it every time.

Options added to IRON settings.
Click while the setpoint view is enabled to trigger boost mode.
Click at any time in main screen view to exit sleep, standby, and boost modes.
View modes (Numeric or graph) can't be switched unless it's running in normal mode (The first click will exit the mode).

The flash is struggling really hard. Althought I removed and simplified some code, I saw 232 bytes remaning in one of the builds! That's only ~115 instructions!
Since the reserved flash for the settings can't be less than 2KB (Page size), and less than half of it was used, I increased the tip capacity to 20.

Does anyone know how to create Makefiles, so I can run an automated build for all targets?
The biggest issue is to run cubemx code generation automatically.

Building by hand is a tiresome job!

BTW, I was planning to literally lie dead in the sofa and relax for a while.  You had to mention the boost thing, didn't you? :-DD


Try this pid: 60-60-10, Imax 0.50, filter 2.


Builds updated!
« Last Edit: August 01, 2021, 02:18:50 am by DavidAlfa »
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline StephenR0

  • Regular Contributor
  • *
  • Posts: 52
  • Country: us
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #1481 on: August 01, 2021, 02:41:54 am »
BTW, I was planning to literally lie dead in the sofa and relax for a while.  You had to mention the boost thing, didn't you? :-DD

I know that I speak for everyone when I say, please take care of yourself.  We love the work that you do, but you have to keep yourself in a condition to do it.  Please, be selfish about this!  :)
 

Offline illiac4

  • Regular Contributor
  • *
  • Posts: 57
  • Country: si
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #1482 on: August 01, 2021, 05:39:51 am »
Today I have first time flashed the iron. Have used Ksger 2.x bin file. At quick look I have find one thing that is not working.
- It does not lower the temperature when it goes into the STBY mode.

Also some things that I liked in original firmware:
- When in SLEEP mode it would be nice to still see/display the temperature beside HOT!.
- I kinda liked the quick rotation of the encoder left to manually put it into the stby/sleep mode.
- Quick rotate it right to put it into boost mode.
- Press and rotate to select the tip.
- Also I liked the way the shake/button press was handled. When in STBY mode the shake can waken the iron but when in SLEEP mode the shake will not waken it but only button press. This way it will avoid accidently waken it when working on the bench and tilt it and burn something.
- For screensaver I am not sure but any info should not be static on oled display to prevent burn in. I know it will sound funny but original one has a moving Sleeping and displaying temperature at the same time.
The board I have flashed it was with original firmware HW: 2.1S; SW: 2.11

TNX
« Last Edit: August 01, 2021, 07:57:13 am by illiac4 »
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5912
  • Country: es
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #1483 on: August 01, 2021, 08:31:10 am »
It seems you need some reading! Most of those features already exist.
You're right about the standby temps, a new bug that appeared after adding boost.
Fixed, I'll wait a bit before making another builds just un case more issues are found.
Screen saver is not needed since it lowers the display brightness to the minimum.
« Last Edit: August 01, 2021, 08:42:57 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 #1484 on: August 01, 2021, 08:33:34 am »
if i need "boost mode" i can just adjust pid so it will overshoot under heaby load :popcorn:
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5912
  • Country: es
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #1485 on: August 01, 2021, 08:35:01 am »
Please avoid the silly comments....  :palm:
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline illiac4

  • Regular Contributor
  • *
  • Posts: 57
  • Country: si
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #1486 on: August 01, 2021, 08:35:51 am »
I have 6 hours old build.
 

Offline wickated

  • Frequent Contributor
  • **
  • Posts: 326
  • Country: ru
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #1487 on: August 01, 2021, 08:41:50 am »
Please avoid the silly comments....  :palm:
genuine jbc stations literally do this.
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5912
  • Country: es
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #1488 on: August 01, 2021, 10:01:08 am »
Yes, but in a controlled manner, not with a such weird hack  :-DD.

I removed the sleep screen.  Now everything is normal, but the screen is dimmed as before.
« Last Edit: August 01, 2021, 10:30:19 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 #1489 on: August 01, 2021, 10:45:21 am »
Yes, but in a controlled manner, not with a such weird hack  :-DD.

I removed the sleep screen.
if it work why not. there are tons of hacks everywhere

no dvd ? NOOOOOOO
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5912
  • Country: es
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #1490 on: August 01, 2021, 11:17:18 am »
New builds. Hopefully all issues are sorted now.
I'm updating the documentation to follow the current fw.
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline Strand17

  • Contributor
  • Posts: 27
  • Country: dk
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #1491 on: August 01, 2021, 11:46:46 am »
Hello,

First, many thanks to DavidAlfa, dreamcat4, floobydust and all other contributors to the custom firmware. Truly excellent work! I have a controller with a T12 iron happily running with your firmware  since a few weeks.

I have a few questions about connecting JBC C245 cartridges to a v2.1S original version (green PCB) controller board. The C245 can be connected in two ways. Either 1) like the T12, with the sensor in series with the heater or 2) JBC 245-style with the heater and sensor separate, requiring some small hardware modifications.

- What are the pro's and con's of the two different connection methods?
- If connecting a C245 like a T12, should the T12 or C245 iron profile be used?

Thanks in advance!
 

Offline illiac4

  • Regular Contributor
  • *
  • Posts: 57
  • Country: si
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #1492 on: August 01, 2021, 12:20:30 pm »
I am trying to flash another KSGER 2.1 and it says that Can not connect to the target. Is it possible that the flash is defekt on this board? I have checked and there is connection with clock and data to the STM32 pins from the flashing port.
 

Offline wickated

  • Frequent Contributor
  • **
  • Posts: 326
  • Country: ru
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #1493 on: August 01, 2021, 12:49:18 pm »
JBC 245-style with the heater and sensor separate, requiring some small hardware modifications.
this. even though tc in genuine jbc tips can withstand this power temp accuracy will suffer with oscilations and other awkward reading like with t12
 

Offline wickated

  • Frequent Contributor
  • **
  • Posts: 326
  • Country: ru
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #1494 on: August 01, 2021, 12:51:28 pm »
Yes, but in a controlled manner, not with a such weird hack  :-DD.
i suggest then much simpler and reliable turboboost implementation. in tip menu u select power % which add temp +offset. so it will automatically boost when heating big things.
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5912
  • Country: es
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #1495 on: August 01, 2021, 01:05:25 pm »
I am trying to flash another KSGER 2.1 and it says that Can not connect to the target. Is it possible that the flash is defekt on this board? I have checked and there is connection with clock and data to the STM32 pins from the flashing port.

Because in stock fw trhe debugging pins are disabled. Connect nRST to the programmer.
Another way is to manually short the reset pin to gnd with the tweezers, click on erase, and release after 1/2 second. Though you'll need some tries.
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline illiac4

  • Regular Contributor
  • *
  • Posts: 57
  • Country: si
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #1496 on: August 01, 2021, 02:03:11 pm »
TNX. I have inspected under the microscope and there was a cold joint out of factory. Now it works.
 

Offline tatel

  • Frequent Contributor
  • **
  • Posts: 448
  • Country: es
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #1497 on: August 01, 2021, 03:16:57 pm »
There's still something in the "Edit tips" menu. Created new DFLT and BC2 tips. Then got into BC3 to delete it. Result: last created tip (BC2) gets deleted instead.

 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5912
  • Country: es
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #1498 on: August 01, 2021, 03:58:06 pm »
Not happening here.
After factory reset, I created "2","3","4","5"... Deleting BC3(1st tip), deleted exactly that one.
Deleting any other tip also worked as it should.

Please describe the exact procedure to reproduce the issue.
Ensure you're using the latest, made few hours ago.
Since I've been doing multiple builds daily, it's a little confusing.
« Last Edit: August 01, 2021, 04:38:15 pm by DavidAlfa »
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline Cuboy

  • Regular Contributor
  • *
  • Posts: 67
  • Country: es
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #1499 on: August 01, 2021, 05:26:55 pm »
Not happening here.
After factory reset, I created "2","3","4","5"... Deleting BC3(1st tip), deleted exactly that one.
Deleting any other tip also worked as it should.

Please describe the exact procedure to reproduce the issue.
Ensure you're using the latest, made few hours ago.
Since I've been doing multiple builds daily, it's a little confusing.

Hello David,

Today I stumbled with the project, I have to say you are doing a great job.

I was wondering what is happening with the PID algorithm, are you having problems with it? I see that you pushed an old version, what's happening with the new version?

Thank you.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf