I just recently got started with a PICAXE-08M and have done a few simple projects successfully. I picked up an MLX90614 temperature sensor from Parallax, but I can't seem to get it to work with my PICAXE.
The MLX90614 has some instructions and sample code for using it with a BASIC Stamp, so I'm trying to interpolate to get it working with the PICAXE. So far I'm getting nothing from the sensor, so I'm guessing there's something going on with the serial communication.
I wrote a simple PICAXE program to send the "!ID" command out to the MLX90614, which should cause it to respond with 3 bytes. I've confirmed that the PIC is sending the data by hooking it up to my PC. I've also hooked an oscilloscope probe up to the "SIG" line of the MLX90614 and I see that the PIC is transmitting something when it's connected to the MLX, but the MLX never responds. I'm using the N2400 baud rate specification, and I'm wondering if the MLX wants me to use the "T2400" with the MAX232 chip, as I'm just using the simple resistor setup at the moment. Does anyone have experience here and know if that's what I may be missing?
Thanks.
The MLX90614 has some instructions and sample code for using it with a BASIC Stamp, so I'm trying to interpolate to get it working with the PICAXE. So far I'm getting nothing from the sensor, so I'm guessing there's something going on with the serial communication.
I wrote a simple PICAXE program to send the "!ID" command out to the MLX90614, which should cause it to respond with 3 bytes. I've confirmed that the PIC is sending the data by hooking it up to my PC. I've also hooked an oscilloscope probe up to the "SIG" line of the MLX90614 and I see that the PIC is transmitting something when it's connected to the MLX, but the MLX never responds. I'm using the N2400 baud rate specification, and I'm wondering if the MLX wants me to use the "T2400" with the MAX232 chip, as I'm just using the simple resistor setup at the moment. Does anyone have experience here and know if that's what I may be missing?
Thanks.