2pcs/10pcs/50pcs Voltage Sensor DC0-25V for Arduino with Code FZ0430

2pcs/10pcs/50pcs Voltage Sensor DC0-25V for Arduino with Code FZ0430
Click image for Gallery
  • Product Code: FZ0430X2-Voltage Sensor
  • Availability: In Stock
  • $5.99
  • Ex Tax: $5.99
  • Price in reward points: 2
  • 2 or more $4.99

Available Options

- +



Tags: Voltage Sensor, voltage testing module

Description:

Voltage input range: DC0-25V

Voltage detection range: DC0.02445V-25V

Voltage Analog Resolution: 0.00489V

DC input connector: Terminal cathode connected to VCC, GND negative pole

Output interface: "+" then 5/3.3V, "-" then GND, "s" then the Arduino AD pins

 

Reference code:

# include <Wire.h>

 

int val11;

int val2;

 

void setup ()

{

  pinMode (LED1, OUTPUT);

  Serial.begin (9600);

  Serial.println ("Emartee.Com");

  Serial.println ("Voltage:");

  Serial.print ("V");

}

void loop ()

{

  float temp;

  val11 = analogRead (1);

  temp = val11/4.092;

  val11 = (int) temp ;/ /

  val2 = ((val11% 100) / 10);

  Serial.println (val2);

  delay (1000);


 

 

Write a review

Note: HTML is not translated!
    Bad           Good

Related Products