Mlx90614 Proteus Library «Premium Quality»
: Uses a 2-wire SMBus (compatible with I2C) for easy integration with microcontrollers like Arduino.
The MLX90614 integrates an infrared thermopile detector chip and a signal conditioning ASIC into a single TO-39 can package.
C:\ProgramData\Labcenter Electronics\Proteus 8 Professional\LIBRARY
Click the folder icon next to and select your compiled .hex file.
With your circuit wired and your code compiled, you are ready to launch the simulation. mlx90614 proteus library
Select the matching device from the list and click . Place it onto your workspace.
Complete Guide to the MLX90614 Proteus Library for Infrared Temperature Simulation Simulating the Go to product viewer dialog for this item.
: Double-click the sensor in your schematic. In the properties panel, under Program File , browse and select the InfraredSensorsTEP.HEX file you downloaded earlier. Interactive Simulation : Most Proteus libraries include a
Restart the software to refresh the component list. 3. Firmware Integration (Arduino) : Uses a 2-wire SMBus (compatible with I2C)
This is almost always caused by missing pull-up resistors on the SDA and SCL lines. Ensure you have added physical resistors pulled to VCC, and verify their properties are set as digital or analog primitives with appropriate resistance values (2.2kΩ to 4.7kΩ).
Open the pick device tool ( P shortcut) in Proteus and add the following parts:
#include #include Adafruit_MLX90614 mlx = Adafruit_MLX90614(); void setup() Serial.begin(9600); Serial.println("Initializing MLX90614 Simulation..."); if (!mlx.begin()) Serial.println("Error communicating with MLX90614 sensor. Check wiring!"); while (1); ; Serial.println("Sensor initialization successful."); void loop() // Read Ambient Temperature float ambientC = mlx.readAmbientTempC(); // Read Object Temperature float objectC = mlx.readObjectTempC(); // Print results to the Proteus Virtual Terminal Serial.print("Ambient: "); Serial.print(ambientC); Serial.print(" *C\tObject: "); Serial.print(objectC); Serial.println(" *C"); delay(1000); // 1-second update interval Use code with caution. Loading the Hex File into Proteus In the Arduino IDE, go to .
(Optional) A .HEX or .COF file if the simulation model requires a pre-compiled firmware file to run inside Proteus. 3. How to Install the Library in Proteus Follow these steps to add the MLX90614 model to your Proteus Component Library: With your circuit wired and your code compiled,
A popup window will appear on screen, printing real-time ambient and object temperature values. While the simulation is running, look at the MLX90614 sensor component on your schematic. You will see interactive state toggles (plus and minus buttons) next to the temperature display text.
The simulation model in Proteus requires the microcontroller to read I2C data exactly as the real sensor would provide it. Required Library In your Arduino IDE, install the . Example Code for Simulation:
He checked the code inside. It was almost identical to his own failed DLL. But one line was different. Where Aris had written return (raw_ir_data * 0.02) - 273.15; , Claudiu_B had written:
The Melexis MLX90614 utilizes an internal 17-bit ADC and a powerful DSP engine to output ambient temperature and object temperature. It communicates primarily via an I2C-compatible Inter-Integrated Circuit bus protocol, which Melexis calls SMBus (System Management Bus).