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.

Interfacing LM35 to PIC 16F877A and helpful link to PBP

Status
Not open for further replies.

promtech

Newbie level 4
Joined
Jun 30, 2007
Messages
6
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,315
pbp lm35

Hi guys, am new to the world of microcontroller. Am having problem with interfacing LM35 to PIC 16F877A and I can't find any free tutorial or other helpful material for PIC Basic Pro (PBP) programming. I would be very glad if anyone could help. Thanks in anticipation
 

how to use lm35dz wire

Good site about PBP:
www.rentron.com

You can connect the LM35 output signal directly to one of the A/D converter channels in the 16F877A. I did it and it works well. The output voltage (in my case from 0 to 1V, where each 10mV variation corresponds to 1 celsius degree using the LM35DZ) of the LM35 is converted to binary in two registers (ADRESH and ADRESL) forming 10 bits (1024 steps). Maybe you should make some calculations depending on your application.
 

lm35 + pic tutorial

Thanks for your reply.DO you mean I should connect the Vout of the LM35DZ to PortA.0 of the PIC.If that is the case please can you show me an example of the PBP code you used in converting analoge signal to digital and How can I send this signal to PC using IR.
 

lm35dz 16f877a

For a biginner like you I believe that the better option is to use ds1820. It is a digital thermometer in which you can use any pic because it only uses 1 wire communication.

PBP also has a sample program for that device.
 

pbp 16f877a

Hi nomad13,
I have searched for DS1820 but I couldn't find any seller and am left with the option of using analog.pls can you help me post the hex file you used for your Lm35.

Thanks
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top