cancel
Showing results for 
Search instead for 
Did you mean: 

measurement of currents using ACS172 on STM32f407VG

VTOL_Aviations
Associate II

Hai ,

my name is Dattu i am working on a project which involves measurement of current using ADC on STM32f407VG to achieve this i am using a 30A ACS712 sensor i have interfaced the sensor but when i am running the program i am getting a constant value like 1 or 0 so any can help with the interfacing issues i am not using a divider circuit even if i use i am getting same issue

Thankyou in advance

11 REPLIES 11

Several discovery boards use a simple shunt resistor.

It must be small enough for the voltage drop to be negligible (I would go with about 100 milliohm).

And it requires a buffer amplifier, for one because of the relatively small signal, and second because it is not directly referenced to GND.

Current measurement is imprecise anyway, because it fluctuates significantly with the program flow (core and peripheral load).

can i get any reference links