TOP Contributors

  1. MIKROE (2663 codes)
  2. Alcides Ramos (357 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (112 codes)
  5. Chisanga Mumba (90 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 (137068 times)
  2. FAT32 Library (70199 times)
  3. Network Ethernet Library (56080 times)
  4. USB Device Library (46395 times)
  5. Network WiFi Library (42013 times)
  6. FT800 Library (41347 times)
  7. GSM click (29108 times)
  8. mikroSDK (26543 times)
  9. PID Library (26486 times)
  10. microSD click (25483 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: 553 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

WattMeter (Power meter)

5

This project is a power meter (Wattmeter). It is made for 230V~ (nominal, rms), 2.5A~ (max, rms) and 50Hz, but is rather easily adaptable to other voltages, currents and frequencies. It can handle both sinusoidal and non sinusoidal voltages and currents, both with and without DC component.

[Learn More]

LM75 i2c Temperature Sensor

0

LM75 i2c Temperature Sensor with thermostat functions and temperature readings. PIC16F887 is used as the mcu and a character LCD for printing output.

[Learn More]

Using a Shaft Encoder with MINI-M4 for STM32

0

This example shows how to connect a shaft encoder to a MPU board and provides a state machine decoder that can be used for many useful applications where a rotating dial inputs positional information. This data can be used for display purposes or for converting into analog signal by passing it to the internal DACs.

[Learn More]