03-02-2022 03:20 AM
Hello,
I should use Labview to measure temperature via a four wire Pt100, with a MAX31865 sensor that use an SPI intarface.
Unfortunately Labview does not have an example VI for this sensor and I have not found anything working online.
I know a little about Labview but nothing about Arduino
I have read everything I found on the SPI and Arduino but I can't solve the problem.
Using Arduino IDE (with the attached scetch) the system works, so the hardware is OK.
On Labview I am using LINX, (loading LINX firmware for Arduino Uno) but I can only read constant values that vary according to the values of the bytes I write in the register.
Probably I make mistakes in writing the configuration on the Arduino register, but given my experience it could be anything else!
From what I understand, reading the sensor data sheet, the library and the Arduino schetch and looking online, in registers from 7 to 0 Byte 10100011 must be written.
I've tried all the ways but can't get reasonable measurements.
Can anyone give me some tips?
I attach the VI labview and Arduino libraries for Max31865 sensor. The system does not allow me to attach the schetch, not even in .txt format!
Thank you very much
03-27-2022 07:48 PM
i think is similar to max6675 and visit this
https://forums.ni.com/t5/Hobbyist-Toolkit/Arduino-Max6675-Labview-Linx-Interface/m-p/4137179
03-30-2022 04:17 AM
The max6675 does not require writing data to the configuration register, as it does in the max31865.
I think I am wrong in writing in the register!
Many thanks for your interest
09-08-2022 08:12 AM
Hi,
I had the same problem some months ago.
I needed to interface the MAX31865 with muRIO 1900, and ididdn't found any example, so decided to create a code, and it works.
09-08-2022 10:40 PM
is possible to upload configuration.vi write.vi and write read.vi of your vi because i am trying to change your vi to use a arduino instead of my rio to read a rtd sensor
thanks omar
09-09-2022 08:42 AM
Many thanks, I'll try to use it
09-09-2022 09:40 AM
ok,
if you have some problem or questions plese do not hesitate to contact me again
09-15-2023 11:25 PM
Hi Omar,
Were you successful to convert it to Arduino with LINX?
Thanks,
Chung
09-16-2023 12:16 PM
no but i'm trying
when i do that i publish the solution
09-16-2023 01:09 PM
Hi Omar,
I have made this far. Can you take a look at this VI. I basically copy the sequence the Short Read_RTD Max31865 replacing LINX SPI vis.
I got some numbers but they are not the data from the memory.
Thanks,
Chung Hoon