]> www.fi.muni.cz Git - bike-lights.git/blobdiff - pins.txt
fw/Makefile: explicitly set the usbasp speed
[bike-lights.git] / pins.txt
index b6c188e2cc715df14e5208e9e7408e36d11a317e..06ce75a995d475b9662f83731541d0db06dc88fa 100644 (file)
--- a/pins.txt
+++ b/pins.txt
@@ -32,11 +32,11 @@ SW2 - temporary light boost or whatever
 
 
 ADC Gain
-========
-single-ended resolution:          0.001074 V .. 1.1000 V
-differential resolution  8x gain: 0.000134 V .. 0.1375 V
-differential resolution 20x gain: 0.000054 V .. 0.0550 V
-differential resolution 32x gain: 0.000036 V .. 0.0344 V
+========                                                  0.033R sensign res.
+single-ended resolution:          0.001074 V .. 1.1000 V  32.55 .. 33333 mA
+differential resolution  8x gain: 0.000134 V .. 0.1375 V   4.06 ..  4166 mA
+differential resolution 20x gain: 0.000054 V .. 0.0550 V   1.64 ..  1666 mA
+differential resolution 32x gain: 0.000036 V .. 0.0344 V   1.09 ..  1042 mA
 
 analog input resistance 100 MOhm
 
@@ -98,3 +98,8 @@ Battery idle current
 2000 mAh: 1.0 mA -> 83 days capacity
 2000 mAh: 0.1 mA -> 833 days capacity
 
+Converter reaction
+==================
+step-up: 4-5 adc measurements to ADC voltage increase
+step-down 2: 1-2 ---""---
+timer: 34-38 ADC measurements per jiffy (200 Hz)