Dear all.
I am trying to build simple application. My project goes like this way. I wanted to measure current through device. If current exceed 1A it should trip the relay and protect the same device.
for building this application i have gone with below models Arduino UNO:
ACS712
relay module
relay control voltage 5v , coil voltage 24v, contact voltage 240vAC,10A
I have found some connection diagram from website which i have attached below.
How to make connection diagram with Relay and load.
2)I have DC electronic load for testing.IS possible to use and if current exceed 1A like constant current mode can we test it ??
My advise, Arduino for reading current measures is a good choise, but for protection issues I don't recommend it.
Protection is more reliable on hardware implementation, they don't deal with software issues, If your Arduino get stuck in the code it may not protect well.
I'd use a common thermal magnetic breaker (these are protecting your home circuits) http://www.bulbscanada.com/image/cache/data/Breaker/QO140-500x500.jpg rated for 1 A, or you can use a SSR relay attached to logic gates with compare output, which compare the current with a setpoint.
We can use watchdog time to avoid hanging right. Even i prefer these kind of stuff. But My project cost should be low so i am prefering these kind of solution. Please let me know protection device i need to build it succefully.
This my application
Load is connected to ACS712 module via relay module. Intailly it is under normally closed operation . Once current exceeds 1A. relay got trip device being protected.
Future development: If relay got trip send SMS on mobile for failure.
@ present i am concentrating on How to build circuit with relay module.
response time might 5s.
i have attached my circuit i wanted to how can i connect measure and relay here with device to be protected. below circuit is right or wrong
void setup() {
Serial.begin(9600);
}
void loop()
{
CS_Output();
delay(1000);
}
void CS_Output()
{
float average = 0;
for(int i = 0; i < 1000; i++) {
average = average + (.0264 * analogRead(A0) -13.51) / 1000;
delay(1);
}
average=average+0.16;
Serial.println(average);
}
Here code i downloaded one of the website. But i didnt understand this part of code.can some one explain me.
average = average + (.0264 * analogRead(A0) -13.51) / 1000;
I have attached my output window. Sensor reading from Serial monitor 0.42 But if i measure in dc electronic load 0.38A similarly in 0.39A in multimeter. Can some tell me how can i calibrate the values to get close to value . I know the accuracy 5%
for above . can we still reduce it.