ACS712T Current Sensor Module 20A (ACS712T) [B039]



https://www.youtube.com/watch?v=6NuyGoSPYO4


* Specs

Supply Voltage (VCC) 5Vdc Nominal

Measurement Range -20 to +20 Amps

Voltage at 0A VCC/2 (nominally 2.5Vdc)

Scale Factor 100 mV per Amp

Chip ACS712ELC-10A


* Contents

- Connect

VCC ---- 5V 

OUT ----- A0 

GND ----- GND 


Power+VCC -> Load/Sensor -> ACS712T (UP)

Power GND  ---------------> ACS712T (DOWN)


- Key Code

#include <Wire.h> 

#include <LiquidCrystal_I2C.h>


LiquidCrystal_I2C lcd(0x27,20,4);  // LCD2004


const int analogIn = A0;

int mVperAmp = 100; // use 100 for 20A Module and 66 for 30A Module

int RawValue= 0;

int ACSoffset = 2512; // default 2500 but i checked when this is disconnected to 2512

double Voltage = 0;

double Amps = 0;


void setup()

{

  lcd.init();  // initialize the lcd 

  lcd.backlight();

  lcd.print("start LCD2004");


  pinMode(analogIn,INPUT);

  delay(1000);


  lcd.clear();

}


void loop()

{

 

  lcd.setCursor(0,0);

  lcd.print("B039:ACS712T Current");


  RawValue = analogRead(analogIn);

  Voltage = (RawValue / 1023.0) * 5000; // Gets you mV

  Amps = ((Voltage - ACSoffset) / mVperAmp);


  lcd.setCursor(0,1);

  lcd.print("RawValue=" + (String)RawValue + "  ");


  lcd.setCursor(0,2);

  lcd.print("Voltage=" + (String)Voltage + "");


  lcd.setCursor(0,3);

  lcd.print("=>Current=" + (String)Amps + " A ");  


  delay(1500);

}

Posted by RDIoT
|

B25 Voltage Sensor DC0~25V [B125]




https://www.youtube.com/watch?v=cOpQqT2XffQ


* GitHubhttps://github.com/rdiot/rdiot-b125.git

* Specs

Voltage input: DC0-25V

Voltage detection range:DC0.02445V-25V

Voltage analog resolution:0.00489V


* Contents

- Connect

GND ----- GND

VCC ----- X

S ----- A1 


- Key Code

#include <Wire.h>

float val11; 

float 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;       

 Serial.print("analog:"+(String)val11+", "+(String)val11+"/4.092="+(String)temp);

 val11=temp;

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

 Serial.println(" =====> "+(String)val2+" V");          

 delay(1000); 

}

Posted by RDIoT
|

USB Voltage Current Meter [B037]



https://www.youtube.com/watch?v=ZEU8NXHy-Sc


* Specs

eatures:

100% Brand New and High Quality

Display data: Voltage Current Capacity Time

Specification:

1.Input USB

2.RTZ, Reset button, press it three seconds will Reset

3.Out USB

4.Voltage: 3V-9V ( 1% accuracy )

5.Current: 0-3A ( accuracy of 0.4% )

6.Battery Capacity (0-99999mah)

7.Working time (0-99Hour)

8.The working time and Capacity have Memory function when power off

Color:As the picture show

Size: 7.3cm*2.3cm*1.35cm (LXWXH)

Quantity:1 Pcs

Net Weight: 25g 



Posted by RDIoT
|