TOP Contributors

  1. MIKROE (2656 codes)
  2. Alcides Ramos (353 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 (136886 times)
  2. FAT32 Library (70017 times)
  3. Network Ethernet Library (56001 times)
  4. USB Device Library (46307 times)
  5. Network WiFi Library (41933 times)
  6. FT800 Library (41208 times)
  7. GSM click (29017 times)
  8. PID Library (26427 times)
  9. mikroSDK (26398 times)
  10. microSD click (25386 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
Library

OW_Utilities for PIC32

Rating:

5

Author: dany

Last Updated: 2016-02-21

Package Version: 1.0.0.0

Category: Measurement

Downloaded: 1092 times

Followed by: 3 users

License: MIT license  

This library provides the basic one-wire search ROM and search ALARM routines, e.g. for the DS1820, the DS18S20 and the DS18B20.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "OW_Utilities for PIC32" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "OW_Utilities for PIC32" changes.

Do you want to report abuse regarding "OW_Utilities for PIC32".

  • Information
  • Comments (0)

Library Blog

Library "OW_Utilities" provides the basic one-wire search ROM and search ALARM routines  e.g. for the DS1820, the DS18S20 and the DS18B20 digital tempsensors.

The interface: var ROM_NO: array[8] of byte;


// the rom code found (if any) will be stored in this array function OW_Search_First_ROM(var Port_: byte; Bit_: byte): boolean;   
// Search for the first ROM number. Returns true of one is found. In this case the found number is in "ROM_NO".

function OW_Search_First_Alarm(var Port_: byte; Bit_: byte): boolean;   
// Search for the first ROM number of a device in alarm. Returns true of one is found. In this case the found number is in "ROM_NO".

function OW_Search_Next(var Port_: byte; Bit_: byte): boolean;
// Search for the next Rom number or the next Rom number of a device in alarm, depending on which "search_first" was used before.
// Returns true of one is found. In this case the found number is in "ROM_NO".

One-wire search documentation.

The Pascal code is translated from the C-code provided in above document.

ALSO FROM THIS AUTHOR

JoyStick to USB

0

The purpose of this project is to provide an interface between an “old” analog joystick (in this case a joystick from Quickshot with 2 buttons and an X and Y positioning), connected via a game port (DB15 connector) and a PC via USB.

[Learn More]

Menus

5

Menu machine capable of handling text based menus. It only handles the logical behaviour of the menu(s), not their physical appearance e.g. on an LCD: the using project should still define the display or drawing procedures.

[Learn More]

Article: The DS18(S)20, DS18B20, DS1820 Lib and OW_Utilities Lib usage

3

The DS18(S)20, DS18B20 device usage plus the DS1820 Lib and OW_Utilities Lib usage. Also some errors in the mE example (compiler help) are stated.

[Learn More]