Page 1 of 1

temperature reading help!!

Posted: Mon Apr 04, 2011 9:23 am
by nightout
hi everyone, I'm from France and working actually on a project that enquired Miac and Flowcode...
The problem is I don't know how to program MIAC to show the temperature in function of the thermistance that I've chosen...
the thermistance name and caracteristics: CTN 10K
Spécifications
résistance nom.: 10 kohm
B-constant (±7%): 4100°K
courant max. admissible: 30mA
constante de dissipation thermique: 6mW/°C
constante de dissipation thermique: 15sec.
dimensions: Ø=5mm

so I think I need to use function Cacul in flowcode to make it happen?? any idea?? I'm confused and dispair!!


-10
-5
0
5
10
15
20
25
30
35
40
45
50

R
55,33
42,32
32,65
25,39
19,9
15,71
12,49
10
8,057
6,531
5,327
4,369
9,369

V
1,83682841
2,293577982
2,813599062
3,390788358
4,013377926
4,667444574
5,335704758
6
6,645622196
7,259088984
7,829320806
8,351311852
6,195466983

N
39
48
59
72
85
99
113
127
141
154
166
177
131


these are some values that I made

so I guess Miac will read the tension...but the tension read must be Convert to analogy and display in temperature number please!! help!![list=][/list]

Re: temperature reading help!!

Posted: Mon Apr 04, 2011 10:17 am
by Benj
Hello,

Have you seen the sensor1 example from the MIAC examples download?

http://www.matrixmultimedia.com/softwar ... amples.zip

Re: temperature reading help!!

Posted: Mon Apr 04, 2011 10:29 am
by nightout
I did but it doesn't help!! I need it to read the tension deliver by the thermistance then convert it in binary to finally display it in real temperature!!

Re: temperature reading help!!

Posted: Mon Apr 04, 2011 10:34 am
by nightout
actually it helps a bit but not exactly what I want :/

Re: temperature reading help!!

Posted: Tue Apr 05, 2011 2:55 pm
by Benj
Hello,

I normally use a excel spreadsheet to generate a look up table and then use that data inside the microcontroller Flowcode program.

Re: temperature reading help!!

Posted: Tue Apr 05, 2011 3:23 pm
by nightout
uhm...actually I can't open the flowcode file ... but thanks for the excel that's awsome

Re: temperature reading help!!

Posted: Tue Apr 05, 2011 4:35 pm
by Benj
Hello,

You could use the example program located here to show you how look up tables work in Flowcode.

http://www.matrixmultimedia.com/mmforum ... =26&t=3543

Let us know how you get on.

Re: temperature reading help!!

Posted: Fri Apr 15, 2011 8:48 am
by nightout
things are getting better since we have talked...uhm I didn't use your program actually...I did another way...right now I'm having a new problem ... but I don't know how to explain ... if you let me to send you an image to explain?? how can I send it to you??

Re: temperature reading help!!

Posted: Fri Apr 15, 2011 10:05 am
by Benj
Hello,

You can attach images and programs to the forum. See the upload attachment tab below the posting window when you are creating a post.