Practical Robotics Modular Robot Library

Dependents:   ModularRobot

Revision:
0:8a2dd255c508
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/calibration.h	Sat Nov 26 17:28:53 2016 +0000
@@ -0,0 +1,16 @@
+// In this file we define calibration parameters for the actual robot
+
+// We can improve the battery voltage reading by measuring the actual voltage drop across the Zener diode (Z1 - a 7.5V device) and the ratio of the PD (should be 1:1)
+
+#ifndef CALIBRATION_H
+#define CALIBRATION_H
+
+// Defaults:
+
+// #define ZENER_VOLTAGE 7.50
+// #define BATTERY_PD_MULTIPLIER 6.60
+
+#define ZENER_VOLTAGE 7.40
+#define BATTERY_PD_MULTIPLIER 6.60
+
+#endif
\ No newline at end of file