01-10-2023 12:16 PM
Excuse me, how did you connect the max31865?
Can you help me please?
01-11-2023 02:55 AM
Hi,
myRIO has SPI connection. You for example on the example below. The rest is explained in the posts above.
https://education.ni.com/teach/resources/73/lcd-character-display-spi-interface
Kamil
02-17-2023 02:21 AM
Hi you can find attached a picture of my connection between myRIO1900 and max31865.
I hope that can helps you.
09-15-2023 07:05 PM
Hello,
I have run David15's VI (Short Read_RTDMax31865) and successfully got the correct data from the MAX31865 using a myRIO. Now I remade the VI with LINX with an Arduino Nano. It read just an increment of binary digits.
Can anyone help me with this VI?
Thanks.
Chung
09-18-2023 03:56 AM
Hi Chung,
if I understand you need to read the max31865 whit arduino nano.
So if you want I can share an Arduino code to do this.
Let me know if can be usefull.
ciao
David
09-18-2023 09:33 AM
Hi David,
Thanks for your response!
I used to use MAX31865 with an Arduino IDE. And using a custom made LabView program to read the data from the serial. This one works if I just use to read the temperature from the MAX31865. NOw I have to control a MOSFET-relay to turn on and off a heater using a PID controller, and the feedback is the temperature data from the MAX31865. To do this I using two Arduinos, one for the MAX31865, and the other for MOSFET relay. I am trying to use only one Arduino to do this job using LINX. I think if I can read the temperature data from MAX31865 using LINX, I can use LINX to control the relay.
Your Short Read_RTD_MAX31865 using a myRIO works very well. I tried to replace the myRIO SPI VIs with LINX SPI VIs. However, LINX SPI doesn't read the data properly. I think SPI VIs from the myRIO and LINX are a little different somehow. Or I did something wrong in LINX VIs. I tried various things to see if it works, but no luck so far.
I am attaching my VIs which I tried to copy your VI with the myRIO VIs. If you can take a look at it, and suggest me if anything wrong I did, it would be a great help.
Thanks.
Chung
09-18-2023 10:43 AM
Hi All,
I am sorry to post a wrong vi. I am attaching the one I was working on.
Thanks,
Chung
10-09-2023 09:11 AM
10-09-2023 05:25 PM
Hi Ming,
No, I couldn't figure it out. I found some strange things. LINX has a read/write sub-VI. I tried to write (data) "8080" and looked at the read of the sub-VI if the data was properly sent to the MAX31865. What I saw was that the data I tried to send was "0" sometimes and "128" sometimes. I don't know what that means. I post my VI several places including Digilent, but haven't heard anything from anywhere yet.
Chung