2023-08-04, 07:24 PM
(This post was last modified: 2023-08-04, 07:25 PM by seandepagnier.)
If you change to the 0-5v range, you need to ensure you use ratiometric mode then. This will fix the voltage calculations and you will use different resistors there too. This can be enabled by tying D4 and D5 to gnd.
You will need special logic to handle this sensor with 2.4v center point and maybe some logic to zero low enough readings.
If you can please use the original code in github and tie D4 and D5 to gnd, then what do you get for current readings? Then modify TakeAmps()
You will need special logic to handle this sensor with 2.4v center point and maybe some logic to zero low enough readings.
If you can please use the original code in github and tie D4 and D5 to gnd, then what do you get for current readings? Then modify TakeAmps()