MAX31855

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 8.

Moderator: Benj

Post Reply
slavaag7
Posts: 14
Joined: Wed Mar 21, 2018 7:20 pm
Location: Ekaterinburg
Been thanked: 3 times
Contact:

MAX31855

Post by slavaag7 »

Hello
How to use max31855 component?
Tried int, float output on ili9341 all zero.

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: MAX31855

Post by Benj »

Hello,

I'm using the component here and it's working well for me though there was a bug that got fixed earlier this week so make sur eyou are using the latest version of the component.

You also need to do a Sample before you can read the temperatures.

If you're still having problems then please can you attach your program and I'll have a look for you.

slavaag7
Posts: 14
Joined: Wed Mar 21, 2018 7:20 pm
Location: Ekaterinburg
Been thanked: 3 times
Contact:

Re: MAX31855

Post by slavaag7 »

But how to make a sample?
I turn on the sample variable bute
It turns out an error.
Please see the program, what needs to be changed - add.
Thanks.
Attachments
MAX31855.fcfx
(10.42 KiB) Downloaded 141 times

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: MAX31855

Post by Benj »

Hello,

You need to call the MAX31855 Sample function in your loop before you call the ReadThermocouple function.

Hopefully that's all that is required.

slavaag7
Posts: 14
Joined: Wed Mar 21, 2018 7:20 pm
Location: Ekaterinburg
Been thanked: 3 times
Contact:

Re: MAX31855

Post by slavaag7 »

Erroneous result
Attachments
MAX31855.fcfx
(10.62 KiB) Downloaded 128 times
MAX31855.png
(107.75 KiB) Downloaded 703 times

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: MAX31855

Post by Benj »

Hello,

Right I've now solved a problem where the simulation was not working and returning values. This is now available in the update system.

Please can you try this and hopefully it will work better for you, or at least give you an idea as to what is wrong.
MAX31855-1.fcfx
(13.92 KiB) Downloaded 176 times

slavaag7
Posts: 14
Joined: Wed Mar 21, 2018 7:20 pm
Location: Ekaterinburg
Been thanked: 3 times
Contact:

Re: MAX31855

Post by slavaag7 »

Hello
The simulation is all great! Everything works!
Thank you very much.

Post Reply