ROSANNAPAPINI.IT ≡ Accessories Circuitoimpreso Kits Educativos Amplifier
  • Voltage/Current

  • B25 Voltage Sensor Module

B25 Voltage Sensor Module

$19.8 $36.83
The Arduino ana­log input is lim­it­ed to a 5 VDC input.   If you wish to mea­sure high­er volt­ages,  you will need to resort to anoth­er means.  One way is to use a volt­age divider.It is fun­da­men­tal­ly a 5:1 volt­age divider using a 30K and a 7.5K Ohm resis­tor.Keep in mind, you are restrict­ed to volt­ages that are less than 25 volts.   More than that and you will exceed the volt­age lim­it of your Arduino input. InputsGND –  This is where you con­nect the low side of the volt­age you are mea­sur­ing.   Cau­tion! : This is the same elec­tri­cal point as your Arduino ground.VCC:  The is where you con­nect the high side of  the volt­age you are mea­sur­ingOutputsS:  This con­nects to your Arduino ana­log input.– (or minus):  This con­nects to your Arduino ground. :  This is not con­nect­ed.  It does absolute­ly noth­ing… zilch… nada… jack did­dly doo doo.SchematicThe schemat­ic for this is pret­ty straight for­ward.  As pre­vi­ous­ly men­tioned, its just a cou­ple of resis­tors.   In fact, you could build your own in a pinch. The ConnectionsFind your­self a 9 volt bat­tery and con­nect it,  your volt­age sen­sor mod­ule and Arduino as shown below.The SketchEnter the fol­low­ing sketch, upload it and go to town.   If you open your Arduino ser­i­al mon­i­tor you will be able to see the volt­age.Arduino /* DC Voltmeter Using a Voltage Divider */ int analogInput = A1; float vout = 0.0; float vin = 0.0; float R1 = 30000.0; // float R2 = 7500.0; // int value = 0; void setup(){ pinMode(analogInput, INPUT); Serial.begin(9600); Serial.print("DC VOLTMETER"); } void loop(){ // read the value at analog input value = analogRead(analogInput); vout = (value * 5.0) / 1024.0; // see text vin = vout / (R2/(R1 R2)); Serial.print("INPUT V= "); Serial.println(vin,2); delay(500); }1234567891011121314151617181920212223242526/*DC Volt­meter Using a Volt­age Divider */ int analogIn­put = A1;float vout = 0.0;float vin = 0.0;float R1 = 30000.0; //  float R2 = 7500.0; // int val­ue = 0;void set­up(){   pin­Mode(analogIn­put, INPUT);   Ser­i­al.begin(9600);   Ser­i­al.print(“DC VOLTMETER”);}void loop(){   // read the val­ue at ana­log input   val­ue = analo­gRead(analogIn­put);   vout = (val­ue * 5.0) / 1024.0; // see text   vin = vout / (R2/(R1 R2));    Ser­i­al.print(“INPUT V= ”);Ser­i­al.print­ln(vin,2);delay(500);}
Voltage/Current

Voltage/Current

  • PZEM-004T Current Voltage Module AC 80–260V 100A
    $85.5 $161.6
  • Slide Potentiometer Module
    $20.7 $29.39
  • Non-invasive AC Current Sensor-100A
    $61.2 $112
  • B25 Voltage Sensor Module
    $19.8 $36.83
  • ACS712 Current Sensor- 5A
    $26.1 $46.98
  • ACS712 Current Sensor- 20A
    $26.1 $50.9
  • INA219 High Side DC Current Sensor Breakout
    $40.5 $57.51
  • GY-471 MAX471 3A Range Current Sensor Module
    $25.2 $33.52
  • KA2284 Voltage Level Indicator
    $25.2 $41.83
  • ZMPT101B AC Single Phase Voltage Sensor Module
    $40.5 $70.47

© 2026 - ROSANNAPAPINI.IT