Is this a K Type sensor?


Closed Thread
Results 1 to 21 of 21

Hybrid View

  1. #1
    Join Date
    May 2005
    Location
    Ne ohio
    Posts
    21


    Did you find this post helpful? Yes | No

    Default

    I'm writing some code for this device also. I'm wondering why the shift of 5 places to the right when in the data sheet it looks like only 3 shifts right should put the Temperatures lsb in the correct location.

    At least that's how my initial coding is. I'll try it tonight.
    I also use MSBPOST=2 :

    Get6675_Raw:
    LOW NCS:PAUSEUS 1
    Shiftin SO, SCK, MSBPOST, [raw1\16] ' Read 16 bit temperature register
    raw1 = raw1>>3
    HIGH NCS
    RETURN

    Brian

  2. #2
    Join Date
    May 2005
    Location
    Ne ohio
    Posts
    21


    Did you find this post helpful? Yes | No

    Default

    OK so I tried the code. Now I see you guys are right with the 5 bit shift.
    The device is capable of 12bits or 0.25 deg resolution if shifted only 3 times.

    Brian

Similar Threads

  1. Need a cheap touch sensor idea.. here it is
    By mister_e in forum Code Examples
    Replies: 20
    Last Post: - 16th April 2016, 22:42
  2. Ultrasonic distance sensor with PIC16F84A
    By MrRoboto in forum mel PIC BASIC
    Replies: 3
    Last Post: - 29th June 2009, 09:01
  3. PICBASIC PRO-coding for wireless sensor node
    By syazila in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 10th February 2009, 00:05
  4. Replies: 6
    Last Post: - 18th January 2008, 08:17
  5. RH/Temp Sensor Example Code
    By Bruce in forum Code Examples
    Replies: 7
    Last Post: - 15th June 2006, 15:55

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