Ralim / IronOS

Open Source Soldering Iron firmware
https://ralim.github.io/IronOS/
GNU General Public License v3.0
7.04k stars 701 forks source link

Fnirsi HS-01 #1614

Open cvetaevvitaliy opened 1 year ago

cvetaevvitaliy commented 1 year ago

Is your feature request related to a problem? Please describe. Add support Fnirsi HS-01

Describe the solution you'd like Create custom firmware for Fnirsi HS-01

Describe alternatives you've considered There is none

Additional context

ScreenShot 2023-03-09 at 20 18 59

PCB board

ScreenShot 2023-03-09 at 20 18 44

River-Mochi commented 1 year ago
Syncmasterklop commented 1 year ago

I received this soldering iron, it looks and works very well. Manufacturer - Fnirsi, I wrote them a letter about the circuit and source code, but there is no answer yet (most likely there will be no answer). The main chip is CH571F, you can see it in the photos. There are no specifications from the manufacturer, there is an instruction where you can see something. HS-01 Intelligent Electric Soldering Iron User Manual V-02.5.pdf CH573DS1.PDF

Ralim commented 1 year ago

Until manufacturer is willing to provide a pinmap or schematic support isnt going to happen sadly That MCU can definitely run IronOS from a specifications perspective but without schematics its just too much work to reverse engineer at the moment. You are welcome to try and get in touch with the manufacturer and find out if they are interested. If they are willing to help with providing information for porting then this can be considered. (If you get an email contact, feel free to include me in the email if they are ok with it).

0x4C4A commented 1 year ago

I've also sent a message to Fnirsi outlining why IronOS support would be beneficial and the fact they don't have to share the entire schematic, but just the relevant parts. Here's to hoping they realise the marketing potential. The hotend cap is a really standout feature for me.

Careless commented 1 year ago

slightly off topic, but can anyone measure the HS01 iron without the hot-end cap?

The measurements i see online are 184mm x 20mm diameter from end to end with the cap installed.

i don't have a need for the cap, but my case I use for storing all my equipment has 170mm column slots. if it fits without the cap, that'd be great.

also if anyone can measure the LxWxH of the included PD65 watt charger, that would be much appreciated. Not much info on these units yet.

0x4C4A commented 1 year ago

Forgot to update - Fnirsi wrote me back, unfortunately they were not receptive to my reasoning that releasing the schematic would be beneficial.

Hi, dear friend, Thank you for your support to FNIRSI and your suggestions, It's a pity that the schematic is the engineer's secret, he didn't share it with us, we can't help you. Thank you for your understanding,

Perhaps more messages may make them reconsider, but for now, it looks like reverse engineering is the only way to go.

@Careless The length depends on the tip used, the iron with my default tip (HS01-B2) is 176mm, with the longest - the thin tip (HS01-ILS), it goes up to 180mm. I have the EU power brick, and its dimensions are ~90.1mm from prongs to top, ~53mm for just the brick from bottom to top (not counting the prongs) and 35.8mm squared for the brick outer dimensions. Here's a picture, so it's easier to understand.

Careless commented 1 year ago

that's a shame that they don't want to supply the schematic, but maybe they'll change their mind if we bug them.

damn, 176mm is 6mm longer than i was hoping. i wonder if there is a shorter one I can keep in the iron for storage in my carrying cases I use for my equipment. i do like the tool-less tip changing though, so i can just remove the tip I guess.

i have one coming on the way tomorrow, maybe I won't open it just yet. i was hoping i could get something to replace my ts100 that could be powered from a 100w power bank in the future for field repairs where no power is available.

thanks for measuring.

ssharkula commented 1 year ago

CH573DS1.PDF в конце документа нашел ссылку на сайт. Очень много информации. Будьте внимательны. At the end of the document I found a link to the site. A lot of information. be careful ))) https://www.wch.cn/

Careless commented 1 year ago

I just got the iron yesterday. It feels like a good value due to the charger and the cord and the full range of tips. the entire ensemble fits nicely in my field-repair boxes without the tip installed, but the nice tool-free gland nut is IMHO nicer than the pinecil and ts iron solutions, so I don't mind. The shell is also anodized aluminum, not plastic.

now I can leave the 19v roomba power supply and the crappy cord it has at home with the ts100. the silicone USB-C cord is super nice and flippity-floppity. the iron stays put when resting on the table without the included stand.

really hoping we can somehow get IronOS to work on this thing. It seems ok as is, but I noticed it immediately starts heating when you press the left most button and i didn't know what temp it was getting to, so i had to throttle it back.

also navigating the UI is a little cumbersome until you get used to it.

maybe I should pester them to reconsider their engineers opinion on third party firmware.

RogWilco commented 1 year ago

It's a pity that the schematic is the engineer's secret, he didn't share it with us, we can't help you.

This sounds more like a can't rather than a won't. Are we sure that Fnirsi is the OEM and not simply the first of many to brand a white-labelled product? I know they claim to be an OEM but it wouldn't be the first time.

I'm interested in this iron too so I'll do a little digging to see if I can find anything.

Careless commented 1 year ago

I emailed them as well through their website form and have not received any reply whatsoever.

In my message I didn't pressure them or anything of the sort, I just asked them to consider allowing the users of their products extend the life of their purchase by allowing themselves to offer longer term support publicly as it would be beneficial to their sales because right now TS101 and Pinecil V2 are the most popular and the HS-01 is probably not selling as well as it could because of its closed software.

maybe they got the message, maybe not. i can't tell as of yet.

I should also add that so far I'm liking the iron as is. It's a lot more comfortable to hold than the TS100 and the rubber grip stops it from rolling around on my desk... Really hoping they set this 'lil iron free.

the GVDA iron looks to be made much the same, and has a triangular shape, but the HS-01 came with everything needed for my field-repair setup.

I'm looking to buy a suitable PD65W power bank right now so I can use the iron without an outlet, and charge my usb field equipment as well.

rzabarazesh commented 1 year ago

+1 This iron looks very promising. I love the construction.

sasuta commented 1 year ago

Is FNIRSI HS-01 compatible with TS100 tips

Careless commented 1 year ago

Is FNIRSI HS-01 compatible with TS100 tips

no. it uses it's own type of tip that i think is the same as the GVDA irons, and is supposedly just a shorter version of the T12 style tips.

sasuta commented 1 year ago

Thanks bro.

Careless commented 1 year ago

Thanks bro.

no problem.

They are referred to as "FM65"-XX tips, the XX being the same two digit identifier for the tip style as used to describe tips for the TS100 as far as I've seen.

limyz commented 1 year ago

Holding the left button while inserting the USB-C pushes the iron into bootloader mode. Holding the right button while inserting the USB-C pushes the iron into programming (?) mode (see below for unknown device VID: 4348 PID: 55E0).

Attached is firmware update from their site, http://www.fnirsi.com.cn/download/weld

image HS01-20221212.zip

Jonas-fr commented 1 year ago

Maintaining the left button while plugging it in (power it on) : On the iron LCD : BootLoader On the computer :

$ dmesg
[...]
[14385.166629] usb 2-1.2: new full-speed USB device number 5 using ehci-pci
[14385.278038] usb 2-1.2: New USB device found, idVendor=1a86, idProduct=5722, bcdDevice= 1.00
[14385.278058] usb 2-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[14385.278065] usb 2-1.2: Product: QPUC0
[14385.278069] usb 2-1.2: Manufacturer: QPLINK
[14385.278073] usb 2-1.2: SerialNumber: 2017-2-25
[14385.335846] cdc_acm 2-1.2:1.0: ttyACM0: USB ACM device
[14385.335884] usbcore: registered new interface driver cdc_acm
[14385.335887] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters

Remarks : Stays in this mode until the iron is unplugged (powered off).


Maintaining the right button while plugging it in (power it on) : On the iron LCD : (empty LCD) On the computer :

$ dmesg
[...]
[14597.822870] usb 2-1.2: new full-speed USB device number 6 using ehci-pci
[14597.931688] usb 2-1.2: New USB device found, idVendor=4348, idProduct=55e0, bcdDevice=29.00
[14597.931708] usb 2-1.2: New USB device strings: Mfr=0, Product=0, SerialNumber=0

Remarks : Stays in this mode for about 7-8 seconds then boot up normally (no action needed from the user).

Ralim commented 1 year ago

Well those usb ID's match wch-ic.com chips as expected. Good to see we have a usb bootloader there.

For next steps in IronOS at a minimum we need pinout information and general iron architecture information. Basically this comment https://github.com/Ralim/IronOS/issues/1420#issuecomment-1574356410 through to https://github.com/Ralim/IronOS/issues/1420#issuecomment-1574690791 worth of information.

At the moment I dont have one of these units (or much time) to do this tracing. If someone with the iron can do a rough pinout I can look at scheduling support.

Jonas-fr commented 1 year ago

PCB board

ScreenShot 2023-03-09 at 20 18 44

@cvetaevvitaliy Did you disassemble your unit to take this picture? If yes would you mind describing the steps you've taken to do so? I'm trying to open mine to get the pinout and wouldn't want to break anything if possible. Thanks

StevenSeifried commented 1 year ago

Yesterday, I also bought a Fnirsi HS-01. For 26 EUR/~29 USD, I couldn't say "No" to it ^^ I have now also written an email to Fnirsi regarding the support of IronOS, I am waiting to see what they will answer.

KaMyKaSii commented 12 months ago

Kaiweets is selling the same soldering iron under the name KETS02. Maybe someone wants to try their luck regarding the scheme with them.

StevenSeifried commented 12 months ago

@KaMyKaSii I have written to Kaiweets. Let's see what Kaiweets answers ^^

Jonas-fr commented 11 months ago

PCB board ScreenShot 2023-03-09 at 20 18 44

@cvetaevvitaliy Did you disassemble your unit to take this picture? If yes would you mind describing the steps you've taken to do so? I'm trying to open mine to get the pinout and wouldn't want to break anything if possible. Thanks

Hi @cvetaevvitaliy I guess you have more important things to do right now and that's OK, just please don't forget to get back to us regarding this question whenever you'll have the time.

Klbgr commented 11 months ago

PCB board ScreenShot 2023-03-09 at 20 18 44

@cvetaevvitaliy Did you disassemble your unit to take this picture? If yes would you mind describing the steps you've taken to do so? I'm trying to open mine to get the pinout and wouldn't want to break anything if possible. Thanks

Hi @cvetaevvitaliy I guess you have more important things to do right now and that's OK, just please don't forget to get back to us regarding this question whenever you'll have the time.

Hi, I just got mine but it came broken so I contacted Fnirsi on What's App and they provided a video showing how to disassemble it. Here's the video: https://github.com/Ralim/IronOS/assets/43754408/a1d946df-8a6d-4245-b54d-c85efa1321ae

ggaljoen commented 9 months ago

Got my hands on this beauty: now I can start to gather the required information to get IronOS on it 0001

ggaljoen commented 9 months ago

More details: 101 102

Danimal4326 commented 8 months ago

Got my hands on this beauty: now I can start to gather the required information to get IronOS on it 0001

Any updates?

ggaljoen commented 8 months ago

Got not enough time in the past weeks; next periode should be better. More information/spare time is on it's way...

ggaljoen commented 8 months ago

20231119_141337 20231119_141438 20231119_142800 20231119_142806

ggaljoen commented 8 months ago

Identified parts:

GBG3N       RY8310
S2VH        ME6211
U1      CH224K
U2      CH571F
8831        GS8331-TR
Q1      1AM.
Q2      7409
Q3      1AM.
LCD     LT1316P02C JY VG-2832TSWG02 i2c oled 128*32
X160        JYX-1210-X160 vibration sensor
7409        AON7409
vovogod commented 8 months ago

Hello!!! When the heating is turned on, the readings jump. Is there a solution to this problem? https://youtube.com/shorts/ClH-eTRLFMA

Careless commented 8 months ago

Hello!!! When the heating is turned on, the readings jump. Is there a solution to this problem? https://youtube.com/shorts/ClH-eTRLFMA

why are you heating it up with the cover on?

try cleaning the contact rings on the soldering tip you are using with some iso alcohol.

vovogod commented 8 months ago

The lid does not affect the heating. That just did not do anything does not help.

Careless commented 8 months ago

The lid does not affect the heating. That just did not do anything does not help.

this is not a HS-01 tech support thread.

this is a thread to discuss custom firmware for the iron.

if your iron is not operating correctly, contact who you purchased it from and ask them what to do.

ggaljoen commented 8 months ago

KiCad schematic 80% done: image

vovogod commented 8 months ago

Thank you

вс, 26 нояб. 2023 г., 20:16 Gert Galjoen @.***>:

KiCad schematic 80% done: image.png (view on web) https://github.com/Ralim/IronOS/assets/7492159/c4fea24d-fe3a-431c-a9f4-21997061d9ac

— Reply to this email directly, view it on GitHub https://github.com/Ralim/IronOS/issues/1614#issuecomment-1826839275, or unsubscribe https://github.com/notifications/unsubscribe-auth/BEHVNGAAIDQADKLCLFK54NDYGN2PZAVCNFSM6AAAAAAVVO2UOWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRWHAZTSMRXGU . You are receiving this because you commented.Message ID: @.***>

ggaljoen commented 8 months ago

Temperature calibration (encrypted Firmware?) and Upgrade Tool on G-Drive:  https://drive.google.com/drive/folders/1qK0RvTpXdFLVqxrZ_p9_Jd7tAUvruVWU

HS-01 won't "Burn" the KETS02 right away (brand/ID/PID/VID checks?)...

Does anyone have reverse engineering skills to figure out the temperature calculations?

ecsv commented 8 months ago

Temperature calibration (encrypted Firmware?) and Upgrade Tool on G-Drive:

Looks like just XORed with 'V'.

Can be easily "decrypted" in python via:

#! /usr/bin/env python3

encrypted = bytearray(open('KETS02 temperature calibration_V0.1.s19', 'rb').read())

# "decrypt" using 0x56 for KETS02; REMARK: use 0x6e for the HS-01 firmware
decrypted = bytearray(b ^ 0x56 for b in encrypted)

# safe decrypted file
open('decrypted', 'wb').write(decrypted)

# write without the first 0x20 which seem to be some kind of header
open('decrypted_fw', 'wb').write(decrypted[0x20:])
Barracuda72 commented 8 months ago

Looks like just XORed with 'V'.

Same applies to the original HS-01 firmware, it's just XORed with 'n' (0x6e). First 0x20 bytes in the file is some kind of a header, firmware follows next.

ggaljoen commented 8 months ago

Same applies to the original HS-01 firmware, it's just XORed with 'n' (0x6e). First 0x20 bytes in the file is some kind of a header, firmware follows next.

Stupid me, looked over that in this topic. Is there a code decipherer that could figure out the temperature calculation/control values?

Barracuda72 commented 8 months ago

Is there a code decipherer that could figure out the temperature calculation/control values?

IDA loads the firmware just fine

Rados51 commented 8 months ago

Hello!!! When the heating is turned on, the readings jump. Is there a solution to this problem? https://youtube.com/shorts/ClH-eTRLFMA

You need to burn the tip. Leave it on for 5-10 minutes, and it should fix itself.

AlexandarSteler commented 8 months ago

Hi guys. So i just got HS-01 and installed normally KETS-02 temperature calibration . Tested it without issues . Its the same thing.

One thing i noticed is that with this calibration its quicker to then the firmware from factory and more stable .

Careless commented 8 months ago

what do you mean it's quicker? at doing what, specifically?

how did you install this new firmware?

AlexandarSteler commented 8 months ago

It's faster-stable when making / going with temperature from scratch . It doesnt oscillate etc Except that i downloaded from this link everything https://kaiweets.com/products/kets02

Careless commented 8 months ago

interesting... i didn't really see much oscilating on the FNIRSI firmware.

is the interface exactly the same as FNIRSI or are the graphics and menu different too?

AlexandarSteler commented 8 months ago

Everything is the same except loading name And now I am trying in the code to change name to my name hehe .

AlexandarSteler commented 8 months ago

IMG_1058

enestr74 commented 7 months ago

Hi I'm new to this forum. I have a problem with my soldering iron a little off topic. As a result of the wrong voltage, the GBG3N component on the board has failed. So I bought one and when I removed the GBG3N on it and installed it on the defective one, the soldering iron started working again. I want to order GNG3N and use both of my soldering irons, but there is no component with this name on the internet. I would appreciate it if you could help what do you think this component could be or what could be used instead of it I apologize in advance for keeping the forum unnecessarily busy.