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.

1-wire device, READ BIT function

Status
Not open for further replies.

McMurry

Member level 3
Joined
Feb 16, 2008
Messages
56
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,746
Not sure if this is the correct category to ask this sort of question but anyway, hope someone can help me to understand more about the 1-wire protocol.

when reading a bit from the one -wire bus...
and the device im using is ds1820 digital thermometer


we need to pull DQ low
then pull the DQ line back to high
then delay for approx 15 microsec before returning the bit value of DQ line.

just wondering what is the purpose of the first few steps of pulling it low and pulling it back to high at the next instance..

Thanks a lot. Hope to understand more of its operation.
 

It depends upon the protocol being used. All protocols add some suffix or/and prefix to the data being sent.
 

    McMurry

    Points: 2
    Helpful Answer Positive Rating
thanks umery.

it is correct for me to say that the low and high at the next instance just to signify the start of a new slot?

Added after 11 minutes:

and i have another question.

if i connect the DQ line and ground to oscilloscope, i suppose would be able to see digital signal.

let say the temperature is 30 degree celcius.

will i be able to see 0011 0000 on the digital oscilloscope?
 

no you can't see such "direct" temperature reading.
you have to calculate it from register values

best regards,
stroma
 

Maxim has application notes and software libraries supporting 1-wire products.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top