Commit Graph

8 Commits

Author SHA1 Message Date
Paul Fertser
30be5e0de4 Introduce PWM freq switching so that power could be averaged on shorter intervals
With this a TS-I tip is usable with a small netbook 19 V / 30 W PSU with
power limit set to 40 W (38.9 W is reported during the heating up
stage). Without this the device just reboots on attempt to turn on the
heater (unless the power limit is set to 10 or even 5 W).

This code doesn't affect maximum power available and allows up to 73 W
when a beefy 24 V / 96 W PSU is used.

Should be useful for all models, not just TS100.

The fixed comments are based on calculations, not measurements!

Fixes #693.
2020-09-29 19:02:55 +03:00
Ben V. Brown
2fd06887e8 Better messages flowing 2020-06-16 20:21:26 +10:00
Ben V. Brown
fd700aecb9 Beginnings of the shuffle 2020-05-29 21:39:06 +10:00
Ben V. Brown
3fea95c6b1 Fix calibration, move to exp moving average 2019-10-08 21:50:50 +11:00
Ben V. Brown
6a39e4bcc8 Work in progress
Working, but has temp offset issue slightly.

Could have slightly wrong gain values
2019-10-07 21:11:31 +11:00
Ben V. Brown
1cf88b2cd6 Rough refactor main control loop to C 2019-10-07 18:58:51 +11:00
Ben V. Brown
bc38132f31 Merge branch 'master' into TweakTS80 2019-10-07 16:40:42 +11:00
Ben V. Brown
7ca613e22b Migrate :O 2019-08-18 22:24:01 +10:00