cancel
Showing results for 
Search instead for 
Did you mean: 

ADC sample

user
Associate II
Posted on September 12, 2003 at 09:26

ADC sample

5 REPLIES 5
user
Associate II
Posted on September 11, 2003 at 13:51

Hi to all,

is possible to have an assembler ADC example, that explain how to use a temperature sensor ?

Many Tanks

MBKS

marco32
Associate II
Posted on September 12, 2003 at 06:15

What for temperature sensor do you use?

Use one who give an signal between 0 to 5V between the temperature you want to measure.

I use many times the LM35.
user
Associate II
Posted on September 12, 2003 at 08:15

dear Moppie,

I've not made myself so clear, sorry.

I use a NTC sensor form 0 to 5V, but this is not so important for my question!

I wish to know, by an example,a possible instructions sequence (assembler) to search ADC level inside Table (step by step):

ADC --> read -->search on Table Hex ---> Convert on C°.

Regards

MBKS

marco32
Associate II
Posted on September 12, 2003 at 08:31

I,ve copied a part of my software to look in tables.

Hope you can use it.

Succes

[ This message was edited by: Moppie on 12-09-2003 12:02 ]

________________

Attachments :

Table.asm : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I08w&d=%2Fa%2F0X0000000bWh%2FVwcGr8Qf4I5Qzg1luD8YRSbzfO7KxsMiEc5PxcpIkOg&asPdf=false
user
Associate II
Posted on September 12, 2003 at 09:26

Many Tanks !!

MBKS