Modifications

Sauter à la navigation Sauter à la recherche
434 octets ajoutés ,  27 février 2022 à 02:54
Ligne 57 : Ligne 57 :  
== Testing the sensor ==
 
== Testing the sensor ==
   −
The Raspberry-Pico offers a 12 bits resolution
+
The Raspberry-Pico offers a 12 bits resolution ADC (effective 8mV resolution. 3.3V/4095).
 +
 
 +
{{ambox|text=The MicroPython ADC expose an unified reading method named {{fname|read_u16()}} returning a 16 bits integer (between 0 and 65535).<br />
 +
So the 12 bits value readed on the ADC hardware is upscaled to 16 bits by {{fname|read_u16()}}. However upscaling will do not increase the ADC resolution (which stays anyway to 8mV).}}
 +
 
 +
<syntaxhighlight lang="python">
 +
 
 +
 
 +
</syntaxhighlight>
    
{{ENG-CANSAT-PICO-TRAILER}}
 
{{ENG-CANSAT-PICO-TRAILER}}
29 917

modifications

Menu de navigation