Having trouble with SERIN command and MAX6675


Results 1 to 40 of 40

Threaded View

  1. #23
    Join Date
    May 2008
    Location
    Italy
    Posts
    825


    Did you find this post helpful? Yes | No

    Default

    MAX6675 need more than 200 millisecs for the temperature convertion. You are polling too fast so you don't get any response. Place a delay of 250 msecs to allow convertion.

    edit:My note was reffered to code seen in post#5. I just see that you added delay 500 in your code in post #7, so my answer is obsolete.
    My new suggestion are :

    add INCLUDE "modedefs.bas" on top of your code
    and modify your SHIFTIN command adding:

    shiftin MXSO, MXSCLK, MSBPRE, [MXTemp\16] 'read the data to MXTemp

    and see if it works.



    Al.
    Last edited by aratti; - 11th December 2010 at 11:51.
    All progress began with an idea

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