Arduino Wiring
You can easily wire this sensor to any microcontroller, we'll be using an Arduino- Connect GND to common power/data ground
- Connect PWR to the power supply, for the 3V sensor this is about 3.3V. For the 5V version, use about 5VDC
- Connect the SDA pin to the I2C data SDA pin on your Arduino. On an UNO & '328 based Arduino, this is also known as A4, on a Mega it is also known as digital 20 and on a Leonardo/Micro, digital 2
- Connect the SCL pin to the I2C clock SCL pin on your Arduino. On an UNO & '328 based Arduino, this is also known as A5, on a Mega it is also known as digital 21 and on a Leonardo/Micro, digital 3
Download Adafruit_MLX90614
To begin reading sensor data, you will need to download Adafruit_MLX90614 from our github repository. You can do that by visiting the github repo and manually downloading or, easier, just click this button to download the zipPlace the Adafruit_MLX90614 library folder your arduinosketchfolder/libraries/ folder.
You may need to create the libraries subfolder if its your first library. Restart the IDE.
We also have a great tutorial on Arduino library installation at:
http://learn.adafruit.com/adafruit-all-about-arduino-libraries-install-use