Practical Robotics Modular Robot Library
calibration.h@0:8a2dd255c508, 2016-11-26 (annotated)
- Committer:
- jah128
- Date:
- Sat Nov 26 17:28:53 2016 +0000
- Revision:
- 0:8a2dd255c508
Initial commit
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
jah128 | 0:8a2dd255c508 | 1 | // In this file we define calibration parameters for the actual robot |
jah128 | 0:8a2dd255c508 | 2 | |
jah128 | 0:8a2dd255c508 | 3 | // 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) |
jah128 | 0:8a2dd255c508 | 4 | |
jah128 | 0:8a2dd255c508 | 5 | #ifndef CALIBRATION_H |
jah128 | 0:8a2dd255c508 | 6 | #define CALIBRATION_H |
jah128 | 0:8a2dd255c508 | 7 | |
jah128 | 0:8a2dd255c508 | 8 | // Defaults: |
jah128 | 0:8a2dd255c508 | 9 | |
jah128 | 0:8a2dd255c508 | 10 | // #define ZENER_VOLTAGE 7.50 |
jah128 | 0:8a2dd255c508 | 11 | // #define BATTERY_PD_MULTIPLIER 6.60 |
jah128 | 0:8a2dd255c508 | 12 | |
jah128 | 0:8a2dd255c508 | 13 | #define ZENER_VOLTAGE 7.40 |
jah128 | 0:8a2dd255c508 | 14 | #define BATTERY_PD_MULTIPLIER 6.60 |
jah128 | 0:8a2dd255c508 | 15 | |
jah128 | 0:8a2dd255c508 | 16 | #endif |