Home > Arduino & SCM Supplies > B25
nput voltage: DC0~25V Test range: DC0.02445V~25V Analog resolution: 0.00489V DC input£º VCC-anode; GND-cathode Output: "+" to 5/3.3V; -" to GND£¬"s" to AD pin on Arduino 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); }