Saltar a contenido

Proteus Library | Voltage Sensor

This module is based on a simple circuit (using

Recognizing the need for dedicated sensor components, the Proteus community has developed numerous third‑party libraries. One of the most comprehensive guides for adding a is provided by Schematic World , which walks through the process step by step.

The location varies by version, but it is usually found in the DATA directory of your Proteus installation.

Hit the "Play" button. Adjust the input voltage and watch the Virtual Terminal update with the real-time voltage reading. Troubleshooting Common Issues voltage sensor proteus library

Locate the LIBRARY folder in your Proteus installation directory (usually found under C:\Program Files (x86)\Labcenter Electronics\Proteus 8 Professional\Data\LIBRARY ).

Finding the right library file is the crucial first step. Here are your best bets:

This is the most educational approach. You don't need a dedicated module component. Simply place to form a voltage divider directly on your schematic. Connect the unknown voltage source across the series combination, and tap the junction between the two resistors to go to your microcontroller’s analog pin. This method gives you complete control over the division ratio and intimately connects your simulation with the physical electronics theory. This module is based on a simple circuit

Copy both the .IDX and .LIB files from your downloaded voltage sensor folder and paste them directly into the LIBRARY directory located in Step 1. Step 3: Restart Proteus

Connects to the 5V power supply of the microcontroller.

to get the voltage at the pin, then multiply by 5 (the divider ratio) to get the actual input voltage. Hit the "Play" button

Open your Proteus Schematic Capture, press (Pick Device), and search for: RES (Generic Resistor symbol) ARDUINO UNO (Or your preferred microcontroller library) VOLTMETER (DC) (Found in the Virtual Instruments toolbar) Circuit Connections

Check the "Reference Voltage" in your code. Proteus defaults to 5V; if your MCU is set to 3.3V, your math will be off.