Electronics > Beginners
arduino help project (ammeter)
islington:
dear forum,
i'm here to ask if someone can help me with a project i'm trying to do,
i'm tryng with arduino to make an ammeter with Sensore SCT-013-030 to read the
ampere of a line, then at 0,3 ampere swith on a light and when it reach 1,30ampere
to start a buzzer.
in the same time register the data of reading
thank to all people will reply to me
MarkF:
Welcome to the forum.
A quick Google search gives a simple example:
https://learn.openenergymonitor.org/electricity-monitoring/ct-sensors/interface-with-arduino
Show us your circuit and your code and we will be glad to help.
Edit:
For what you are trying to do, you probably will want to rectify and smooth the output for the Arduino.
This will provide the Arduino with a positive only voltage to convert.
islington:
thisis what we have tryed to do me and my friend ,
not been able to insert the 2 alarms
not shure of the precicion .
hope to have an help
your sincerelly sergio T.
MarkF:
Disclosure, I have never use these sensors.
Some things I would check to start:
* Determine if you need a burden resistor. From what I can figure out, you do not.
* Measure the output of the sensor with DMM or scope. Is the sensor generating a proper voltage?
Measure the input to the Arduino.
* Your circuit will output a sine wave to the Arduino. i.e. The Arduino will need to sample the waveform at a frequency at least 10 times the 50Hz/60Hz of your AC current and then determine the average or RMS value. Which brings me to the EnergyMonitor library. (Personally, I avoid libraries like the plague.) I leave it to you to figure out how to setup and use it.
* I would suggest a different circuit which would feed the Arduino a DC voltage.
This voltage could then be measured with the standard ADC conversion.
Make sure the max voltage does NOT exceed the Arduino analog input range!!!
islington:
dear markf,
thank you for suggestion and reply
the ammeter work, i don't know how the precision is, but my problem is the sketch,
with my friend reading around builded this one that work.. now i need to put
number two alarms.
one at the the start of reading (i can say 0,3or 0,5 when working i find correct value)
the signal have to close a relays
the 2nd when i reach around 1.3/1.5Ampere (same as above) then the signal have to
close a relays .
then my circuit was ok.. (maybe if was possible to insert a time day year around the reading was better
but don't know if possible)
i have searched around on book and sites the command to insert to make this alarm but
there is something we wrong if someone can help me modifing my sketch
or axplaning me how to do it i would be happy
thank to everyone could help at me
(Ps. the capacitor is 100uF)
Navigation
[0] Message Index
[#] Next page
Go to full version