atMETEO
An ATmega based weather station
Files | Classes
MLX90614 Infrared thermometer

Avr::Mlx90614 decodes data from Melexis MLX90614 Infrared thermometer sensors. More...

Collaboration diagram for MLX90614 Infrared thermometer:

Files

file  mlx90614.h
 Avr::Mlx90614 decodes data from Melexis MLX90614 Infrared thermometer sensors.
 

Classes

class  Avr::Mlx90614
 Decodes data from Melexis MLX90614 Infrared thermometer sensors. More...
 

Detailed Description

Avr::Mlx90614 decodes data from Melexis MLX90614 Infrared thermometer sensors.


Class Documentation

◆ Avr::Mlx90614

class Avr::Mlx90614

Decodes data from Melexis MLX90614 Infrared thermometer sensors.

See also
http://www.melexis.com/Asset/IR-sensor-thermometer-MLX90614-Datasheet-DownloadLink-5152.aspx

Public Member Functions

bool isValid () const
 Determines if the last sensor access was valid. More...
 
float ambientTemperature () const
 Retrieves the cached ambient temperature value. More...
 
float objectTemperature () const
 Retrieves the cached object temperature value. More...
 
bool read ()
 Reads the ambient and object temperature from the sensor and updates the cached values. More...
 

Member Function Documentation

◆ isValid()

bool Avr::Mlx90614::isValid ( ) const
inline

Determines if the last sensor access was valid.

Returns
true if the last sensor access was valid and temperature can be read, false if an error occurred on the last sensor access.

◆ ambientTemperature()

float Avr::Mlx90614::ambientTemperature ( ) const
inline

Retrieves the cached ambient temperature value.

The ambient temperature value is updated by read.

Returns
The cached ambient temperature value.

◆ objectTemperature()

float Avr::Mlx90614::objectTemperature ( ) const
inline

Retrieves the cached object temperature value.

The object temperature value is updated by read.

Returns
The cached object temperature value.

◆ read()

bool Avr::Mlx90614::read ( )
inline

Reads the ambient and object temperature from the sensor and updates the cached values.

Returns
true if the sensor data could be read, false if an error occurred when accessing the sensor.