Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pinecil V2 has erroneous temp spikes with IronOS companion #10

Closed
vguttmann opened this issue May 24, 2024 · 11 comments
Closed

Pinecil V2 has erroneous temp spikes with IronOS companion #10

vguttmann opened this issue May 24, 2024 · 11 comments

Comments

@vguttmann
Copy link

vguttmann commented May 24, 2024

Describe the bug

When using IronOS companion, sometimes the tip temperature spikes up to 450C for one time point (see screenshot). I'm not sure whether this is an IronOS or a companion bug, therefore I'm opening an issue in both repos.
Screenshot_20240524-105154

To Reproduce

Details of your device:

  • Device: Pinecil V2
  • Release: V2.22E.C308FE8C
  • Power adapter being used: Lenovo 65W USB PD laptop charger

Additional context

Other issue: Ralim/IronOS#1915

@aguilaair
Copy link
Owner

I'm inclined to say this is probably the packet that I am receiving from the Pinecil

@gamelaster
Copy link
Contributor

so more likely to be issue on IronOS side I presume.

@aguilaair
Copy link
Owner

yep

@vguttmann
Copy link
Author

vguttmann commented May 24, 2024

I'm inclined to say this is probably the packet that I am receiving from the Pinecil

Is there some way to log those messages, or get some debug information out of the installed app? I don't really fancy setting up the whole flutter toolchain again

Alternatively, is there a single binary that I can use to take a look at debug messages?

@aguilaair
Copy link
Owner

@vguttmann here is a debug build that prints the data that is parsed from the BLE packets:

https://wormhole.app/vjOJk#oF99qDNWfr06TugFlst7Lg (Expires in 24 hours, feel free to ask for another)

@vguttmann
Copy link
Author

But at the least the bug still appears with the debug version, so I think this should be easy to solve

@vguttmann
Copy link
Author

Well, attaching a debugger didn't print anything to the console. Can you push the code to Github (e.g. on a debug branch) so I can build it myself?

@aguilaair
Copy link
Owner

yeah sure

@aguilaair
Copy link
Owner

@vguttmann
Copy link
Author

vguttmann commented May 28, 2024

We got 'em.
I managed to capture a glitch, it's on line 759 in the attached file:
I/flutter (15025): New Data Update: IronData(currentTemp: 437, setpoint: 350, inputVoltage: 19.5, handleTemp: 37.5, power: 25, powerSrc: 3, tipResistance: 62, uptime: 919.4, lastMovementTime: 918.4, maxTemp: 460, rawTip: 10819, hallSensor: 0, currentMode: OperatingMode.soldering, estimatedWattage: 5.6)

What's interesting is that the temp spikes don't always go up to the same temperature - they're close, but not exactly the same

One thing I had to do to get it to compile was to downgrade the rive package from ^0.12.4 to ^0.9.1.

debug.txt

@vguttmann
Copy link
Author

I think that solves the issue from this side

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants