ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

MAX31685 Interface on myRIO

Solved!
Go to solution

Hello I'm trying to interface a MAX31865(https://learn.adafruit.com/adafruit-max31865-rtd-pt100-amplifier/pinouts) board to myRIO board, in order to acquire an RTD 4 wire, but I cant able to read nothing.

 

Can someone help me with connections and code?Find attache what I have done in terms of connections and code.

 

Regards

David

 

 

Download All
0 Kudos
Message 1 of 29
(6,121 Views)

hi guys,
I worked on the SDI interface for the MAX31865 and I understand that before read data I need to set properly the configuration register(see pag. 13 of datasheet) so i modified my code to set the configuration register but I'n ot stilll able to read temperature.
I really need help.
The data sheet is below. The SPI details are on page 5 and I'm using the 4-wire connection. I also will attach what I have so far.

Many thanks

Download All
0 Kudos
Message 2 of 29
(6,050 Views)

Hi, Did you manage finally the project? I am interested in how it went out.

0 Kudos
Message 3 of 29
(5,920 Views)

Hi,

 

Finally I found the solution,I'll post everithing in the next day.

0 Kudos
Message 4 of 29
(5,900 Views)

Great, It would be very helpful. Could you put as well a vi file compatible with version Labview 15 or print screen of your project, please?

0 Kudos
Message 5 of 29
(5,895 Views)

Can you attach the project pls?

0 Kudos
Message 6 of 29
(5,862 Views)
Solution
Accepted by topic author David15

Dear Nemesis,

find attached the VI to read PT100 4 wire whit MAX31865, you have to  work at 1-shot mode, at this mode, you must set D5 bit in configuration register to start a conversion following the steps below:

 

-Put the CS high.

-Put the CS Low.
-Set configuration register with A0h
-Put the CS high.
- wait  66ms or more.
-Put the CS low.
-Read the first register with RTD data at the address 01h,
-Read the firs register whit RTD data at the addrees 02h
-Put the CS high.
-Loop this operation.

 

 

ciao

David

 

 

Message 7 of 29
(5,850 Views)

Thank you for your answer. However, Can you save it for the version of LabVIEW 15 or make a print screen, please? Thanks

0 Kudos
Message 8 of 29
(5,843 Views)

Attached the print screen of vi

 

ciao

David

0 Kudos
Message 9 of 29
(5,836 Views)

Thanks a lot.

0 Kudos
Message 10 of 29
(5,832 Views)