Ah, well, the problem is not mains earth but the fact that when PE + GND are connected, you get a current from the heaters positive through the TC to the grounded tip
Precisely. When using a dc supply, the best setup seems to be
-connect the tip to earth
-the thermocouple will then be referenced to earth, so connect the control board supply negative also to earth
-use a floating and isolated smps for the heater and turn on and off its mosfet with an optocoupler
One can use an off-the-shelf isolated dc-dc converter to get the 24V down to 5V, for example something like PQQ6W-Q24-S5-S (
https://www.mouser.com/ProductDetail/CUI-Inc/PQQ6W-Q24-S5-S?qs=zW32dvEIR3sbKuWv4BvdLw%3D%3D) to run the controller board.
we have a "200W" SMPS further cheapened because the duty cycle is ~20% at worst. I see nothing wrong with it sagging a volt or two under load.
But... it's been cheapened twice maybe three times... the heatsinking, electrolytic capacitors etc. are surely under the minimum for reasonable life.
I wouldn't mind it either if I couldn't hear it. The buzzing is seriously annoying. Gets on the nerves really fast. Don't get me wrong. Aixun has a somewhat cute soldering iron here if it could iron out its glaring problems, ironically

Okay, that's too many puns for one sentence. 1. Get rid of buzzing 2. Fix the grouding problem as demonstrated by tony so it doesn't crap out on grounded boards, 3- put the damn heatsinks back on ffs 4- stop gluing stuff and use screws only 5- Add external ESD protection to the pins of the microcontroller that read ADC values 6 - Add a protection diode parallel to the heater 7 - Improve the PWM frequency and timing to not overload the supply and/or send useless pulses to the tip 8- stop using Aluminium in the handle and improve the construction and 9 - Use the same connector that JBC uses for the handle instead of the ancient and obscure gx12-5 and I think Aixun can be a likable product. The screen looks nice at least.
Something else to note: genuine JBC cartridges seem to have a different pinout than the ones Aixuns use. In the genuine T245 handle, green is earth, blue is heater, and red is common. Heater current starts in the middle pin of the cartridge and returns to the small pin in the end of it. In the Aixun T3A (and also probably T3B), heater current starts in the middle of the cartridge and returns to the outer shell. So much for the handle being compatible with genuine tips. If you were to put a genuine JBC tip in the Aixun handle, 8A of current will be flowing in the thermocouple. Yikes!