TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (405 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (133 codes)
  5. Bugz Bensce (97 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 (141685 times)
  2. FAT32 Library (74749 times)
  3. Network Ethernet Library (59207 times)
  4. USB Device Library (49224 times)
  5. Network WiFi Library (44995 times)
  6. FT800 Library (44520 times)
  7. GSM click (31196 times)
  8. mikroSDK (30095 times)
  9. microSD click (27579 times)
  10. PID Library (27537 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

DS18X2X with MikroC AVR

Rating:

0

Author: MENADJELIA MOHAMMED

Last Updated: 2016-11-30

Package Version: 1.0.0.0

Example: 1.0.0.0

Category: Communication

Downloaded: 379 times

Not followed.

License: MIT license  

This code demonstrates how to use onewire library with DS18x2x devices to extract the 64 bit ROM : 8bit CRC | 48bit SERIAL | 8bit Family and output the results on the UART1 as follows :
DS_ROM = xx xx xx xx xx xx xx xx
DS_CRC = xx
DS_Family = xx --> If 10 --> DS1820 If 28 --> DS18B20 If 22 --> DS1822.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "DS18X2X with MikroC AVR" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "DS18X2X with MikroC AVR" changes.

Do you want to report abuse regarding "DS18X2X with MikroC AVR".

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

Example Blog

Blog currently doesn't exist!

RELATED CODES

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]

MODBUS Slave Example

0

This project demos a custom MODBUS RTU slave with an AVR. It has 4 coils, 4 discrete inputs, 2 input registers that store temperature data in degree Celsius and Kelvin from a DS18B20 temperature sensor and two holding registers that behave like scratchpad locations.

[Learn More]

MY OWN LABVIEW AND DSPIC DAQ with rf xbbe support

0

This use dspic for conect to labview and make serial com DAQ 4 in digital 4 in analog 4 output digital 4 output analog 2 pwm duty cicle in 1 onewire in 1rf xbbe tx out 1 tx rf xbbe out this have the labview library

[Learn More]