ESD - METER
Static charges can be measured and determined in objects using electrostatic meters by measuring the electric field . Therefore, those charges that are otherwise imperceptible to man when discharged can be registered (< 2.000 V). Electrostatic meters should always be used for ESD protection.
SIMULATION OF THE ESD METER CIRCUIT
IT MEASURES ESD FOOTWEAR RESISTANCE , GOOD RESISTANCE = 50>
IF ITSINCREASE, ESD RESISTANCE ABOVE 50 OHM IT CAN'T ABLE TO DISCHARGE CHARGES. SO IT WILL AFFECTING ELECTRONICS COMPONENTS.
IN THIS CASE WE CHECK FOOTWEAR RESISTANCE BOTH RIGHT LEG AND LEFT LEGS, BOTH LEGS ESD FOOTWEAR HAVE LESS THAN 50 OHM CONDITION PASS.SO DI PAYED PASS OTHERWISE IT DISPLAYED FAILED OHM VALE AND DISPLAYED FAILS RIGHT OR LEFT OR BOTH.
ARDUINO CODE BELOW
#include<LiquidCrystal.h>
LiquidCrystal lcd(2,3,4,5,6,7); //rs,e,d4,d5,d6,d7
int Vin=5; //voltage at 5V pin of arduino
float Vout=0; //voltage at A0 pin of arduino
float R1=3300;//value of known resistance
float R3=3300;
float R2=0; //value of unknown resistance
float R4=0;
int LEFT=0;
int RIGHT=0;
int right=11;
int left=12;
int pass=13;
float buffer=0;
void setup()
{
lcd.begin(16,2);
lcd.print("ESD METER");
delay(500);
lcd.clear();
}
void loop()
{
LEFT=analogRead(A0);
if(LEFT)
{
buffer=LEFT*Vin;
Vout=(buffer)/1024.0;
buffer=Vout/(Vin-Vout);
R2=R1*buffer;
lcd.setCursor(0,1);
lcd.print("L = ");
lcd.print(R2);
}
RIGHT=analogRead(A1);
if(RIGHT)
{
buffer=RIGHT*Vin;
Vout=(buffer)/1024.0;
buffer=Vout/(Vin-Vout);
R4=R3*buffer;
lcd.setCursor(0,0);
lcd.print("R = ");
lcd.print(R4);
}
if((R2>50)&&(R4>50))
{
digitalWrite(right,HIGH);
digitalWrite(left,HIGH);
digitalWrite(pass,LOW);
lcd.setCursor(12,0);//right
lcd.print("FAIL");
lcd.setCursor(12,1);//left
lcd.print("FAIL");
delay(300);
}
else
{
digitalWrite(right,LOW);
digitalWrite(left,LOW);
}
if((R2<50)&&(R4>50))
{
digitalWrite(right,LOW);
digitalWrite(left,HIGH);
digitalWrite(pass,LOW);
lcd.setCursor(12,0);
lcd.print("FAIL");//right fail
lcd.setCursor(12,1);//left pass
lcd.print("PASS");
delay(300);
}
else
{
digitalWrite(right,LOW);
digitalWrite(left,LOW);
}
if((R2>50)&&(R4<50))
{
digitalWrite(right,HIGH);
digitalWrite(left,LOW);
digitalWrite(pass,LOW);
lcd.setCursor(12,0);
lcd.print("PASS");//right fail
lcd.setCursor(12,1);
lcd.print("FAIL");//left pass
delay(300);
}
else
{
digitalWrite(right,LOW);
digitalWrite(left,LOW);
}
if((R2<50)&&(R4<50))
{
digitalWrite(pass,HIGH);
lcd.setCursor(12,0);
lcd.print("PASS ");
lcd.setCursor(12,1);
lcd.print("PASS ");
}
else
{
digitalWrite(right,LOW);
digitalWrite(left,LOW);
digitalWrite(pass,LOW);
}
}
No comments:
Post a Comment