Voltage / tegangan Sensor Module

T124-L2D24

Baru

89 item

Rp. 4.000


JumlahHargaAnda menghemat
10 Rp. 3.900 Sampai dengan Rp. 1.000
Parameters:
Voltage input range: DC0-25V
Voltage Detection range: DC0.02445V-25V
Voltage Analog Resolution: 0.00489V
DC input connector: Terminal cathode connected VCC, anode to GND
Output Interface: "+" then 5/3.3V, "-" connected 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);
}

Blog

Related Products