Shop OBEX P1 Docs P2 Docs Learn Events
MLX90614 Infrared Thermometer spin object? — Parallax Forums

MLX90614 Infrared Thermometer spin object?

HoangTran83HoangTran83 Posts: 52
edited 2012-12-03 23:44 in Propeller 1
does anyone have spin test code for the MLX90614 module that parallax sells?

Comments

  • Bob Lawrence (VE1RLL)Bob Lawrence (VE1RLL) Posts: 1,720
    edited 2010-11-26 16:08
  • TimmooreTimmoore Posts: 1,031
    edited 2010-11-26 16:19
    Note: My object is for the raw sensor not for the module Parallax sells.
  • ElectronegativityElectronegativity Posts: 311
    edited 2010-11-26 16:47
    I am struggling with the exact same thing right now.

    I have the MLX90614 sensor connected to a Prop Protoboard and have spent the last 2 hours trying to get something out of it using the generic serial object from the Object Exchange, but to no avail.

    The raw sensor object will not work with this module.
  • TimmooreTimmoore Posts: 1,031
    edited 2010-11-26 17:02
    I haven't used the parallax module but have you looked at the examples in the manual e.g.
    SEROUT pin, baudrate,[0,"!TEMR",$5A,$07]
    SERIN pin, baudrate,[lowbyte,highbyte,pec]

    That translates into
    uart.tx(0)
    uart.str(string("!TEMR"))
    uart.tx($5a)
    uart.tx($07)

    and see if you get any chars in reply
  • ElectronegativityElectronegativity Posts: 311
    edited 2010-11-26 17:15
    I think my problem might be that I hooked the signal lone to one of the Prop pins with a 4.7k pull up, but the pin is only 3.3V and the device is a 5V part.

    I will try using a transistor to send the signal at 5V and see if that helps.
  • TimmooreTimmoore Posts: 1,031
    edited 2010-11-26 17:21
    Take a look at the first of this thread, there is a driver for the module

    http://forums.parallax.com/showthread.php?t=106716
  • HoangTran83HoangTran83 Posts: 52
    edited 2010-11-26 23:29
    Tim,

    Thanks for the link, the driver works great!!
  • AcquaLifeAcquaLife Posts: 19
    edited 2012-07-02 12:27
    Hello i downloaded the object file in the post but i havent been able to get my mlx90614 to work. It said you need to connect a 1k resistor between the RST pin, but i dont think mine has a rts pin. I have the mlx90614 breakout board from sparkfun. I have a SLC, SDA, 3.3v, gnd, tx, rx, and pc0-3 pins. I've been able to get this working on the arduino from code i found on the internet. The code i've found from the parallax exchange hasn't been able to work.
  • PodionPodion Posts: 90
    edited 2012-12-03 23:44
    Dose any one have the MLX90614 to work whit this http://obex.parallax.com/objects/613/ ???
Sign In or Register to comment.