Write Onewire data toa I2C memory / read ASCI


Results 1 to 40 of 68

Threaded View

  1. #28
    Join Date
    Nov 2007
    Posts
    60


    Did you find this post helpful? Yes | No

    Default

    Hi !

    Here is some informations about DS 1820 "

    TEMPERATURE/DATA RELATIONSHIP Table 2
    TEMPERATURE DIGITAL OUTPUT DIGITAL OUTPUT
    _______________(Binary)_____________(Hex)

    +85.0°C*____ 0000 0000 1010 1010___00AAh
    +25.0°C ____ 0000 0000 0011 0010___0032h
    +0.5°C______ 0000 0000 0000 0001 __0001h
    0°C_________0000 0000 0000 0000___0000h
    -0.5°C______1111 1111 1111 1111____FFFFh
    -25.0°C_____1111 1111 1100 1110____FFCEh
    -55.0°C_____1111 1111 1001 0010____FF92h

    only right byte I use , but I must to conver it in decimal . The left byte I use only to put "-" sign when it is = FFh .For right side of comma , I use byte 6 from sensor - COUNT REMAIN- . Tell me how convert right byte in decimal
    Last edited by Eugeniu; - 18th October 2008 at 21:01.

Similar Threads

  1. I2C Master/Slave 16F88/16F767 working code
    By DanPBP in forum Code Examples
    Replies: 2
    Last Post: - 23rd October 2012, 22:31
  2. Cleaning up code
    By Tobias in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 2nd December 2009, 07:14
  3. HARDWARE I2C SAMPLE CODE question
    By Michael Wakileh in forum Code Examples
    Replies: 2
    Last Post: - 16th June 2009, 21:07
  4. Need the code to write to a memory
    By Hamlet in forum General
    Replies: 0
    Last Post: - 20th August 2007, 00:22
  5. Sinus calculating !
    By Don Mario in forum mel PIC BASIC Pro
    Replies: 29
    Last Post: - 28th November 2004, 23:56

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts