TOP Contributors

  1. MIKROE (2763 codes)
  2. Alcides Ramos (374 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 codes)
  5. Bugz Bensce (93 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (139279 times)
  2. FAT32 Library (71776 times)
  3. Network Ethernet Library (57136 times)
  4. USB Device Library (47436 times)
  5. Network WiFi Library (43101 times)
  6. FT800 Library (42410 times)
  7. GSM click (29835 times)
  8. mikroSDK (28111 times)
  9. PID Library (26887 times)
  10. microSD click (26201 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
Project

MLX90614 - Reading and writing via SMBus

Rating:

0

Author: Matej Nogić

Last Updated: 2017-02-26

Package Version: 1.0.0.0

Category: Measurement

Downloaded: 559 times

Not followed.

License: MIT license  

Project demonstrates reading and writing to a MLX90614 temperature sensor.

Program is controlled over UART, baud rate: 19200bps
Write "Read" to read all the register's values
Write "Write" to write settings listed from line 178.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "MLX90614 - Reading and writing via SMBus" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "MLX90614 - Reading and writing via SMBus" changes.

Do you want to report abuse regarding "MLX90614 - Reading and writing via SMBus".

  • Information
  • Comments (0)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroC PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

Project Blog

Project demonstrates reading and writing to a MLX90614 temperature sensor.  Program is controlled over UART, baud rate: 19200bps
Write "Read" to read all the register's values
Write "Write" to write settings listed from line 178.

Tmin and Tmax should be written in degrees Celsius,
others registers should be written in raw format.

If you want to switch from PWM mode back to SMBus mode
you need to pull SCL pin low for a time longer than 1.024ms.
This will allow you to communicate with a sensor over SMBus
but the PWMCTRL register value will NOT change. So if you want to
stay in a SMBus mode after POR you have to change the PWMCTRL
register value manually.

Reading

Reading

"Read" command

View full image
Writing

Writing

"Write" command

View full image
Writing

Writing

Put here what you want to write

View full image

RELATED CODES

Temp Probe click

5

Temp Probe Click is a compact add-on board used as thermocouple temperature monitoring system. This board features the LTC2986, a high accuracy digital temperature measurement system used to directly digitize thermocouples with 0.1°C accuracy and 0.001°C resolution from Analog Devices.

[Learn More]

Programmable Timer with PIC16F887

5

Programmable timer from 1 second to 24 hours, with PIC16F887 with internal quartz. There are two relays, one active for the programmed time and the other off for the programmed time. Can be used for most applications.

[Learn More]

ADC Code Examples for Various Offset Ranges

5

ADC Input: 0-5V Output 2x16 LCD: 0-5V ADC Input: 0-5V Output 2x16 LCD: 0-20V ADC Input: 0-5V Output 2x16 LCD: -25A 0 +25A ADC Input: -10V 0 +10V Output 2x16 LCD: 0-5V ADC Input: -2,5V 0 +2,5V Output 2x16 LCD: -2,5V 0 +2,5V ADC Input: -20V 0 +20V Output 2x16 LCD: 0-5V ADC Input: -5V 0 +5V Output 2x16 LCD: 0-5V

[Learn More]