Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

How to Use Gravity: Current to Voltage Module: Examples, Pinouts, and Specs

Image of Gravity: Current to Voltage ModuleDesign with Gravity: Current to Voltage Module in Cirkit Designer

Introduction

The Gravity: Current to Voltage Module (SEN0262) by DFRobot is an essential electronic component designed to convert current input into a proportional voltage output. This module is particularly useful in applications where current sensing is required, and a voltage signal is needed for interfacing with microcontrollers, data loggers, or other electronics that accept voltage inputs.

Explore Projects Built with Gravity: Current to Voltage Module

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 Wi-Fi Enabled Sensor Hub with ESP8266 and ADS1115 ADC: A project utilizing Gravity: Current to Voltage Module in a practical application
Wi-Fi Enabled Sensor Hub with ESP8266 and ADS1115 ADC

This circuit features two ESP8266 NodeMCU microcontrollers, each interfaced with a Gravity I2C ADS1115 16-Bit ADC module for analog-to-digital conversion. The microcontrollers communicate with the ADC modules via I2C protocol, with one set of connections for each microcontroller-ADC pair, and are powered through a common 3.3V and ground connection.

Open Project in Cirkit Designer
Image of Cellular-Enabled IoT Device with Real-Time Clock and Power Management: A project utilizing Gravity: Current to Voltage Module in a practical application
Cellular-Enabled IoT Device with Real-Time Clock and Power Management

This circuit features a LilyGo-SIM7000G module for cellular communication and GPS functionality, interfaced with an RTC DS3231 for real-time clock capabilities. It includes voltage sensing through two voltage sensor modules, and uses an 8-channel opto-coupler for isolating different parts of the circuit. Power management is handled by a buck converter connected to a DC power source and batteries, with a fuse for protection and a rocker switch for on/off control. Additionally, there's an LED for indication purposes.

Open Project in Cirkit Designer
Image of ESP32-Based Solar-Powered Current Monitoring System with OLED Display: A project utilizing Gravity: Current to Voltage Module in a practical application
ESP32-Based Solar-Powered Current Monitoring System with OLED Display

This circuit features an ESP32 microcontroller interfaced with a 0.96" OLED display, multiple LDR sensors with voltage dividers, an ACS712 current sensor, and two servomotors. The ESP32 reads analog values from the LDRs and the current sensor, and controls the servomotors. The LM2596 module steps down voltage for the circuit, which is powered by a combination of a solar panel and a 12V battery, with the current sensor monitoring the load current.

Open Project in Cirkit Designer
Image of Arduino and GSM-Based Power Monitoring and Wi-Fi Controlled Lighting System: A project utilizing Gravity: Current to Voltage Module in a practical application
Arduino and GSM-Based Power Monitoring and Wi-Fi Controlled Lighting System

This circuit is designed to monitor voltage and current using ACS712 current sensors and voltage sensors, calculate power, and control lighting via relay modules. It features an Arduino Uno R3 for processing sensor data and executing control logic, which includes sending alerts via a GSM module (sim 800l) if power falls below a threshold and connecting to WiFi using an ESP8266 module. The circuit also includes a battery with a charging module (TP4056), a step-up boost converter, and multiple AC power supplies with circuit breakers for safety.

Open Project in Cirkit Designer

Common Applications and Use Cases:

Technical Specifications

The SEN0262 module is designed with precision and ease of use in mind. Below are the key technical details and pin configuration for the module.

Key Technical Details:

Pin Configuration and Descriptions:

Pin Number Description Notes
1 Signal Output (Vout) Outputs voltage proportional to current
2 Ground (GND) Connect to system ground
3 Power Supply (Vcc) 5V DC input

Usage Instructions

How to Use the Component in a Circuit:

  1. Powering the Module:

    • Connect the Vcc pin to a 5V power supply.
    • Connect the GND pin to the common ground of your system.
  2. Connecting the Current Source:

    • The current to be measured should flow through the input terminals of the module.
  3. Reading the Output Voltage:

    • Connect the Vout pin to an analog input of a microcontroller, such as an Arduino, to read the voltage corresponding to the current.

Important Considerations and Best Practices:

Example Code for Arduino UNO

// Define the analog input pin connected to the module
const int currentSensorPin = A0;

void setup() {
  // Initialize serial communication at 9600 baud rate
  Serial.begin(9600);
}

void loop() {
  // Read the analog value from the sensor
  int sensorValue = analogRead(currentSensorPin);
  
  // Convert the analog reading (which goes from 0 - 1023) to a voltage (0 - 5V)
  float voltage = sensorValue * (5.0 / 1023.0);
  
  // Convert the voltage to current based on the sensitivity (1V/A)
  float current = voltage; // Since the sensitivity is 1V/A
  
  // Print the current value to the serial monitor
  Serial.print("Current: ");
  Serial.print(current);
  Serial.println(" A");
  
  // Wait for a bit to avoid spamming the serial monitor
  delay(1000);
}

Troubleshooting and FAQs

Common Issues Users Might Face:

Solutions and Tips for Troubleshooting:

FAQs:

Q: Can the module measure both AC and DC current? A: Yes, the module can measure both AC and DC current within its specified range.

Q: What is the resolution of the module? A: The resolution depends on the analog-to-digital converter (ADC) of the microcontroller used. For a 10-bit ADC like that on the Arduino UNO, the resolution is 5V/1024 or approximately 4.88mV per bit.

Q: Is it necessary to power the module with exactly 5V? A: Yes, the module is designed to operate at 5V. Using a different voltage may result in inaccurate readings or damage to the module.

Q: Can I connect multiple modules to a single microcontroller? A: Yes, as long as there are enough analog input pins available on the microcontroller, you can connect multiple modules.

For further assistance, please refer to the DFRobot community forums or contact technical support.