MLX90614 infrared thermometer sensor add to dashboard

Hello

We are having problems adding the MLX90614 infrared thermometer sensor on to the cayenne dashboard.
We successfully connected our arduino uno to the dashboard but cant seem to be able to add the MLX90614 sensor; please it uses the adafruit library and is connected to A4 and A5 pins.

here is a link for the sensor ::

Appreciate any help

@wassimmir_82 welcome to cayenne community.
can you provide more detail on which device you are using to connect to cayenne.
if using a wemos D1 check this link MLX90614 infrared thermometer example - esp8266 learning
if you can get this setup then its easy to add MLX905614 to cayenne.

yes we are using arduino uno and the same setup as the link you provided and the same sketch code.
We are using A4 and A5 as shown on this link / picture

how would we proceed to add it to cayenne ?

have a look at this article to connect your arduino to cayenne using a esp8266 shield.

once connected use:

CAYENNE_OUT(1)
{
	Cayenne.virtualWrite(1, x);
}

where x stores the value from the sensor.

already using Ethernet shield and the board is connected to cayenne…

you have connected to cayenne using MQTT or regular connection?

regular connection

add this to your code and then add a custom value widget with virtual pin 1.

CAYENNE_OUT(V1)
{
Cayenne.virtualWrite(V1, x);
}

2 Likes

hi @wassimmir_82,

Were you able to get going here? Thanks for all your help @shramik_salgaonkar!

~Benny

no we are having trouble with the Cayenne.virtualWrite(V1, x); statement
if someone would like to help would appreciate

@wassimmir_82 what trouble??

@wassimmir_82 any luck?