Hi all
how can i interface DS1820 temperature sensor with 89s52 uC. So that it can display temp on LCD.
thanks in advance
aditya
The datasheet for the DS1820 tells what interface it has. It will tell what size of pull-up you need and the timing for the protocol.
The datasheet for your display will give the needed information how it should interface to the processor.
Google will find you sample code for the Dallas one-wire interface. Most probably, you will be able to find sample code for your display too.
Integrate and add a bit of glue code in between, that picks up the temperature values and formats them into a string and displays that string.
How much have you done already?
sir i am using Keil demo version to compile my software is it ok with demo version.
i am using Keil demo version to compile my software is it ok with demo version. 1) what does this have to do with "Need help in interfacing of DS 1820 with 8051" 2) it is NOT OK if you are developing for commercial purposes 3) it is not OK if it does not fit withon the limitations of the demo version
Erik
sir i mean whether keil(demo ) is able to compile the software or not.
The Keil demo software can compile ANSI C code up to the limits of the version you have. There are some that will only work with a specific brand of chip. The generic one will generate code for any 8052 CPU, but is limited in size. A simple single chip 1-wire app should fit.
View all questions in Keil forum