Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

adc interfacing programs

Status
Not open for further replies.

saidutt

Member level 2
Member level 2
Joined
Dec 4, 2009
Messages
43
Helped
6
Reputation
12
Reaction score
4
Trophy points
1,288
Location
india
Activity points
1,592
hi friends,
I am interfacing ADC with temperature sensor(LM35) and micro-controller.
the output (voltage) values of ADC is Hex values which is voltage values of LM35.


if voltage at LM35 output is 2.4 volts and the ADC will give you hex value of 2 volts only.it will omit 0.4 volts.if i want to display 2.4 Volts on to the hyper terminal.

voltage at LM35 output from 2.1 volts to 2.9 Volts and the ADC will give you hex value of 2 volts only.


so how do get that value?please help me out figure it out
 

Hi,

Sounds like your program code is incorrect but you give no details of your hardware circuit or program code...
 

    saidutt

    Points: 2
    Helpful Answer Positive Rating
It seems like that values you are converting are in integer format rather then float format.
post your code so that we can check it.
 

    saidutt

    Points: 2
    Helpful Answer Positive Rating
engr.hayee said:
It seems like that values you are converting are in integer format rather then float format.
post your code so that we can check it.

hi friends,


my program is attached below.
i am using 8051 micro-controller and ADC as 0809.
please help me out.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top