I would have liked to see you insert a 10nF capacitor between Vout and ground on the ACS758 to reduce the noise or at least talk about the effects of this capacitor size on noise since you mentioned it earlier.
Actually, it would be cool to see a few different-sized capacitors tried. Because as you increase cap size you lower noise but reduce rate of change. Might be able to find an "ideal" capacitor value
2 двунаправленных acs758 подключенных встречно и ads1115 в дифференциальном режиме повысят точность! Можно еще добавить повтор замеров с усреднением значений, например усреднение по 10 выборкам.
you could connect 5v to input 1 of ads1115 and in code take that measurement and divide it by 2. that then is your middle point of the acs758. in code then .. voltage = (ads.readADC_SingleEnded(0) - ((ads.readADC_SingleEnded(1))/2) )*0.0001875; current = voltage / 0.04; // 40mV/A current even if 5v goes up and down a little it will compensated in code
Hi, i have a question. If i change the current sensor to sct013 5A/1V and using esp32 with 3.3V, do i only need to adjust the program in sensitivity from 40 to 5 ? And whats the value of 13333 will be ? And then my measurement will be working?
I am getting the below error message C:\Users\kishore\Documents\Arduino\current\current.ino: In function 'void setup()': C:\Users\kishore\Documents\Arduino\current\current.ino:12:18: error: 'Digital' was not declared in this scope Serial.println(Digital Electronics lab); ^~~~~~~ exit status 1 Compilation error: 'Digital' was not declared in this scope