TOP Contributors

  1. MIKROE (2654 codes)
  2. Alcides Ramos (352 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 (136745 times)
  2. FAT32 Library (69952 times)
  3. Network Ethernet Library (55942 times)
  4. USB Device Library (46267 times)
  5. Network WiFi Library (41887 times)
  6. FT800 Library (41173 times)
  7. GSM click (28985 times)
  8. PID Library (26414 times)
  9. mikroSDK (26362 times)
  10. microSD click (25376 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

Digital Counter using 4026 IC-in-Proteus

0

Its a digital counter using 4026 IC, and I have designed its simulation in Proteus.

[Learn More]

Ultrasonic sensor (RANGE FINDER) library

0

This is a simple structure based library for an ultrasonic range finder, all you need to do is copy the two files your project and include the "DistanceLib.h" in your main code. The module could be found at : http://www.futurlec.com/Distance_Sensors.shtml

[Learn More]

Measure Period Of Any Frequency Using Capture Mode

0

In this project the micro-controller can measure the periodic time of any frequency applied to the micro-controller Pin CCP1 using capture mode. Project worked 100% also tested using Proteus simulator software 100% Code and Simulation are included with the download.

[Learn More]