Skip to content

Analog_Voltage_Divider_(SKU__DFR0051)

Angelo edited this page Sep 21, 2016 · 3 revisions

Introduction

Analog Voltage Divider (SKU: DFR0051) the voltage divider can detect the supply voltage upto 25v. the dfrobot voltage divider module is based on resistor divider principle. the voltage detection module allows the input voltage to reduce 5 times. as the Arduino analog input voltage is up to 5V, so voltage detection module's input voltage can not be greater than the 5Vx5 = 25V.

Specification

  • Type: Analog
  • Input voltage (DC): Maximum 25V, Minimum 0.0245V
  • Detects the supply voltage upto 25V
  • 3 Pins JST interface module

Pin Definition

400px

Connection Diagram

Analog sensor connection diagram

Sample Code

void setup()
{
  Serial.begin(9600);
}
void loop()
{
      int val;
      float temp;
      val=analogRead(0);//This divider module will divide the measured voltage by 5, the maximum voltage it can measure is 25V.
      temp=val/4.092; //
      val=(int)temp;//
      Serial.println(val);
      delay(100);
}

image:nextredirectltr.pngGo shopping analog voltage divider (sku: dfr0051)

category: Product Manual category: DFR Series category: Modules category: source category: Diagram

Clone this wiki locally