Adding a voltage sensor to your Proteus simulation allows you to monitor voltage levels accurately, which is essential for projects involving battery monitoring or power supply protection. Since these sensors are often not included in the default installation, you must manually install a custom library. Voltage Sensor Module Overview
A standard voltage sensor module (like the 0–25V module) typically features:
Voltage Divider Circuit: It reduces higher input voltages (up to 25V) to a range (0–5V) that a microcontroller like an Arduino can safely read through its analog pins.
Input Terminals: Labeled as VCC (positive) and GND (ground) for the source being measured.
Output Pins: Labeled as S (Signal), + (5V power), and - (GND) for connection to the microcontroller. How to Install the Voltage Sensor Library
To use a voltage sensor in Proteus, follow these steps to add the necessary files to your software's internal folders:
Download and Extract: Obtain the library files from a reliable source like Electronics Tree or The Engineering Projects. Add Library Files (.LIB and .IDX):
Locate the LIBRARY folder in your Proteus installation directory (usually found under C:\Program Files (x86)\Labcenter Electronics\Proteus 8 Professional\Data\LIBRARY).
Copy the .LIB and .IDX files from your downloaded folder and paste them here. Add Model Files (.MDF): Go to the MODELS folder in the same Proteus directory. voltage sensor proteus library
Copy the .MDF file from your downloaded folder and paste it into this folder.
Restart Proteus: Close any open instances of the software and reopen it to refresh the component database.
Search and Place: Use the "Pick Devices" (P) tool and search for "Voltage Sensor" or the specific part name (e.g., MC34064 for low voltage detection) to add it to your schematic. Simulation Tips
To add a voltage sensor to your Proteus simulation, you can either use the built-in measurement tools or install a specific module library (often used for Arduino projects) that mimics a real-world voltage sensor module. 1. Using Built-in Measuring Tools
If you only need to monitor voltage levels during simulation without a physical sensor module:
DC Voltmeter: Go to the Virtual Instruments Mode (the icon that looks like a graph with a needle) in the left toolbar. Select DC VOLTMETER and place it in parallel with the component you want to measure.
Voltage Probe: Click on the Probe Mode icon (a small yellow point). Place a Voltage Probe directly on any wire or node to see the real-time voltage displayed during simulation. 2. Installing a Specific Voltage Sensor Module Library
To simulate a real-world sensor module (like the ones used with Arduino), you must download external library files ( IDXcap I cap D cap X LIBcap L cap I cap B Adding a voltage sensor to your Proteus simulation
) from community sites like The Engineering Projects or GitHub. Installation Steps:
Download the Files: Search for "Voltage Sensor Library for Proteus" and download the zip file containing the sensor's library files.
Locate Proteus Library Folder: Right-click the Proteus shortcut on your desktop and select Open File Location. Navigate to the LIBRARY folder.
Paste Files: Copy the downloaded .IDX and .LIB files into this folder.
Restart Proteus: If the software was open, close and restart it to refresh the component database.
Search and Place: Press 'P' (Pick Devices) in the schematic capture window and search for "Voltage Sensor" to find and add the module to your workspace. 3. Basic Connections for the Sensor Module The standard voltage sensor module in Proteus usually has:
Input (+/-): Connected to the voltage source you are measuring. VCC/GND: Power supply for the sensor logic (typically Signal (S): Connect this pin to an analog pin (e.g., ) on your Arduino model.
Are you planning to use this sensor with a specific microcontroller like an Arduino or PIC? Add ARDUINO UNO from library (if available in
A DC voltage sensor is essentially a voltage divider + ADC input (e.g., to an Arduino).
Typical Proteus setup:
| Sensor output | Connected to | |---------------|---------------| | VCC | +5V (from Arduino) | | GND | GND | | OUT (analog) | ARDUINO pin A0 |
Before hardware implementation, simulation helps:
Proteus lacks a single "Voltage Sensor" in its default library, but it offers multiple alternatives.
Source: Numerous educational websites (Microcontrollers Lab, Engineers Garage). Features:
Circuit inside library:
Include editable fields in the library part for: