Modifications

Sauter à la navigation Sauter à la recherche
130 octets ajoutés ,  29 avril 2016 à 12:30
Ligne 33 : Ligne 33 :  
== Mesurer l'accu ==
 
== Mesurer l'accu ==
   −
If you're running off of a battery, chances are you wanna know what the voltage is at! That way you can tell when the battery needs recharging. Lipoly batteries are 'maxed out' at 4.2V and stick around 3.7V for much of the battery life, then slowly sink down to 3.2V or so before the protection circuitry cuts it off. By measuring the voltage you can quickly tell when you're heading below 3.7V
+
Si vous utilisez un accu, vous aurez probablement envie de connaître la tension de votre accy! De cette manière, vous serez capable de dire quand il faudra recharger l'accu. Les accus Lipoly ont une tension maximale de 4.2V et la tension est généralement fixée à environ 3.7V pour la plupart des accus. Cette tension diminue lentement jusqu'à 3.2V (ou proche) où le circuit de protection s'active et coupe l'alimentation. En mesurant la tension de l'accu, vous pourrez rapidement savoir si la tension chute sous 3.7V
    
To make this easy we stuck a double-100K resistor divider on the '''BAT''' pin, and connected it to '''D9''' (a.k.a analog #7 '''A7'''). You can read this pin's voltage, then double it, to get the battery voltage.
 
To make this easy we stuck a double-100K resistor divider on the '''BAT''' pin, and connected it to '''D9''' (a.k.a analog #7 '''A7'''). You can read this pin's voltage, then double it, to get the battery voltage.
29 917

modifications

Menu de navigation