gaffertape / cl-osd

Automatically exported from code.google.com/p/cl-osd
0 stars 0 forks source link

Fix bugs in current measurement #42

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
http://www.rcgroups.com/forums/showthread.php?t=1490446&page=101#post21811764

Original issue reported on code.google.com by call...@gmail.com on 14 Jun 2012 at 5:32

GoogleCodeExporter commented 9 years ago
If I understood the datasheet of the sensor correctly it should have 0.6V on 0A 
and 0.6+100*0.04V=4,6V @100A.

So I think the code should be 
#define SENSOR_CURRENT_MIN_VOLTAGE 0.6
#define SENSOR_CURRENT_MAX_VOLTAGE 4.60
#define SENSOR_CURRENT_MAX_AMPS 100

Original comment by k...@kreiskoether.de on 25 Jun 2012 at 8:45

GoogleCodeExporter commented 9 years ago
Fixed in r103.

Original comment by call...@gmail.com on 15 Jul 2012 at 7:00