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

0 Members and 2 Guests are viewing this topic.

Online DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5903
  • Country: es
Re: CFW for STM32 OLED Digital Soldering Station with T12 Handle
« Reply #1025 on: May 13, 2021, 04:31:45 pm »
No! :-DD
Go to calibration adjustment and make a rough aproximation for 250, 350 and 450°C steps.
This is only needed on the first time after flashing or resetting the tip profile.
Save and start calibration normally.

The calibration values in tips are just for viewing or restoring from and old calibration.
The calibration process adjust these automatically.

Read the operation manual!
« Last Edit: May 13, 2021, 04:35:54 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 STM32 OLED Digital Soldering Station with T12 Handle
« Reply #1026 on: May 13, 2021, 05:37:22 pm »
why no?
in main calbration menu i cant set adc values in steps less then 50 (not 100, rechecked) , but in new "tip calibration" i can adjust in steps of 1.
 

Online DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5903
  • Country: es
Re: CFW for STM32 OLED Digital Soldering Station with T12 Handle
« Reply #1027 on: May 13, 2021, 05:40:56 pm »
Do whatever you want then  |O
You asked something, I answered.
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 STM32 OLED Digital Soldering Station with T12 Handle
« Reply #1028 on: May 13, 2021, 06:07:29 pm »
The calibration values in tips are just for viewing or restoring from and old calibration.
so they dont change anything ? why then this submenu is added?  :-//
 

Online DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5903
  • Country: es
Re: CFW for STM32 OLED Digital Soldering Station with T12 Handle
« Reply #1029 on: May 13, 2021, 06:10:03 pm »
I've said that a dozen times!
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline smile

  • Regular Contributor
  • *
  • Posts: 215
Re: CFW for STM32 OLED Digital Soldering Station with T12 Handle
« Reply #1030 on: May 14, 2021, 03:48:35 pm »


video does not work. Can anyone post video about this firmware?
 

Online DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5903
  • Country: es
Re: CFW for STM32 OLED Digital Soldering Station with T12 Handle
« Reply #1031 on: May 14, 2021, 03:59:17 pm »
Surgery done! All went fine (for now).  :-+
Now I'll staye here for maybe 2 weeks to ensure everything goes ok.
Not a problem, there are a lot of pretty and young nurses :-DD
« Last Edit: May 14, 2021, 04:06:10 pm by DavidAlfa »
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Online DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5903
  • Country: es
Re: CFW for STM32 OLED Digital Soldering Station with T12 Handle
« Reply #1032 on: May 14, 2021, 04:01:53 pm »


video does not work. Can anyone post video about this firmware?
I deleted the video because it was old and very different, but I didn't made a new one because things were changing too fast!
Hopefully someone can make a video :D
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline smile

  • Regular Contributor
  • *
  • Posts: 215
Re: CFW for STM32 OLED Digital Soldering Station with T12 Handle
« Reply #1033 on: May 14, 2021, 05:09:33 pm »
I would like to see what this firmware has to offer, how does UI it look like. How does it compare to https://github.com/wagiminator/ATmega-Soldering-Station
 

Online DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5903
  • Country: es
Re: CFW for STM32 OLED Digital Soldering Station with T12 Handle
« Reply #1034 on: May 14, 2021, 05:47:05 pm »
Just flash it and try yourself.
The ksger firmwares are everywhere.
No, I don't use fancy graphics.
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline smile

  • Regular Contributor
  • *
  • Posts: 215
Re: CFW for STM32 OLED Digital Soldering Station with T12 Handle
« Reply #1035 on: May 14, 2021, 07:44:45 pm »
Just flash it and try yourself.
The ksger firmwares are everywhere.
No, I don't use fancy graphics.

Are there at least screenshots of what it looks like?
 

Online DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5903
  • Country: es
Re: CFW for STM32 OLED Digital Soldering Station with T12 Handle
« Reply #1036 on: May 14, 2021, 08:58:50 pm »
Search back in the posts, there are some videos and pictures. Won't be exactly the same, but it's close.
This project will be unatteneded for several weeks for the said surgery and recovery.
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 STM32 OLED Digital Soldering Station with T12 Handle
« Reply #1037 on: May 15, 2021, 04:11:13 am »
I would like to see what this firmware has to offer, how does UI it look like. How does it compare to https://github.com/wagiminator/ATmega-Soldering-Station
it has full support of jbc handles(pace ads200 handles should work too),sleep switches by handle/stand, speedy and accurate temp control with no overshoots and tweaks for better work, power limits for use with low output PSUs, profiles for quick system/handles change, work with lessest components(no eeprom, 1 channel OA), and flashes on factory built boards available everywhere. it also has 3+1 fancy icons for aestetics.
 

Offline wickated

  • Frequent Contributor
  • **
  • Posts: 326
  • Country: ru
Re: CFW for STM32 OLED Digital Soldering Station with T12 Handle
« Reply #1038 on: May 16, 2021, 11:37:54 am »
Go to calibration adjustment and make a rough aproximation for 250, 350 and 450°C steps.
This is only needed on the first time after flashing or resetting the tip profile.
Save and start calibration normally.
The calibration values in tips are just for viewing or restoring from and old calibration.
The calibration process adjust these automatically.
I've said that a dozen times!
Acually you didnt explain all the process exatly. calibration process is made really good but your explanation is contrintuitive. i asked about restoring values after flashing w/o using thermometer every build release.

So to restore backup using only paper with 3 digits u have to do this
1)in profile calbration menu set appoximate values in steps of 50. this values dont copy on tip calibration.
2)to copy values press start calibration, just set temp to 250/350/450. no need to use thermometer.
3)go to tip menu, and adjust adc values in steps of 1 to finalize backup restore.

i guess if someone really use "tip menu" he should select another tip and only redo steps 2 and 3. cuz "calibration" do copypaste. Pretty smartass bypass of tip burning and avoids using electric drill to rotate encoder thousand times. :-DD

p.s. when system reaches standy temp buzzer beeps. so there is room for coding, but dont actually bother.
« Last Edit: May 16, 2021, 11:42:40 am by wickated »
 

Online DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5903
  • Country: es
Re: CFW for STM32 OLED Digital Soldering Station with T12 Handle
« Reply #1039 on: May 22, 2021, 11:35:43 pm »
Hi guys! Just to let you know I'm not dead yet  :-DD

First week recovery was really hard, also had some complications, but now it's getting better everyday.
If everything keeps going well, with some luck I'll be sent back to home in a week or even less.
There are another 2-3 months until full recovery (a year for any high intensity physical activities like training, lifting heavy weights... Running is ok) but I probably be back to the T12 battle in the next 2 weeks.
Cheers!
« Last Edit: May 24, 2021, 08:48:30 am 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: totalnoob, Tugo

Offline Il_Marco

  • Contributor
  • Posts: 16
  • Country: it
Re: CFW for STM32 OLED Digital Soldering Station with T12 Handle
« Reply #1040 on: May 23, 2021, 11:30:45 am »
Glad to hear that Davidalfa, wish you will recover soon!
 
The following users thanked this post: DavidAlfa

Offline mastershake

  • Frequent Contributor
  • **
  • Posts: 411
  • Country: us
Re: CFW for STM32 OLED Digital Soldering Station with T12 Handle
« Reply #1041 on: May 24, 2021, 08:14:58 am »
wishing you a speedy recovery!!!
 
The following users thanked this post: DavidAlfa

Offline hobbit666

  • Contributor
  • Posts: 13
Re: CFW for STM32 OLED Digital Soldering Station with T12 Handle
« Reply #1042 on: May 26, 2021, 11:38:20 am »
OK so i've looked through all the pages (OK didn't read every line) but complete noob here.
If i want to flash one of my two Ksger 3.1 stations how and where do i hook up onto the board?

These are the two boards i have,
and


I've been having issues getting the tips to calibrate and stay that way :) so thought wouldn't hurt to try flashing some custom firmware.
« Last Edit: May 26, 2021, 11:41:13 am by hobbit666 »
 

Online DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5903
  • Country: es
Re: CFW for STM32 OLED Digital Soldering Station with T12 Handle
« Reply #1043 on: May 26, 2021, 12:51:26 pm »
See on the upper left corner, where C5 is?
C(Clock, SWCLK)  D(Data, SWDIO)  GND VCC
That's it :-+ .
If It refuses to connect, short the reset pin to GND, click erase and release.
Will take some tries...
Check the stm32 pinout, and where does nRST pin go to, I'm pretty sure it's connected to C3 or C4.
Shorting the capacitor with tweezers should work.
« Last Edit: May 26, 2021, 12:57:42 pm by DavidAlfa »
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline hobbit666

  • Contributor
  • Posts: 13
Re: CFW for STM32 OLED Digital Soldering Station with T12 Handle
« Reply #1044 on: May 26, 2021, 02:30:41 pm »
Thanks, thought it was them but just checking.
Now to wait for my extra cables to arrive to solder on and give it a try.   :box:
 

Online DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5903
  • Country: es
Re: CFW for STM32 OLED Digital Soldering Station with T12 Handle
« Reply #1045 on: May 27, 2021, 08:08:12 pm »
I'm back to home! Hopefully will fix the ADC issues soon.
I get a random jump every 10-30 seconds, I guess something causes a delay making the ADC to measure when the PWM already went high.
I'm playing with the interrupt priorities, as they weren't optimal (OLED DMA takingover ADC DMA, for example).
Else than that, it's pretty much done.
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 
The following users thanked this post: Tugo

Online DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5903
  • Country: es
Re: CFW for STM32 OLED Digital Soldering Station with T12 Handle
« Reply #1046 on: June 02, 2021, 08:26:44 pm »
It seems the issue was caused by a combination of too tight ADC timing and the SPI/I2C hardware IRQ having higher priority than the ADC and timers.
I hope it's done now. Updated the builds.

Some waveforms, as now I have new DSO!  ;D.

First pic:
Input of the ADC pin.
CH2 is a debug pulse, set high when ADC starts, set it low when ADC ends.

Second pic:
Zoom in. ADC conversion takes around 160uS. There's ~140uS clearance between ADC conversion end and PWM start.
Previously it was 10...20uS, but there was some jitter. I suspect it was caused by the display IRQ.
So if the jitter was too high, it caused the ADC to read when PWM was already high.
I couldn't catch this issue, as it happened once every 5...20 seconds. Hard to catch, but I smelled it!

Third pic:
You can see the ADC sampling noise (18 readings). That's why you need a nice ground and low impedance path to the ADC!


Try these pid settings:
Kp: 120     
Ki: 50
Kd: 20
Imax: 0.5
Imin: 0

Seems to improve response! For me, it's very stable and responsive now.

« Last Edit: June 15, 2021, 07:23:05 am 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

Offline empeka

  • Contributor
  • Posts: 18
  • Country: pl
Re: CFW for STM32 OLED Digital Soldering Station with T12 Handle
« Reply #1047 on: June 03, 2021, 11:36:48 pm »
I'm experiencing some unexpected behaviour during initial calibration adjustment (before starting calibration) - the tip temperature (the real one, not the station measurement) goes insanely high (>500C).
It does not seem to be related to preset ADC values, as after starting calibration real temp is ~50% of temperature set by station.

And a small feature request: how about implementing screen flip option?
 

Online DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5903
  • Country: es
Re: CFW for STM32 OLED Digital Soldering Station with T12 Handle
« Reply #1048 on: June 04, 2021, 02:13:06 am »
Did read the manual? There's an adjustment to avoid that.
As there are different stations, there are also different readings.

After first flash, you shouldn't adjust the temperature high, because it needs calibration.

And before entering calibration, you should go into calibration adjustment.
Why? Imagine that the default calibration step for 350°C sets your tip at 480°C. What will happen in the 450°C step? It will burn the tip for sure.

It's impossible for me to know what your station will read.
And nobody is helping by giving any feedback with calibration results, so it's the best I can do.
People simply install the firmware and go away, or complain here about something that is been said a lot of times.
I can't make it better that way...

So enter calibration->adjustment, and there adjust the values for the 250°C, 350°C and 450°C steps.
These values are applied in real time as you adjust them, so be careful. Move them slowly and carefully monitor the tip temperature. Once you get +-10°C, it'll be enough.
Doesn't need to be very precise, the calibration itself will do the fine job.
Once you adjusted them, save, and run calibration (Start).
Adjust the mesures temperature when asked, but wait until the tip temperature stops moving, it can take 10-20 seconds.

About the screen flip. It wouldn't be hard. Is you screen flipped? It would be the first case I'm aware of.
« Last Edit: June 04, 2021, 02:20:18 am by DavidAlfa »
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline empeka

  • Contributor
  • Posts: 18
  • Country: pl
Re: CFW for STM32 OLED Digital Soldering Station with T12 Handle
« Reply #1049 on: June 04, 2021, 07:10:21 am »
Quote
Did read the manual? There's an adjustment to avoid that. (...)

Yeah, I know. What I was trying to say is that heating goes crazy when i go to Calibration/Adjustment menu.
Outside of that everything works as expected with preset (low) ADC values - real tip temp is about half of what is set.

//EDIT
I have repeated test more carefully and narrowed it down to: Temperature rises uncontrollably when I'm turning the encoder in Adjustment menu. The longer turns - the more it rises.
Encoder handling messes with PID control?

//Edit #2
this is signal captured at mosfet gate during normal operation
1224860-0
and during encoder rotation in calibration adjustment menu (without saving anything)
1224862-1


Quote
Is you screen flipped?
No... But it will be, when i mount controller with encoder on the left;)
« Last Edit: June 04, 2021, 08:10:47 am by empeka »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf