TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (382 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 codes)
  5. Bugz Bensce (97 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 (139714 times)
  2. FAT32 Library (72102 times)
  3. Network Ethernet Library (57320 times)
  4. USB Device Library (47664 times)
  5. Network WiFi Library (43287 times)
  6. FT800 Library (42620 times)
  7. GSM click (29958 times)
  8. mikroSDK (28376 times)
  9. PID Library (26977 times)
  10. microSD click (26360 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: 560 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

Readin the AM2303 Temp/Humidity Sensor with Basic

0

I'v seen a several C examples for reading these sensors but haven't found one in Basic. So here is the Source file for a Module in my RV Monitor Project for Handleing the AM2303. See the RV Monitor Project for a detailed Blog.

[Learn More]

Thermo 3 click + TI Launchpad

0

Demo code for Texas Instruments Launchpad MSP430G2553 controling Thermo 3 click. Main goal is showing example code for I2C communication between MCU and Thermo 3 click. Code is fully compatible for Arduino UNO, but there is problem with 3.3V requirement.

[Learn More]

DIY heart beat rate meter using clicker2 for PIC18FJ and Easy Pulse mikro

0

This project is about building a stand-alone pulse meter using Easy Pulse mikro and mikroElektronika‘s clicker 2 for PIC18FJ board. An OLED W click board is also used to display the pulse rate in beats per minute (BPM).

[Learn More]