Notifications
Clear all

Multiple MLX sensors on one Arduino

32 Posts
5 Users
11 Likes
4,181 Views
MadMisha
(@madmisha)
Member
Joined: 4 years ago
Posts: 340
 
Posted by: @madmisha

@davemorris

But if you did wan to use the other library, try changing the example to this and call them accordingly.

 

Adafruit_MLX90614 mlx1 = Adafruit_MLX90614(0x5A);

Adafruit_MLX90614 mlx2 = Adafruit_MLX90614(0x5B);

I take this back. I looked into this library's .h file and it appears that they define the address there as 0x5A. It looks like you would have to change the library for it to work. Sparkfun should work though.

 

If the other library does not work, then look at this one: https://www.instructables.com/Multiple-IR-Temperature-Sensors/ They edited the Adafruit library to make it work. That was going to be my solution if it didn't work out.


   
ReplyQuote
(@davemorris)
Member
Joined: 3 years ago
Posts: 31
Topic starter  
Posted by: @madmisha

If the other library does not work, then look at this one: https://www.instructables.com/Multiple-IR-Temperature-Sensors/ They edited the Adafruit library to make it work. That was going to be my solution if it didn't work out.

I ended up using this modified Adafruit library.  It works great now. Two IR temp sensors reporting what seems to fairly accurate temps simultaneously. Along with this, I am seeing the input voltage being measured via a divider network and it is accurate to 0.05vdc.  All three numbers showing up in their proper place on my OLED display and refreshing nicely.

Thanks for the help on these elements guys!


   
MadMisha reacted
ReplyQuote
Page 3 / 3