Reading DS1620 (SPI Temperature) from 18F46k22 Micro at 16MHz


Closed Thread
Results 1 to 8 of 8

Hybrid View

  1. #1
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166


    Did you find this post helpful? Yes | No

    Default Re: Reading DS1620 (SPI Temperature) from 18F46k22 Micro at 16MHz

    Jim, When you have the logic analyzer connected to the PIC pins, are you seeing consistent data between transfers meaning reading to reading? 15 feet is quite a ways for an un-buffered SPI bus. The DS1620 device shouldn't be changing temperature that drastically.
    Dave Purola,
    N8NTA
    EN82fn

  2. #2
    Join Date
    Feb 2012
    Posts
    64


    Did you find this post helpful? Yes | No

    Default Re: Reading DS1620 (SPI Temperature) from 18F46k22 Micro at 16MHz

    Dave,
    from one reading to the next, the data does look consistent, but the temp is off which seems weird. I have been logging the results and they are smooth changes in temp. I think it will be a bit easier to follow what is going on with the logic analyzer if I remove the fahrenheit conversion and compare the data read to the bits on the analyzer, but that will be for another day since I don't have the analyzer set up next to where the device is mounted. Maybe then I will be able to see if I am dropping a bit someplace. I may try a different type of Temp IC also (Maybe one that also does humidity)


    Quote Originally Posted by Dave View Post
    Jim, When you have the logic analyzer connected to the PIC pins, are you seeing consistent data between transfers meaning reading to reading? 15 feet is quite a ways for an un-buffered SPI bus. The DS1620 device shouldn't be changing temperature that drastically.

Similar Threads

  1. DS 3231 temperature reading
    By visnja30 in forum mel PIC BASIC
    Replies: 7
    Last Post: - 7th June 2015, 21:50
  2. Max31855 Thermocouple Temperature Reading
    By Lefteris in forum Code Examples
    Replies: 5
    Last Post: - 21st January 2015, 04:20
  3. Replies: 3
    Last Post: - 10th November 2014, 19:20
  4. DS18S20 reading negative temperature
    By srob in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 28th December 2007, 22:21
  5. DS1620 temperature sensor in high resolution mode
    By crodan in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 15th March 2007, 05:03

Members who have read this thread : 1

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

Tags for this Thread

Posting Permissions

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