]> www.fi.muni.cz Git - bike-lights.git/blobdiff - pins.txt
buttons.c - the correct IRQ is PCIE1
[bike-lights.git] / pins.txt
index 9e47666e44da67e3046a642eeca2110a1273e465..44cac813ef436e43bfd101581ce352f350ecc6b4 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
 
@@ -72,6 +72,8 @@ Ambient light sensor
 darkness: 3.71 V => 4.31 MOhm
 bathroom without lights, only outside lights: 3.68 V => 4.18 MOhm
 kitchen light: 3.29 V => 2.89 MOhm
+room 30min before midnight: 0.26 V => 82 KOhm
+outside 30min before midnight: 0.05 V => 15 KOhm
 bathroom halogen lights 0.02 V => 6 KOhm
 battery light: 0.01 V => 3 KOhm