IronOS
IronOS copied to clipboard
TS80 [TS200] Support
-
I'm submitting a ...
- [X] Feature request
-
Do you want to request a feature or report a bug? Feature, adding TS80 build support
The TS80 runs very similar hardware to the TS100 iron. The firmware does not need many changes to support this.
** Changes To do / Progress **
- [x] Pinout updates to support moved pins
- [x] Update ADC Code to use the newer pins
- [X] Update ADC Scaling to support different power input ranges
- [X] Implement Quick charge 2 & 3 support
- [X] Implement tip resistance calculation for adaptive voltage
- [25%] Update tip gains for the TS80 tips
- [X] Test the new bootloader to see if it can be backported - Yes but no real gain
Hi, I'm thinking about porting the STM32 USB-PD (Power Delivery) to ts80, but I'm not quite sure about the hardware of TS80. I mean, will the hardware of TS80 support 20V 2A?
Hi @cnnblike , Sadly the TS80 does not support 20V (will die around 16V). AND The connections are not made for the USB-PD pins (No CC Pins). There is only wiring to the D+ and D- pins.
I have already poked around to try and see about PD since I have more PD than QC chargers, but nothing can be done on this hardware sadly :(
Oh, thank you for your reply @Ralim That's a pity. Thought this may work.
Yeah :( I can dream of everything being neat like this. I'll keep on the manufacturers case to try and push for a USB-PD model, but I feel that it might be a ways off.
Though, a really nice product if your up for it, that is on my to-build list but buried too far deep would be to make a small USB-c inline adapater that converts between USB-PD and Quick Charge 3.0.
If you have interest in making that ^ hit me up via email and i'm happy to have a yarn about it.
Maybe sometime when I had more free time :D But think about it, maybe building a TS12 tips compatible, 3d-printable, USB-PD/QC3.0 compatible iron will get much more attention and be more attractive for the most hobbyists.
something like this? https://hackaday.io/project/18899-rt-soldering-pen
@cnnblike I agree, I would love a TS80 shell that can take even TS100 tips with USB PD. Maybe we will get it soon if they like us all lol
Progress is happening on this FYI to anyone reading, I just edit the top comment to track progress. Getting towards a releasable build soon.
Would it be possible to use this with a regular 12V/9V supply instead of QC, e.g. by detecting a higher voltage on the input?
Yep, already supported. Note that going much above 9v will pull more than 18W and I haven't tested how the tip and tip connector will last.
The Weller WRMP pushes 40W through a similar 3.5mm connector, so the ~30% overclock from running the TS80 at 24W from a 12V supply shouldn't be a problem, though I do understand it's what's inside the plug that actually matters. If it is though, implementing a power limit by calculating the maximum PWM duty cycle to keep it under 20W shouldn't be that complicated I'd reckon?
The changes over at #275 will come into play here nicely.
My biggest concern is just peak current rating and if the connector starts to heat, since if it heats it becomes a more significant drift in the temperature measurement.
I'm going to keep the QC code negotiating for 18W as thats the max for most adapaters (all?). However I wont stop you feeding in more. Note that some of the circuitry is only rated to ~16V though.
12V should be a nice point though. Also interested to look into the options for taking the voltage up higher anyway and just having a more stable PID.
I thought I remembered it right, the stock firmware has the power setting from 16W to 24W, even though QC3 only supports up to 18W. But it would indicate the iron can handle 12V no problem.
Nice catch, I never had the original firmware work well on my unit so I haven't been through it thoroughly yet. I have also had confirmation that 12V 2A is supported by the unit which is really good.
Though negotiating for 12V may come later on in my firmware since I want to do the tip calibration and then push out a beta version.
Will it accept firmware update from TS100? Will it turn into a brick afterwards? Are there any TS80 bootloader-compatible firmware updates in the wild?
@joric if you flash the ts100 firmware it will not die, but the pinouts are only similar on the OLED. Nothing else will work.
Not that I know of yet.
If you want I can upload a build of my TS80 fork here for you, its only really waiting on time to tune in the tip temperature calibration.
Yeah, I guess, not only for me though. Could be useful for all ts80 owners if something goes wrong.
Yeah, its currently just an issue where the temp cal is fairly far whacked out atm (like 30 C).
Cant do much else atm though, no time for development.
Haven't tried your firmware yet, just got an iron today. Apparently it's QC only and doesn't even power on with Xiaomi 65W QC/PD Laptop PSU (CDQ07ZM). Any ideas why? That's pretty bad, I thought I wouldn't need another Type-C cable on the table. Also that 3.5 mm jack isn't too sturdy and wobbles, aluminum sleeve doesn't help very much, maybe it's worth to get carbon one. My TS80 unboxing video: https://youtu.be/xc-yIq0m54o
It is a QC3 device, it won't work with PD! QC is a proprietary protocol that is not compatible with the USB-PD standard.
The 3.5mm Jack shouldn't take the strain at all and the mental housing takes the force. The only TS80's I have seen have all been fairly snug with justa little bit of wiggle which is normal.
In my firmware I'm allowing 5V operation as a fallback which works with some PD chargers that don't follow the spec completely.
Also their charger does the higher 24W support which is good.
EDIT: that charger looks to be PD only from what I can see.
This would be perfect for using the TS80 in the field https://www.indiegogo.com/projects/omni-ultimate-a-new-generation-of-power/x/4042493#/updates/all
@andersvos $16 Xiaomi 10000mAh Mi Power Bank Pro works just fine, TS80 only supports 18W (12V * 1.5A) max, I have one of those https://www.aliexpress.com/item//32826648959.html Funny that Xiaomi 65W PD Laptop charger (CDQ07ZM) charges this powerbank but doesn't power up the iron directly. May be used as intermediary device.
Upd: sorry wrong link, I have one of those, it's rather $25 than $16. Correct link: https://www.aliexpress.com/item/Xiaomi-Mi-Powerbank-PRO-10000mAh-Power-Bank-External-Battery-Type-C-Portable-Bateria-Externa-Portable/32802457619.html
It's rated 12V*1.5A (18W) Max. Supports "double way Quick Charge" whatever this is, but charges just fine from my PD charger (TS80 doesn't work with the PD charger but works with the power bank).
Doesn't look like the $16 power bank (PLM01ZM) is much different from that $25 one (PLM03ZM). I guess the difference is Type-C that AFAIK is input only (at least it doesn't charge my phone from Type-C).
Here's comparison of those two models: https://www.hardwarezone.com.sg/tech-news-do-you-know-there-are-2-versions-xiaomi-mi-power-bank-pro-we-tell-you-differences and yeah USB-C port is only for input
The PLM01ZM and PLM03ZM are the same for the most part. However, the newer PLM03ZM’s fast charge controller also supports Qualcomm’s Quick Charge 3.0 (PLM01ZM only Quick Charge 2.0). So there will be some gains if you pair it with a QC3.0 charger (to charge the power bank) or use it to charge a QC3.0 device.
I really don't know if QC2.0 is compatible with this iron, maybe someone here can tell.
@joric
The Omni has QC 3.0 too, and has more than double the capacity.
@Ralim would you have a test version of the firmware available?
@andersvos Oh boy! Has the same features and double the capacity of the $16 power bank! So, quick math, 16*2 = 32, how much is the Omni again?
120VAC $299 USD + Shipping ~~$599~~ (50% Off) 230VAC $325 USD + Shipping ~~$599~~ (45% Off)
Oh. So you can buy 20 Xiaomi power banks right now, or donate money through kickstarter for one Omni you might get somewhere in the next two years, if you are lucky.
There's absolutely no reason to buy the Omni unless you have a real need for the AC inverter output, and even then I'd buy something that actually exists, and not donate through kickstarter.
@Ralim looks like we got stock 1.06 firmware hex from minidso (no sources yet but it could be helpful to restore TS80 to factory state). Direct link to file: TS80.V1.06.hex (from this forum post). I just've flashed using stock DFU bootloader it and I confirm it works and temperatures seem to be accurate.
@joric QC2 should work on their firmware from my reading. QC 2.0 is implemented on my firmware, but I have nothing I can test with over here :(
Here is a rough build, will feel very similar. Still needs temp cal. Would love feedback on if QC works for you. TS80.zip
@Ralim I tried the firmware, but the first time it started the OLED stayed black, but it would draw power when I pressed the button. After unplugging and replugging it showed v1.06 and it felt like it started the old firmware?
How did you try and do the upgrade ? Did you make sure to do it twice if it threw an error etc ?
I retried it 3 times, and eventually it worked and showed the .RDY file.. it didn't feel like it rebooted, but dismounted and shows the disk drive (not able to open)... I disconnected and reconnected and it works. It even heats on 5V from the laptop.
the flipping of the display seemed to fault at first, but it works... will come back with more info after some testing.