ı need to use acs712 current sensor with arduino for sensing the current. as my researches, for calculating the current, first, one have to calculate voltage by using analog output value of the sensor. then, by using this voltage, calculate the current by dividing voltage value to resistance value.
the part that ı want to ask is "ıs it not a cuurent sensor? why it does not give the current value? how can ı calculate the current?"
actuallt my circuit and code runs very well on proteus, but in real circuit, the sensor gives stupid values.
my circuit and code is attached.
thanks in advance.
the part that ı want to ask is "ıs it not a cuurent sensor? why it does not give the current value? how can ı calculate the current?"
actuallt my circuit and code runs very well on proteus, but in real circuit, the sensor gives stupid values.
my circuit and code is attached.
thanks in advance.
Attachments
-
12.6 KB Views: 4
-
300 KB Views: 10