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, renewable energy systems, and industrial automation. 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 general technical specifications for a typical voltage sensor module:

  • Input Voltage Range: 0–25V DC (varies by model)
  • Output Voltage Range: 0–5V DC (compatible with microcontrollers like Arduino)
  • Accuracy: ±1% (typical)
  • Operating Voltage: 3.3V or 5V DC
  • Operating Current: <10mA
  • Dimensions: 30mm x 20mm x 15mm (approx.)
  • Interface: Analog output
  • Temperature Range: -40°C to 85°C

Pin Configuration and Descriptions

The voltage sensor module typically has the following pins:

Pin Name Description
VCC Power supply input (3.3V or 5V DC, depending on the module).
GND Ground connection.
OUT Analog output signal proportional to the input voltage.
VIN+ Positive terminal for the voltage to be measured.
VIN- Negative terminal for the voltage to be measured (connected to ground).

Usage Instructions

How to Use the Voltage Sensor 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 Source: Attach the voltage source to be measured across the VIN+ and VIN- terminals. Ensure the input voltage does not exceed the sensor's maximum input range (e.g., 25V DC).
  3. Read the Output: Connect the OUT pin to an analog input pin of a microcontroller (e.g., Arduino). The output voltage will be proportional to the input voltage.

Important Considerations and Best Practices

  • Voltage Divider Circuit: Most voltage sensors use an internal voltage divider circuit to scale down the input voltage. Ensure the scaling factor is known (e.g., 5:1 or 10:1) to calculate the actual input voltage.
  • Input Voltage Limits: Do not exceed the maximum input voltage rating of the sensor to avoid damage.
  • Calibration: For accurate measurements, calibrate the sensor by comparing its output with a known reference voltage.
  • Noise Reduction: Use decoupling capacitors if the sensor is used in a noisy environment to stabilize the output signal.

Example Code for Arduino UNO

Below is an example of how to use a voltage sensor with an Arduino UNO to measure and display voltage:

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

// Define the voltage divider scaling factor (e.g., 5:1)
const float scalingFactor = 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 outputVoltage = (sensorValue / 1023.0) * referenceVoltage;

  // Calculate the actual input voltage using the scaling factor
  float inputVoltage = outputVoltage * scalingFactor;

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

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

Notes on the Code

  • The scalingFactor should match the voltage divider ratio of your specific sensor module.
  • The referenceVoltage should be adjusted if the Arduino is powered by a source other than 5V (e.g., 3.3V).

Troubleshooting and FAQs

Common Issues

  1. Incorrect Voltage Readings:

    • Cause: Incorrect scaling factor or reference voltage.
    • Solution: Verify the voltage divider ratio of the sensor and ensure the correct reference voltage is used in calculations.
  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's power pins or stabilize the input voltage source.

FAQs

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

Q: What happens if the input voltage exceeds the sensor's maximum range?
A: Exceeding the maximum input voltage can damage the sensor. Always ensure the input voltage is within the specified range.

Q: Can I use this sensor with a 3.3V microcontroller?
A: Yes, as long as the sensor supports a 3.3V operating voltage. Check the module's specifications before use.

Q: How do I improve measurement accuracy?
A: Calibrate the sensor using a known reference voltage and ensure stable power supply and connections.

By following this documentation, you can effectively integrate a voltage sensor into your projects for accurate voltage monitoring and control.