Use your forum account to login.

LOGIN

TOP Contributors

  1. MikroElektronika Team (364 codes)
  2. Shawon Shahryiar (227 codes)
  3. Alcides Ramos (92 codes)
  4. Dany (66 codes)
  5. O B (60 codes)
  6. MikroBUS.NET Team (35 codes)
  7. NART SCHINACKOW (34 codes)
  8. Roman Toropov (25 codes)
  9. Alberto Trasimeni (25 codes)
  10. Arezki YOUYOU (24 codes)

Most Downloaded

  1. Timer Calculator (69471 times)
  2. Network Ethernet Library (35013 times)
  3. FAT32 Library (32948 times)
  4. USB Device Library (26160 times)
  5. Network WiFi Library (25715 times)
  6. FT800 Library (18096 times)
  7. PID Library (17733 times)
  8. GSM click - Example (17649 times)
  9. microSD click - Example (14823 times)
  10. GPS click - Example (11811 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:

Author: Matej Nogić

Last Updated: 2017-02-26

Category: Measurement

Downloaded: 131 times

Not followed.

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

Download Project [309.12KB]

Version 1.0.0.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

Reading Microchip TC1047A Analog Temperature Sensors

This Example shows how to read the TC1047A Analog Temperature sensor,These sensor are used in the following systems Cellular Phones Power Supply Thermal Shutdown Temperature-Controlled Fans Temperature Measurement/Instrumentation Temperature Regulators Consumer Electronics Portable Battery-Powered Equipment

[Learn More]

Interface DHT22 sensor with PIC (mikroBasic)

This is an example shows an interfacing of PIC mikrocontroller with DHT22 sensor.

[Learn More]

BI Hall Click - Example

Bi Hall click is a simple solution for adding a bipolar Hall switch to your design. It carries the Melexis US2882 bipolar Hall-effect switch and a 74LVC1T45 single bit, dual supply transceiver. A bipolar Hall effect sensor is sensitive to both north and south pole magnetic fields.

[Learn More]