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

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

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

Introduction

A voltage sensor is a device that detects and measures the voltage level in a circuit, providing an output signal that can be used for monitoring or control purposes. These sensors are widely used in various applications, including power management systems, battery monitoring, industrial automation, and renewable energy systems. By converting voltage levels into readable signals, voltage sensors enable precise monitoring and control of electrical systems.

Explore Projects Built with sensor tegangan

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 and ESP-8266 Based Electrical Parameter Monitoring System with LCD Display
Image of multi: A project utilizing sensor tegangan in a practical application
This circuit features an Arduino UNO interfaced with an ACS712 current sensor and a ZMPT101B voltage sensor for measuring electrical parameters, which are displayed on an LCD. The ESP-8266 Controller is connected to the Arduino for potential IoT capabilities, and a trimmer potentiometer is used to adjust the LCD contrast. Power regulation is managed by an LM2596 module connected to a 220V power source.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32-Based Smart Energy Monitoring and Control System
Image of SMART SOCKET: A project utilizing sensor tegangan in a practical application
This circuit is designed to monitor AC voltage and current using ZMPT101B and ZMCT103C sensors, respectively, with an ESP32 microcontroller processing the sensor outputs. The XL4015 step-down module regulates the power supply to provide a stable voltage to the sensors, the ESP32, and an LCD I2C display. The ESP32 controls a 4-channel relay module for switching AC loads, and the system's operation can be interacted with via the LCD display and a push switch.
Cirkit Designer LogoOpen Project in Cirkit Designer
STM32 and ESP8266-Based Electric Grid Monitoring and Control System with I2C LCD Display
Image of electric grid monitoring: A project utilizing sensor tegangan in a practical application
This circuit monitors and controls an electric grid by measuring voltage and current using ZMPT101B and ACS712 sensors, displaying the readings on a 16x2 I2C LCD screen, and controlling a relay module to manage the load. The system is powered by a 3.3V battery, uses an STM32 microcontroller for processing, and includes an ESP8266 module for remote monitoring and control via WiFi.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino UNO-Based Environmental Monitoring System with LCD Display
Image of digestor circuit diagram: A project utilizing sensor tegangan in a practical application
This circuit is a sensor monitoring system powered by a 220V AC supply, which is converted to 12V DC using an SMPS. An Arduino UNO microcontroller reads data from a DHT11 temperature and humidity sensor and an MQ-2 gas sensor, and displays the information on a 16x2 I2C LCD screen.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with sensor tegangan

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 multi: A project utilizing sensor tegangan in a practical application
Arduino and ESP-8266 Based Electrical Parameter Monitoring System with LCD Display
This circuit features an Arduino UNO interfaced with an ACS712 current sensor and a ZMPT101B voltage sensor for measuring electrical parameters, which are displayed on an LCD. The ESP-8266 Controller is connected to the Arduino for potential IoT capabilities, and a trimmer potentiometer is used to adjust the LCD contrast. Power regulation is managed by an LM2596 module connected to a 220V power source.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of SMART SOCKET: A project utilizing sensor tegangan in a practical application
ESP32-Based Smart Energy Monitoring and Control System
This circuit is designed to monitor AC voltage and current using ZMPT101B and ZMCT103C sensors, respectively, with an ESP32 microcontroller processing the sensor outputs. The XL4015 step-down module regulates the power supply to provide a stable voltage to the sensors, the ESP32, and an LCD I2C display. The ESP32 controls a 4-channel relay module for switching AC loads, and the system's operation can be interacted with via the LCD display and a push switch.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of electric grid monitoring: A project utilizing sensor tegangan in a practical application
STM32 and ESP8266-Based Electric Grid Monitoring and Control System with I2C LCD Display
This circuit monitors and controls an electric grid by measuring voltage and current using ZMPT101B and ACS712 sensors, displaying the readings on a 16x2 I2C LCD screen, and controlling a relay module to manage the load. The system is powered by a 3.3V battery, uses an STM32 microcontroller for processing, and includes an ESP8266 module for remote monitoring and control via WiFi.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of digestor circuit diagram: A project utilizing sensor tegangan in a practical application
Arduino UNO-Based Environmental Monitoring System with LCD Display
This circuit is a sensor monitoring system powered by a 220V AC supply, which is converted to 12V DC using an SMPS. An Arduino UNO microcontroller reads data from a DHT11 temperature and humidity sensor and an MQ-2 gas sensor, and displays the information on a 16x2 I2C LCD screen.
Cirkit Designer LogoOpen Project in Cirkit Designer

Technical Specifications

Below are the key technical details for a typical voltage sensor module:

General Specifications

  • Input Voltage Range: 0–25V DC (varies by model)
  • Output Voltage Range: 0–5V DC (compatible with microcontrollers like Arduino)
  • Accuracy: ±1% (typical)
  • Operating Temperature: -40°C to 85°C
  • Dimensions: 30mm x 20mm x 15mm (approximate)

Pin Configuration and Descriptions

The voltage sensor module typically has a 4-pin interface. The pinout is as follows:

Pin Name Description
VCC Power supply input (typically 3.3V or 5V, depending on the module specification).
GND Ground connection.
VIN Voltage input to be measured (connect to the circuit under test).
VOUT Analog output voltage proportional to the input voltage.

Voltage Divider Circuit

The voltage sensor uses a voltage divider circuit to scale down the input voltage. For example, a 5:1 divider ratio allows the sensor to measure up to 25V while outputting a maximum of 5V.

Usage Instructions

How to Use the Voltage Sensor in a Circuit

  1. Power the Sensor: Connect the VCC pin to a 5V power source (or 3.3V, depending on the module) 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 and the negative terminal to the GND pin.
  3. Read the Output Signal: The VOUT pin provides an analog voltage proportional to the input voltage. This can be read using an analog-to-digital converter (ADC) on a microcontroller, such as an Arduino.

Important Considerations and Best Practices

  • Voltage Limits: Ensure the input voltage does not exceed the sensor's maximum rating (e.g., 25V). Exceeding this limit may damage the sensor.
  • Calibration: For accurate measurements, calibrate the sensor by comparing its output with a known reference voltage.
  • Noise Reduction: Use decoupling capacitors near the sensor to minimize noise in the output signal.
  • Safety: When measuring high voltages, ensure proper insulation and safety precautions to avoid electrical hazards.

Example: Using the Voltage Sensor with Arduino UNO

Below is an example code snippet to measure voltage using an Arduino UNO:

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

// Define the voltage divider ratio (e.g., 5:1 for a 25V sensor)
const float voltageDividerRatio = 5.0;

// Define the reference voltage of the Arduino (typically 5V)
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 measuredVoltage = (sensorValue * referenceVoltage / 1023.0) * voltageDividerRatio;

  // Print the measured voltage to the Serial Monitor
  Serial.print("Measured Voltage: ");
  Serial.print(measuredVoltage);
  Serial.println(" V");

  // Wait for 1 second before the next reading
  delay(1000);
}

Notes on the Code

  • The voltageDividerRatio should match the ratio of the sensor's internal voltage divider circuit.
  • The referenceVoltage should be adjusted if the Arduino is powered by a source other than 5V.

Troubleshooting and FAQs

Common Issues

  1. Incorrect Voltage Readings:

    • Cause: Calibration not performed or incorrect voltage divider ratio.
    • Solution: Verify the voltage divider ratio and calibrate the sensor using a known reference voltage.
  2. No Output Signal:

    • Cause: Improper wiring or insufficient power supply.
    • Solution: Double-check all connections and ensure the sensor is powered correctly.
  3. Fluctuating Readings:

    • Cause: Electrical noise or unstable input voltage.
    • Solution: Add decoupling capacitors near the sensor and ensure a stable input voltage.

FAQs

Q1: Can this sensor measure AC voltage?
A1: No, this sensor is designed for DC voltage only. For AC voltage, use a dedicated AC voltage sensor.

Q2: What happens if the input voltage exceeds the sensor's maximum rating?
A2: Exceeding the maximum input voltage may damage the sensor or produce inaccurate readings. Always stay within the specified range.

Q3: Can I use this sensor with a 3.3V microcontroller?
A3: Yes, but ensure the sensor's VCC pin is powered with 3.3V, and the output voltage does not exceed the microcontroller's ADC input range.

By following this documentation, users can effectively integrate and troubleshoot a voltage sensor in their projects.