How to communicate with MLX90614 IR sensor


Results 1 to 7 of 7

Threaded View

  1. #3
    Join Date
    Oct 2004
    Posts
    440

    Default Re: How to communicate with MLX90614 IR sensor

    This is snippet from working MLX90614 code (other compiler) to give you a guideline:

    Code:
      Low I2C_SCL_Pin
      Low I2C_SDA_Pin
    
      I2C_Start()
      I2C_WriteByte($00) 'SLAVE ADDRESS
      I2C_WriteByte($07) '$07 = �000111 ADDRESS
      I2C_Restart()
      I2C_WriteByte($01) 'READ CMD
      sdTEMP_C.Byte0 = I2C_ReadByte()
      I2C_Ack()
      sdTEMP_C.Byte1 = I2C_ReadByte()
      I2C_Ack()
      yPEC = I2C_ReadByte()
      I2C_Stop()
    Norm
    Last edited by Archangel; - 22nd February 2015 at 19:56.

Similar Threads

  1. Replies: 6
    Last Post: - 5th August 2013, 14:43
  2. Cheapest way to communicate
    By koossa in forum Off Topic
    Replies: 22
    Last Post: - 25th May 2009, 12:06
  3. Communicate PC-to-PC using PIC
    By aje_azam in forum USB
    Replies: 3
    Last Post: - 16th March 2009, 07:35
  4. What's the best way to communicate?
    By BobK in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 2nd October 2004, 06:54
  5. pc communicate with pic16f877
    By meyou in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 5th August 2004, 23:26

Members who have read this thread : 0

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