Proteus Library Upd | Voltage Sensor
: Utilizes specialized isolation components like the ZMPT101B active single-phase transformer to safely measure high AC mains.
Open the "Pick Devices" window (hotkey 'P') and search for "Voltage Sensor." Technical Specifications of the Updated Library
Proteus is a popular simulation software used for designing and testing electronic circuits. The voltage sensor is a crucial component in many electronic circuits, and having an accurate and up-to-date library is essential for reliable simulations. In this update, we will cover the latest enhancements and additions to the voltage sensor Proteus library.
Connect to Arduino digital pins to display the real-time voltage readings. The Calibration Code The sensor uses a voltage divider circuit. When measuring , the output is voltage sensor proteus library upd
Connect the sensor's analog output pin (S) to the Analog Pin 0 (A0) of the Arduino Uno. Connect the sensor's ground pin to the Arduino's GND. The Code (Arduino IDE)
you are trying to add (e.g., ZMPT101B, ACS712)? What Proteus version you are using?
The voltage sensor library in Proteus has been updated to include the following features: In this update, we will cover the latest
Updating the voltage sensor Proteus library is a straightforward process. Here are the steps to follow:
: Known for providing specialized Voltage and Digital Sensor libraries .
The Proteus development team is continually working to improve and expand the software's capabilities. Future updates are expected to include new component libraries, improved simulation capabilities, and enhanced user interface features. Users can expect to see more advanced features and improvements in the voltage sensor library and other components. When measuring , the output is Connect the
Upload the following basic code to your Proteus Arduino block via the hex file path:
const int sensorPin = A0; // Sensor output connected to Analog Pin 0 float vOUT = 0.0; float vIN = 0.0; float R1 = 30000.0; // Values modeled inside the sensor library float R2 = 7500.0; void setup() Serial.begin(9600); // Initialize virtual serial monitor pinMode(sensorPin, INPUT); void loop() int value = analogRead(sensorPin); // Calculate voltage at the microcontroller pin (0 - 5.0V) vOUT = (value * 5.0) / 1024.0; // Calculate original input voltage based on sensor step-down ratio vIN = vOUT / (R2 / (R1 + R2)); // Print results to the Proteus Virtual Terminal Serial.print("Measured Input Voltage: "); Serial.print(vIN, 2); Serial.println(" V"); delay(500); // Half-second delay between readings Use code with caution. Troubleshooting Common Simulation Errors
Before diving into the library fix, let’s establish what we are simulating. In most Proteus use-cases, a "Voltage Sensor" refers to one of two things:
3. How to Install New Voltage Sensor Libraries in Proteus (Step-by-Step)
Once the library is updated, follow these steps to add it to your project: Open . Click on the P (Pick devices) button. Type "Voltage Sensor" in the keywords search box.