IronOS icon indicating copy to clipboard operation
IronOS copied to clipboard

SI012 Pro Max Support

Open BenGitGud opened this issue 1 year ago • 20 comments

Hi there, Would it at all be possible to implement support for the Sequre SI012 Pro Max iron, I know there was an older issue posted but it hasnt been updated in a while.

I am willing to try and email sequre about getting schematics and possible firmware. Or is there already a method of using the SI012 with IronOS, there was mention made of it in the Sequre S60 #1546 but I am not sure what came of it.

Any help on how I can help make this possible would be appreciated!

BenGitGud avatar Dec 03 '24 21:12 BenGitGud

would be nice, but we would have to figure out how to turn off the LEDs

As well as a way to add a menu to be able to toggle LEDs on or Off

The original Square OS is very Lacking and hard to navigate ( Lots of waiting between menu selections... )

Gamerx007 avatar Dec 09 '24 23:12 Gamerx007

I would also really appreciate if SI012 Pro Max would be supported by IronOS! As @Gamerx007 stated, the original firmware is terrible in many different ways.

msy021 avatar Feb 13 '25 06:02 msy021

I could help in testing or anything I could help... Any testing firmware which boots up??

jemarro12 avatar Mar 23 '25 07:03 jemarro12

We would need hardware details to see if its even feasible. Then usually next steps is a schematic or someone reverse engineering how all the hardware connections are made.

Then if both of those look feasible, someone needs to make the PR to add support. IIRC none of these steps have happened yet.

Ralim avatar Mar 23 '25 23:03 Ralim

@Ralim I think what you need is all the wiring to the MCU, which pin is connected to which component? I can do that reverse engineering over a Si012 Pro (pink PCB) v1.5. MCU used is a CKS32F103C8T6, I think is doable, looks like a good replace to STM32F103 I'll share my progress in a week or so.

jemarro12 avatar Mar 24 '25 22:03 jemarro12

I´ve made some progress: As said in a previous response Sequre Si012 Pro V1.5 (pink PCB) uses a CKS32F103C8T6. This iron is compatbile with 2 different kind of tips T12 and TS/SI so a 2 channel P-Mosfet as well as a dobule opamp is used. The PD chip used is HUSB238 (0x08 I2C addr). 0.69 inch OLED is used in the same I2C bus. For now this is the pinout i have, if you need anything else say to me.

Image

jemarro12 avatar Mar 28 '25 21:03 jemarro12

Ah yes the CKS32F103C8T6, aka the STM32F103 with 10x the bugs (I'm only slightly salty).

But yeah this is basically the key thing, is that we need to know what pin goes to what function in hardware, and how the hardware works at a high level (what pin does tip pwm, if we have multiple analog sensors or mosfets etc how that is wired up).

Once we have these we can fork off the S60 firmware to set these up and start to test.

Any idea how they are doing the mosfet switching, and op amp setup to read tip temperature? For irons like this that just use two contacts for tip temperature, there is normally only one PWM mosfet.

We will also need to know how to measure the handle temperature for cold juction offset measurement.

Ralim avatar Mar 29 '25 01:03 Ralim

Components are really small, I"m trying my best with my 10bucks usb microscope. I"m almost certain they use separate PWM signals, one for each MOSFET. PB8 gates first MOSFET while PB9 gates the second. I'll try to reverse the opampm setup. Not really sure what are they using as reference for the cold junction.

I can't see any accelerometer or vibration switch, any idea how is this made on other irons? My firmware skills are really poor, when anybody builds first test firmware I can start debugging it in my iron.

jemarro12 avatar Mar 29 '25 08:03 jemarro12

After exchanging several emails with Sequre, they are asking if both Ralim (the project owner) and I would be willing to sign an NDA in order to share the schematics of the Si012 Pro Max, so it can be included in the IronOS project. @Ralim if you agree please let me know through which channel I can tell them to contact you to send you the document (if you're okay with it).

mail copy:

Image

jemarro12 avatar Apr 07 '25 18:04 jemarro12

I'm happy to do an NDA, [email protected]. If they send it to me I can review and check.

Ralim avatar Apr 08 '25 01:04 Ralim

@Ralim after several mails and corrections Sequre team finally signed the NDA, i´ve forwarded it to you for your approval. Last week i´ve tried to reverse on my own the opamp setup but with no microscope it has been too difficult to me.

jemarro12 avatar Apr 22 '25 19:04 jemarro12

@jemarro12 I haven't received the revised copy?

Ralim avatar Apr 23 '25 09:04 Ralim

@Ralim I forwarded it to you yesterday. You must have received an email from [email protected] yesterday at 14:18h. Attached is a PDF signed by sequre. If it has not been sent correctly let me know and I will try again

jemarro12 avatar Apr 24 '25 18:04 jemarro12

Sent you back my signed copy 🙇🏼

Ralim avatar Apr 26 '25 01:04 Ralim

After several mails back and forth with Sequre finally we have Si012 Pro schematics. @Ralim if you need a copy i can send to you.

CKS32F103C8T6 pinout: PB9 - T13_PWM PB8 - T12_PWM PB7 - SDA PB6 - SCL PB3 - LED10 PA15 - LED9 PA14 - SWCLK PA13 - SWDIO PA12 - D+ PA11 - D- PA8 - (gates D+ MOSFET) PB15 - LED 6 PB14 - LED 5 PB13 - LED 4 PB12 - BUZZER PB11 - LED8 PB10 - LED7 PB1 - B_switch (Pulled up) PB0 - A_switch (Pulled up) PA6 - T13_TEMP PA5 - NTC PA4 - Voltage reading (VBUS = PA4 reading * 0.1176) PA3 - MOTION SENSOR (Pulled down) PA2 - Ambient Temp sensor (TC1047) PA0 - T12_TEMP PC15 - LED3 PC14 - LED2 PC13 - LED1

This iron uses double tip support (T12 and TS/SI), this is the T12 and T13 temp.

jemarro12 avatar Apr 30 '25 18:04 jemarro12

@Ralim if you see it convinient i can create new PR to provide this info

jemarro12 avatar Apr 30 '25 18:04 jemarro12

Any news guys?

goldtyson avatar Jun 22 '25 18:06 goldtyson

A Pull Request ( #2124 ) is opened with the first build working. I appreciate if you can test it and share feedback in the PR. All is working as far as I can test except OLED reverse mode (described in the PR). The only used tip is SI (not T12). Both DC and PD working

jemarro12 avatar Jun 22 '25 20:06 jemarro12

The LEDs seem to be single color. In the hope that Sequre always places the same LEDs in the same place (on my SI012 Pro Max: orange below and pink above the A button (soldering tip pointing to the left)).

If so, the following could be possible:

  • green when temperature is safe (< 55°C)
  • pulsing red when heating
  • solid red when desired temperature is reached
  • orange when cooling down

Same as MHP30 and Pinecil v2 with WS2812B mod.
But there are 20 LEDs (10 front, 10 back) and only 10 pins. So, I assume, that one pin controls 2 LEDs (at least for me, it's difficult to tell, which two LEDs are light up at the same time.)

StevenSeifried avatar Jul 04 '25 15:07 StevenSeifried

Is this compatible with SI012 Pro (not SI012 Pro Max)?

Ray-Alfy avatar Oct 26 '25 00:10 Ray-Alfy