Arduino code returning inconsistant value for MPL115A2

Hardware

Hi, When I'm running the Arduino code, I'm getting the following values

Pressure : 50.00 kPa
Temperature in Celsius : 118.08 C
Temperature in Fahrenheit : 244.55 F
Pressure : 50.00 kPa
Temperature in Celsius : 118.08 C
Temperature in Fahrenheit : 244.55 F
Pressure : 50.00 kPa
Temperature in Celsius : 118.08 C
Temperature in Fahrenheit : 244.55 F
Pressure : 50.00 kPa
Temperature in Celsius : 118.08 C
Temperature in Fahrenheit : 244.55 F
Pressure : 50.00 kPa
Temperature in Celsius : 118.08 C

I have downloaded code from MPL115A2/MPL115A2.ino at master · ControlEverythingCommunity/MPL115A2 · GitHub

For sure, it makes around 22 C and not 118 C.

plz anyone can give some leads.

Thanx in advance [/list]

Hi,
Welcome to the forum.

Please read the first post in any forum entitled how to use this forum.
http://forum.arduino.cc/index.php/topic,148850.0.html . Then look down to item #7 about how to post your code.
It will be formatted in a scrolling window that makes it easier to read.

Can you please post a copy of your circuit, in CAD or a picture of a hand drawn circuit in jpg, png?

Thanks.. Tom... :slight_smile: