28040 Parallax Inc, 28040 Datasheet - Page 4

Board Mount Temperature Sensors Infrared Thermometer 90 Deg Mod MLX90614

28040

Manufacturer Part Number
28040
Description
Board Mount Temperature Sensors Infrared Thermometer 90 Deg Mod MLX90614
Manufacturer
Parallax Inc
Datasheet

Specifications of 28040

Temperature Threshold
+ 380 C
Package / Case
SIP-5
Digital Output - Number Of Bits
16 bit
Supply Voltage (max)
5 V
Description/function
Temperature Sensor
Maximum Operating Temperature
+ 70 C
Minimum Operating Temperature
0 C
Supply Current
20 mA
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Communication Protocol
All MLX90614 commands begin with the string:
"!TEM"
The "!" is used for synchronization and baud rate detection; the "TEM" identifies the device type – a
thermopile sensor. What follows will generally be a command letter and unit identifier. To alert a new
command the SEROUT statement must hold the BASIC Stamp pin low for a short period by sending a 0
byte preceding the command. The commands may be put in RAM (while running) or EEPROM
(permanently, requires a power cycle). Use “!TEMW” to write any of these parameters to ROM.
"R"
SEROUT pin, baudrate, [0,"!TEMR",slaveaddr,commandaddr]
The baud rate is always a variable or constant value for 2400, 4800, 9600, 19.2K or 38.4K baud. The "R"
command will read data in the sensor at the specified slaveaddr location. The $07 holds the location of
the sensor’s temperature data. After sending this command the BASIC Stamp must use SERIN to retrieve
the three data bytes.
Example:
The example sets a READ request at sensor address $5A and serially transmits object temperature data
stored in RAM ($07). The lowbyte and highbyte represent the 0.02 counts/K temperature. The PEC byte
can be used in the PEC calculation should the user desire.
Copyright © Parallax Inc.
Command Function
"!TEMR"
"!TEMW"
"!TEMC"
"!TEMc"
"!TEMZ"
"!TEMz"
"!TEMI"
"!TEMA"
"!TEMS"
"!ID"
SEROUT pin, baudrate,[0,"!TEMR",$5A,$07]
SERIN
Read Sensor Data
pin, baudrate,[lowbyte,highbyte,pec]
Read sensor data
Write sensor data
Set sensor for continuous data
reading
Set sensor for continuous data
reading and output
Set sensor for continuous data
reading at low power
Set sensor for continuous data
reading and output at low power
Set sensor reading interval time RAM / $07
Set sensor alarm
Stop sensor continuous data
Get the version number
MLX90614 Infrared Thermometer Modules (#28040-28042)
Writes to / Command
N/A (reads any command)
EEPROM / $20, $21, or $2E No reply
RAM / $07
RAM / $07
RAM / $07
RAM / $07
RAM / $07
RAM (no command)
N/A
MLX90614 Module Replies With
Replies with three bytes (temperature
low byte, high byte and PEC value)
No reply
Replies with “TEM” and five more bytes
(slave address, low temperature byte,
high temperature byte, PEC).
Replies with “TEM” and five more bytes
(slave address, low temperature byte,
high temperature byte, PEC).
No reply
No reply
Replies with three bytes of string
No reply.
No reply
v2.0 11/18/2008 Page 4 of 8

Related parts for 28040