Open caldecy opened 6 months ago
Hi @caldecy, Please, could you provide additional details? For instance, a photo of physical connection, temperature probe model and everything that could be useful to better understand the issue Thanks
Hi @leonardocavagnis, Apologies for the late reply on the issue. The photo of my thermocouple connection to the board: Connection.pdf
Thermocouple model: Thermocouple Model.pdf
The code that I use is the Temp_probes_Thermocouples.ino
And the result I get is "nan" for all channels' output. A forum on Arduino also has a similar issue.
I reached out to Arduino support team and they have since feedback that they are also aware of this library's issue with K-type Thermocouples but a new version release is not expected soon.
Thanks for reply! What library version are you using? Please, verify you're using the latest (1.0.1).
Yes I am using 1.0.1 when I first encountered the issue. I tried using 1.0.0 too but faced the same issue.
Sent from Outlook for iOShttps://aka.ms/o0ukef
From: Leonardo Cavagnis @.> Sent: Friday, May 10, 2024 10:50:20 PM To: arduino-libraries/Arduino_PortentaMachineControl @.> Cc: caldecy @.>; Mention @.> Subject: Re: [arduino-libraries/Arduino_PortentaMachineControl] Always getting Nan output readings when using the TCTemp function for thermocouple setup (Issue #12)
Thanks for reply! What library version are you using? Please, verify you're using the latest (1.0.1).
— Reply to this email directly, view it on GitHubhttps://github.com/arduino-libraries/Arduino_PortentaMachineControl/issues/12#issuecomment-2104747059, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AIB52GCP4PFZFHPM3DKC7P3ZBTNCZAVCNFSM6AAAAABHMA6SFCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBUG42DOMBVHE. You are receiving this because you were mentioned.Message ID: @.***>
Did you also try the old version of Portenta Machine Control library? (not suggested to use the deprecated one, but just for double checking)
Yes, and that’s the only way that worked for my setup and project.
From: Leonardo Cavagnis @.> Sent: Saturday, May 11, 2024 12:36 AM To: arduino-libraries/Arduino_PortentaMachineControl @.> Cc: caldecy @.>; Mention @.> Subject: Re: [arduino-libraries/Arduino_PortentaMachineControl] Always getting Nan output readings when using the TCTemp function for thermocouple setup (Issue #12)
Did you also try the old version of Portenta Machine Control libraryhttps://github.com/arduino-libraries/Arduino_MachineControl? (not suggested to use the deprecated one, but just for double checking)
— Reply to this email directly, view it on GitHubhttps://github.com/arduino-libraries/Arduino_PortentaMachineControl/issues/12#issuecomment-2104906941, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AIB52GFBYEPIVQJXF2YCN5DZBTZP7AVCNFSM6AAAAABHMA6SFCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBUHEYDMOJUGE. You are receiving this because you were mentioned.Message ID: @.***>
Ok, thanks! what's the version of the core?
The version is 4.1.3.
Sorry, we don't support platform.io. If you can retry with the latest Arduino IDE or cli and report if the error still occurs we'll be able to help you.
I am facing the same issue:
Official Arduino IDE 2.3.2 Arduino Mbed OS Portenta Boards: 4.1.5 Arduinio PortentaMachineControl: 1.0.1
Thermocouples read NaN using the Examples code, RTDs work fine, but are unfortunately not an option for my project.
Old Arduino_MachineControl library works, reads correct TC temperatures.
@leonardocavagnis could you reproduce the problem?
I am facing the same issue:
Official Arduino IDE 2.3.2 Arduino Mbed OS Portenta Boards: 4.1.5 Arduinio PortentaMachineControl: 1.0.1
Thermocouples read NaN using the Examples code, RTDs work fine, but are unfortunately not an option for my project.
Old Arduino_MachineControl library works, reads correct TC temperatures.
@leonardocavagnis could you reproduce the problem?
Sorry for the late reply. Could you please provide more details about the code you're using, your hardware setup, and anything else that could help me better understand the issue? Thanks!
Thanks for the reply! I am using the bare examples code that ships with the respective versions of the PortentaMachineControl and Arduino_MachineControl and exactly the hardware setup described here: https://docs.arduino.cc/tutorials/portenta-machine-control/rtd-thermocouple-pmc/ there is no custom additions or other peripherals connected.
Hi, I tried compiling the sample code for Thermocouple and upon checking the serial monitor output, it only reads "nan". I've checked that the thermocouple is functional, connected properly to CH0 and supplied with adequate power. I'm using the Portenta AKX00032 device to read the thermocouple values. Any help would be appreciated! Thank you.