projects
/
digitaldcpower
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0010975
)
tweak voltage divider for my config
master
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Mon, 24 Feb 2014 18:22:14 +0000
(19:22 +0100)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Mon, 24 Feb 2014 18:22:14 +0000
(19:22 +0100)
hardware_settings.h
patch
|
blob
|
history
diff --git
a/hardware_settings.h
b/hardware_settings.h
index
f549483
..
dc20968
100644
(file)
--- a/
hardware_settings.h
+++ b/
hardware_settings.h
@@
-21,7
+21,8
@@
#define ADC_REF 2.56
// the divider R3/R4 [(R3+R4)/R4] (calibrate the voltmeter, lower value=higher output)
-#define U_DIVIDER 10.75
+//#define U_DIVIDER 10.75 // 5.30
+#define U_DIVIDER 11.50 // 5.00
// the shunt for current measurement, you can calibrate here the
// amperemeter.