TOP Contributors

  1. MIKROE (2650 codes)
  2. Alcides Ramos (350 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (112 codes)
  5. Chisanga Mumba (90 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (136552 times)
  2. FAT32 Library (69746 times)
  3. Network Ethernet Library (55849 times)
  4. USB Device Library (46189 times)
  5. Network WiFi Library (41811 times)
  6. FT800 Library (41001 times)
  7. GSM click (28930 times)
  8. PID Library (26386 times)
  9. mikroSDK (26289 times)
  10. microSD click (25303 times)
Libstock prefers package manager

Package Manager

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]

< Back
Example

1-Wire Read Serial Number and Temperature DS18B20 or DS18S20

Rating:

5

Author: Petar Timotijević

Last Updated: 2013-07-03

Package Version: 6.0.0.0

Example: 1.0.0.0

Category: Measurement

Downloaded: 2277 times

Followed by: 2 users

License: MIT license  

1-Wire Read Serial Number and Temperature DS18B20 or DS18S20

Development Board : EasyPIC 7
Microntroller : PIC18F45K22 32MHz (can be other)
Sensors : DS18B20, DS18S20

Code recognize type of sensor and print sensor name and unique serial number with temperature on 2x16 LCD.

Tested & Works 100%

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "1-Wire Read Serial Number and Temperature DS18B20 or DS18S20 " changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "1-Wire Read Serial Number and Temperature DS18B20 or DS18S20 " changes.

Do you want to report abuse regarding "1-Wire Read Serial Number and Temperature DS18B20 or DS18S20 ".

  • Information
  • Comments (3)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroC PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

Example Blog

DS18B20 Sensor

DS18B20 Sensor

DS18B20 Sensor

View full image
DS18S20 Sensor

DS18S20 Sensor

DS18S20 Sensor

View full image
There is no sensor

There is no sensor

Try to remove sensor from socket.

View full image

1-Wire Read Serial Number and Temperature DS18B20 or DS18S20

Development Board : EasyPIC 7
Microntroller : PIC18F45K22 32MHz (can be other)
Sensors : DS18B20, DS18S20

Code recognize type of sensor and print sensor name and unique serial number with temperature on 2x16 LCD.

ALSO FROM THIS AUTHOR

DTMF Dialer with Holtek HT9200A (Serial Mode)

5

Package contains HT9200A library with example and code example without library. HT9200A is very cheap and small (DIP8) DTMF generator IC. IC Price is ~0,25eur. Uses only three pins from MCU. IC is ideal for alarm dialing projects,...

[Learn More]

Log ADC Values when button is pressed in internal EEPROM

0

Log ADC Values when button is pressed in internal EEPROM RD0 - Start Log RD1 - Erase complete EEPROM LCD shows current ADC steps and voltage in 0-5V range. Each time when RD0 is pressed uC take 8 samples from ADC in intervals of 3sec and stop. PortC LEDs shows progress of sampling each byte in EEPROM like bargraph.

[Learn More]

Police Lights

0

Police Lights for EasyPIC7 PORTC (7,6,5 and 2,1,0) All LEDs are red, replace 3 red LEDs with blue type in real project.

[Learn More]