We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]
Rating:
Author: Allen Mulvey
Last Updated: 2016-02-21
Package Version: 1.0.0.0
Category: Measurement
Downloaded: 1018 times
Followed by: 2 users
License: MIT license
When using multiple DS18B20 temperature sensors in a single project they are all connected in parallel and must be addressed by their unique ID. This project allows you to retrieve that ID and store it in the PIC EEPROM or an ihex file for reference in other projects.
Instructions are in the comments at the top of the c source file.
Do you want to subscribe in order to receive notifications regarding "DS18B20 - Retrieving the Unique 64-Bit Serial Code to PIC EEPROM" changes.
Do you want to unsubscribe in order to stop receiving notifications regarding "DS18B20 - Retrieving the Unique 64-Bit Serial Code to PIC EEPROM" changes.
Do you want to report abuse regarding "DS18B20 - Retrieving the Unique 64-Bit Serial Code to PIC EEPROM".
DOWNLOAD LINK | RELATED COMPILER | CONTAINS |
---|---|---|
1403988135_ds18b20___retrie_mikroc_pic.zip [98.25KB] | mikroC PRO for PIC |
|
I display the temperature and the device ID so you know the communication is working correctly. The EEPROM offset is also displayed so you know where the ID was stored.
View full image