This code will read the ir temperature and ambient temperature from MLX90614 and output it onto ssd1306 based i2c-128x32 oled
It will also keep a record of min and max temperature seen by it, and it also has a 'hold' button.
Step 1: Materials Required
Arduino (preferably nano)
3 push button
an ssd1306 screen
Step 2: Code and Circuit
The code was written in arduino ide,for arduino nano with atmega328 but can be adapted for other boards with ease.
the 2 circuit diagrams differ depending upon the fact whether your mlx90614 can handle 5 volts or 3 volts
the 3 buttons do th following functions
"hold current temperature and keep displaying it after pause symbol on screen"
reset min temperature which is displayed after arrow down symbol
rereset max temperature which is displayed after arrow up symbol
the ambient temperature is displayed after double tilde symbol
I've left a lot of comments in the code so that ,hopefully those who want to modify it, will find it easy to do so.