TOP Contributors

  1. MIKROE (2652 codes)
  2. Alcides Ramos (351 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 (136632 times)
  2. FAT32 Library (69840 times)
  3. Network Ethernet Library (55891 times)
  4. USB Device Library (46227 times)
  5. Network WiFi Library (41863 times)
  6. FT800 Library (41084 times)
  7. GSM click (28945 times)
  8. PID Library (26402 times)
  9. mikroSDK (26317 times)
  10. microSD click (25328 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: 551 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

ACS712

5

This library allows you to use the ACS712 sensor to get the value of the current intensity AC and DC

[Learn More]

Realization of a simple weather station with PIC16F887.

0

Realization of a simple weather station with PIC16F887. Sensors used SHT71 (Sensirion humidity), MPX4115(Motorola pressure), MCP9700 (Microchip temperature). Simulation using Proteus 7.8 sp2.

[Learn More]

MQ Sensor Library Project

1

This project demonstrates the use of a few MQ Sensors. It enables the user to program a device once, thereafter the COM Port is used to change between devices. This provides some degree of convenience when testing and using the devices.

[Learn More]