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.

ds18s20 to 8051 interface

Status
Not open for further replies.

Hassan Gazal

Junior Member level 3
Junior Member level 3
Joined
Apr 6, 2013
Messages
25
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Visit site
Activity points
1,450
dear all

please i need assembly code (not c code ) for interfacing 8051 with ds18s20 temp. sensor

thanks
 


can you convert it to me buy any way please ??

i need to ask something why i need to write bit or byte to this dsxxx as ,it's a temperature sensor and all i need is to read the temperature from it no need to write
can you please explain to me this issue as am confused please
 

Reading of DS1820 or DS18B20 sensor datasheet will help you to understand. With reading you read data, but with writing you send command to sensor to say what you read. Also Sensor have internal alarm, this require writing and configuring data.

0x44 // Issue command CONVERT_T
0xBE // Issue command READ_SCRATCHPAD

;-)
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top