MLX90614 Infrared Thermometer Module

I am a college student doing a project for one of my classes and i am having a hard time trying to program this sensor, for my project all the sensor has to do is read the temperature of an object. I have been looking all over the internet trying to find a program or something that will work but all that I have found does not work. I would be very helpful if someone can help me out.

I am using an Arduino Uno
Right now i have the sensor hooked up like this:
Sensor 5V to Arduino 5V
Sensor Ground to Arduino Ground
Sensor SIG to Arduino Digital pin 6~
Sensor ALR to Nothing
Sensor RST to Nothing

I have a program but it gives me either 1023(Analog) or a range of 800 to 500(Digital) in the serial monitor.

Please Help Me out for my class.
This is my program:

int digitalPin = 6;
int val = 0;

void setup()
{
Serial.begin(9600);
}

void loop()
{
pinMode(digitalPin, OUTPUT);
analogWrite(digitalPin, 'END');
analogWrite(digitalPin, '!TEMR');
delay(100);
pinMode(digitalPin, INPUT);
val = analogRead(digitalPin);
Serial.println(val, DEC);
delay(1000);
}

 analogWrite(digitalPin, 'END');
 analogWrite(digitalPin, '!TEMR');

The above code is very strange. What do you suppose it does?

Hint: for help on something to do with Arduino, google "arduino something", where that something could be analogWrite.

I found those two lines of code on here:

analogWrite(digitalPin, 'END');
analogWrite(digitalPin, '!TEMR');

it said that the !TEMR was suppose to read the values from the sensor, and i dont remember what the END was suppose to do

What you found is sadly, utter nonsense. Perhaps it was posted as a joke to catch the unwary.

Google "arduino mlx90614" for some sensible options.

I have checked all over the internet for some help and none of what i found works.
The Module I am using seems to be discontinued so i can't find any thing, heres the Pdf of what i found with little programming in it and a picture of what I'm using. I really need help programming this sensor.

28040-mlx90614_module-v10.pdf (516 KB)

It would be difficult for even an expert to use that module with Arduino, as it has a bidirectional serial pin.

Save yourself a lot of grief and buy a MLX90614 sensor (beware of fakes on eBay) or remove the one on the module with a hot air rework station.

To get it working follow one of the tutorials, like this one.

Or, buy a Basic Stamp from Parallax and follow the directions for using the module with that.