Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use Voltage sensor: Examples, Pinouts, and Specs

Image of Voltage sensor
Cirkit Designer LogoDesign with Voltage sensor in Cirkit Designer

Introduction

The Einstronic 25V Voltage Sensor is a compact and efficient device designed to measure the electrical potential difference between two points in a circuit. It provides real-time voltage readings, making it an essential tool for monitoring and analysis in various electronic applications. This sensor is particularly useful in battery monitoring, power supply testing, and embedded system projects.

Explore Projects Built with Voltage sensor

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Arduino Mega 2560 and Adafruit DS1841 Battery-Powered Sensor Interface
Image of Capacitance meter: A project utilizing Voltage sensor in a practical application
This circuit is a sensor interface system powered by a 9V battery, featuring an Arduino Mega 2560 microcontroller and an Adafruit DS1841 digital potentiometer. The circuit includes resistors and capacitors for signal conditioning, with the Arduino handling data acquisition and communication via I2C with the DS1841.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino UNO-Based Voltage Monitoring System with SMS Alerts via SIM800L
Image of GSM800 Voltage  sensor: A project utilizing Voltage sensor in a practical application
This circuit is designed to monitor voltage levels from two 240V power sources using a pair of voltage sensors connected to an Arduino UNO. The Arduino reads the sensor outputs and, if a voltage higher than 10V is detected, it uses a SIM800L GSM module to send an SMS alert. The system is powered by a Polymer Lithium Ion Battery, and resistors are used for voltage level shifting for the SIM800L communication with the Arduino.
Cirkit Designer LogoOpen Project in Cirkit Designer
Pressure Monitoring System with Voltmeter and Power Supply
Image of PT Test: A project utilizing Voltage sensor in a practical application
This circuit measures the output voltage of a pressure transducer using a voltmeter. The pressure transducer is powered by a power supply, and its output voltage is connected to the voltmeter for measurement.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32 and ESP8266 Wi-Fi Controlled Sensor Hub with Battery Backup
Image of baby guard: A project utilizing Voltage sensor in a practical application
This circuit is a sensor monitoring and data transmission system powered by a Li-ion battery and a 12V adapter. It includes various sensors (tilt, optical encoder, force sensing resistors, and air pressure) connected to an ESP32 microcontroller, which reads sensor data and transmits it via a WiFi module (ESP8266-01). The system is designed to provide real-time sensor data over a WiFi network.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with Voltage sensor

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of Capacitance meter: A project utilizing Voltage sensor in a practical application
Arduino Mega 2560 and Adafruit DS1841 Battery-Powered Sensor Interface
This circuit is a sensor interface system powered by a 9V battery, featuring an Arduino Mega 2560 microcontroller and an Adafruit DS1841 digital potentiometer. The circuit includes resistors and capacitors for signal conditioning, with the Arduino handling data acquisition and communication via I2C with the DS1841.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of GSM800 Voltage  sensor: A project utilizing Voltage sensor in a practical application
Arduino UNO-Based Voltage Monitoring System with SMS Alerts via SIM800L
This circuit is designed to monitor voltage levels from two 240V power sources using a pair of voltage sensors connected to an Arduino UNO. The Arduino reads the sensor outputs and, if a voltage higher than 10V is detected, it uses a SIM800L GSM module to send an SMS alert. The system is powered by a Polymer Lithium Ion Battery, and resistors are used for voltage level shifting for the SIM800L communication with the Arduino.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of PT Test: A project utilizing Voltage sensor in a practical application
Pressure Monitoring System with Voltmeter and Power Supply
This circuit measures the output voltage of a pressure transducer using a voltmeter. The pressure transducer is powered by a power supply, and its output voltage is connected to the voltmeter for measurement.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of baby guard: A project utilizing Voltage sensor in a practical application
ESP32 and ESP8266 Wi-Fi Controlled Sensor Hub with Battery Backup
This circuit is a sensor monitoring and data transmission system powered by a Li-ion battery and a 12V adapter. It includes various sensors (tilt, optical encoder, force sensing resistors, and air pressure) connected to an ESP32 microcontroller, which reads sensor data and transmits it via a WiFi module (ESP8266-01). The system is designed to provide real-time sensor data over a WiFi network.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications and Use Cases

  • Battery voltage monitoring in IoT devices
  • Power supply diagnostics
  • Voltage measurement in robotics and automation systems
  • Educational projects and prototyping with microcontrollers (e.g., Arduino, Raspberry Pi)

Technical Specifications

The following table outlines the key technical details of the Einstronic 25V Voltage Sensor:

Parameter Specification
Manufacturer Einstronic
Part ID 25V Voltage Sensor
Input Voltage Range 0V to 25V
Output Voltage Range 0V to 5V (scaled for microcontroller)
Measurement Accuracy ±1%
Operating Voltage 3.3V or 5V DC
Operating Current <10mA
Dimensions 30mm x 15mm x 10mm
Weight 5g

Pin Configuration and Descriptions

The Einstronic 25V Voltage Sensor has a simple pinout, as described in the table below:

Pin Name Description
VCC Power supply input (3.3V or 5V DC)
GND Ground connection
VIN Voltage input to be measured (connect to the positive terminal of the circuit)
VOUT Scaled voltage output (connect to an ADC pin of a microcontroller)

Usage Instructions

How to Use the Component in a Circuit

  1. Power the Sensor: Connect the VCC pin to a 3.3V or 5V DC power source and the GND pin to the ground.
  2. Connect the Voltage to Be Measured: Attach the positive terminal of the voltage source to the VIN pin. Ensure the input voltage does not exceed 25V.
  3. Read the Scaled Output: Connect the VOUT pin to an analog input pin of a microcontroller (e.g., Arduino). The output voltage will be scaled proportionally to the input voltage (e.g., 25V input corresponds to 5V output).

Important Considerations and Best Practices

  • Voltage Limits: Do not exceed the 25V input limit to avoid damaging the sensor.
  • Scaling Factor: The sensor uses a voltage divider circuit to scale the input voltage. For this model, the scaling factor is 5:1 (i.e., the output voltage is 1/5th of the input voltage).
  • Calibration: For precise measurements, calibrate the sensor using a known voltage source and adjust your microcontroller's code accordingly.
  • Noise Reduction: Use decoupling capacitors near the sensor to minimize noise in the readings.

Example Code for Arduino UNO

Below is an example Arduino sketch to read and display the voltage using the Einstronic 25V Voltage Sensor:

// Define the analog pin connected to the VOUT pin of the voltage sensor
const int sensorPin = A0;

// Define the scaling factor (5:1 for this sensor)
const float scalingFactor = 5.0;

// Define the reference voltage of the Arduino (5V for most boards)
const float referenceVoltage = 5.0;

void setup() {
  // Initialize serial communication for debugging
  Serial.begin(9600);
}

void loop() {
  // Read the analog value from the sensor
  int sensorValue = analogRead(sensorPin);

  // Convert the analog value to a voltage
  float voltage = (sensorValue * referenceVoltage) / 1023.0;

  // Scale the voltage back to the original input voltage
  float inputVoltage = voltage * scalingFactor;

  // Print the input voltage to the Serial Monitor
  Serial.print("Input Voltage: ");
  Serial.print(inputVoltage);
  Serial.println(" V");

  // Wait for 500ms before the next reading
  delay(500);
}

Troubleshooting and FAQs

Common Issues Users Might Face

  1. No Output Voltage on VOUT Pin:

    • Cause: Incorrect wiring or insufficient power supply.
    • Solution: Double-check the connections and ensure the VCC pin is receiving 3.3V or 5V DC.
  2. Inaccurate Voltage Readings:

    • Cause: Lack of calibration or noise in the circuit.
    • Solution: Calibrate the sensor using a known voltage source and add decoupling capacitors to reduce noise.
  3. Microcontroller Reads Zero Voltage:

    • Cause: The VOUT pin is not properly connected to the microcontroller's ADC pin.
    • Solution: Verify the connection between the VOUT pin and the analog input pin of the microcontroller.

Solutions and Tips for Troubleshooting

  • Use a multimeter to verify the input voltage at the VIN pin and the scaled output voltage at the VOUT pin.
  • Ensure the microcontroller's ADC reference voltage matches the sensor's output range (e.g., 5V).
  • If the sensor is used in a noisy environment, consider shielding the wires or using twisted-pair cables for connections.

By following this documentation, users can effectively integrate the Einstronic 25V Voltage Sensor into their projects for accurate and reliable voltage measurements.