Hello
I am facing a problem with SparkFun Current Sensor ACS723 (Low Current). I am trying to measure the output current (photocurrent) of a photodetector. I calibrated the current sensor to adjust the maximum current that can sense, which is 20 mA using the power supply. However, when connecting it to the photodetector circuit, it does not output accurate values (not even close). Another problem is that even when there is no input to the photodetector, the sensed values of the current sensor are the same.
I am connecting the current sensor with the photodetector as the figure attached. I am using the original current sensor code provided by Sparkfun, but I changed the reference voltage and the sensitivity according to the calibration.
Thank you