The following sketch initializes the sensor and reads both ambient and object temperatures, printing them to the Serial Monitor (which can be viewed in Proteus using the Virtual Terminal tool).
Click these interactive toggles during execution to manually raise or lower the simulated ambient/target heat profiles.
Click on the (P) button to open the pick-device window. Type MLX90614 into the keywords search bar.
Navigate to your Proteus installation directory. Common paths:
Integrating advanced sensors into electronics projects requires rigorous testing before moving to hardware assembly. The Melexis MLX90614 is a popular contact-less infrared (IR) temperature sensor widely used in medical thermometers, industrial automation, and smart HVAC systems. mlx90614 proteus library
Connect your display to the Arduino digital pins (or via an I2C backpack) to handle the visual readout. Writing the Arduino Firmware for Simulation
You need a sketch to run the simulation. Install the "Adafruit MLX90614" library in your Arduino IDE first.
Click these buttons to scale the simulated temperature up or down. You should see the values update instantly on your virtual display or serial logs, proving that your I2C communication bus protocol operates flawlessly. Troubleshooting Common Errors
Because Proteus lacks a default model for this sensor, electronics engineering communities have developed custom library blocks. You can find and download these files from open-source repositories and engineering blogs: The following sketch initializes the sensor and reads
Because Proteus lacks a default MLX90614 model, you must manually add the custom library files ( .IDX and .LIB ). Step 1: Download the Library Files
Using the Proteus library, we can simulate the circuit and test its behavior. We can vary the temperature input to the MLX90614 sensor and observe the output on the LCD screen.
or a Virtual Terminal for serial print debugging PCF8574 (Optional, if you want an I2C-driven LCD display) Resistors (Two 4.7kΩ resistors for I2C pull-up networks) Schematic Wiring Guide MLX90614 Pin Arduino Uno Pin Connection Type VCC 5V / 3.3V Power Rail Power Supply GND GND Power Rail SDA Analog Pin A4 I2C Data Line (Requires 4.7kΩ Pull-up to VCC) SCL Analog Pin A5 I2C Clock Line (Requires 4.7kΩ Pull-up to VCC)
It uses two wires to talk to microcontrollers like Arduino. High accuracy: It gives very precise heat readings. Why Use a Proteus Library? Type MLX90614 into the keywords search bar
void setup() Serial.begin(9600); mlx.begin();
This public link is valid for 7 days and shares a thread, including any personal information you added. This link or copies made by others cannot be deleted. If you share with third parties, their policies apply. Can’t copy the link right now. Try again later.
If you have Proteus open, close the software completely and relaunch it. This forces the application to re-index its database and incorporate the newly added MLX90614 sensor model. Setting Up the Schematic Circuit in Proteus
Connect one resistor from SDA to 5V. Connect the other from SCL to 5V. This keeps the signal clean. Writing the Arduino Test Code