27.12.2014 Views

Using DS18B20 digital temperature sensor on AVR ... - teslabs

Using DS18B20 digital temperature sensor on AVR ... - teslabs

Using DS18B20 digital temperature sensor on AVR ... - teslabs

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Index<br />

1. Introducti<strong>on</strong>.................................................................................................. ...........................3<br />

2. Making the circuit............................................................................................ .......................4<br />

3. Working with <str<strong>on</strong>g>DS18B20</str<strong>on</strong>g>............................................................................... ...........................5<br />

3.1. A critical operati<strong>on</strong>: timing................................................................... ............................5<br />

3.2. Useful definiti<strong>on</strong>s...................................................................................... ........................8<br />

3.3. Thermometer initializati<strong>on</strong>.................................................................................... ............8<br />

3.4. Read/Write operati<strong>on</strong>s...................................................................................... .................9<br />

3.4.1. Reading/Writing individual bits............................................................. ...................9<br />

3.4.2. Reading/Writing bytes................................................................................. ............10<br />

3.5. Available commands..................................................................................................... ...11<br />

3.6. The last step: reading the <str<strong>on</strong>g>temperature</str<strong>on</strong>g>................................................... .........................12<br />

4. Bibliography...................................................................................................................... .....15<br />

2

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!