Vout=Vin×(7.530+7.5)=Vin×0.2cap V sub out end-sub equals cap V sub in end-sub cross open paren the fraction with numerator 7.5 and denominator 30 plus 7.5 end-fraction close paren equals cap V sub in end-sub cross 0.2 This reduces your input voltage by a factor of 5. A input becomes exactly , making it safe for the microcontroller code to process. 4. Connecting the Sensor to an Arduino in Proteus
If you just want to see the voltage on a wire without writing code:
A standard external sensor library typically consists of two main file types that must be placed in the Proteus installation directory:
When you run the simulation, Proteus calculates the analog voltage at Node A . Your code reads this via ADC. This is a "virtual voltage sensor." voltage sensor proteus library
If you are looking for the visual "Voltage Sensor Module" (the blue PCB often used with Arduino), you can find models in community-shared libraries, but building the resistor divider yourself is faster to simulate and teaches you how the sensor actually works!
: Copy the downloaded .IDX and .LIB files into this folder.
In the physical world, a standard voltage sensor module (like the 0-25V sensor for Arduino) is simply a . It uses two resistors (typically 30KΩ and 7.5KΩ) to scale down a high voltage to a 0–5V range that a microcontroller's Analog-to-Digital Converter (ADC) can safely read. In Proteus, you have three primary ways to replicate this: Vout=Vin×(7
In Proteus, you can use the to see these readings in real-time as you adjust the input voltage source. Pro-Tips for Better Simulation
A voltage sensor module measures DC voltage within a defined range and provides a scaled output suitable for microcontroller ADC inputs. In Proteus, a dedicated voltage sensor component simplifies simulation by modelling input attenuation, input protection, and ADC-friendly output behavior.
Usually a 3-pin device (VCC, GND, Output) that toggles the signal pin high or low based on input voltage (demonstrated in this video). 3. Power Monitoring Modules (INA219) Connecting the Sensor to an Arduino in Proteus
Double-check your ground references. Virtual circuits require a unified ground ( GROUND terminal block) to compute relative voltage potentials correctly. To help refine your simulation setup, let me know: Are you measuring AC or DC voltage? What microcontroller are you using for the project? What is the maximum voltage range you need to measure? Share public link
Ensure the sensor's ground is connected to the common ground of your simulation circuit.
To bridge this gap, engineers use custom or native simulation techniques to accurately read AC and DC voltages. This comprehensive guide covers how to acquire, install, and use voltage sensor libraries in Proteus, along with practical circuit examples. 1. Understanding Voltage Sensing in Proteus
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
Once the library files are installed, you can build a simulation circuit using an Arduino Uno to display voltage readings. 1. Component Selection