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.
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)
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.
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.
Comments
http://obex.parallax.com/objects/613/
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.
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
I will try using a transistor to send the signal at 5V and see if that helps.
http://forums.parallax.com/showthread.php?t=106716
Thanks for the link, the driver works great!!