Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
raspberrypipico:raspberrypipico [2021/03/12 13:21]
admin [Programmable I/O]
raspberrypipico:raspberrypipico [2021/03/25 18:06]
admin [ADC]
Line 6: Line 6:
 ==== Pinout ==== ==== Pinout ====
 {{:raspberrypipico:pico-r3-sdk11-pinout.jpg?600|}}\\ {{:raspberrypipico:pico-r3-sdk11-pinout.jpg?600|}}\\
 +// schematic from [[https://www.raspberrypi.org/documentation/rp2040/getting-started/#board-specifications|raspberrypi.org]]//\\
  
 On ADC 04 is a temperature sensor.\\ On ADC 04 is a temperature sensor.\\
Line 68: Line 69:
  
 More sound with [[https://github.com/benevpi/pico_pio_buzz|PicoBuzz]] by benevpi.\\ More sound with [[https://github.com/benevpi/pico_pio_buzz|PicoBuzz]] by benevpi.\\
 +
 +----
 +==== Power ====
 +
 +   VBUS – USB power, 5V
 +   VSYS – power in (2-5V)
 +   3V3 – power out 3.3V, 300mA
 +   3V3_EN – disable internal voltage regulator
 +   RUN – enable, disable or reset
  
 ---- ----
Line 76: Line 86:
 one can change the duty cycle, 0 to 65535 one can change the duty cycle, 0 to 65535
   pwm.duty_u16(duty)   pwm.duty_u16(duty)
 +
 +----
 +==== ADC ====
 +The Raspberry Pi Pico has four 12bit analog to digital converter:
 +  ADC_VREF    (voltage reference)
 +  GP28 - ADC2
 +  AGND        (analog ground)
 +  GP27 - ADC1
 +  GP27 - ADC0
 +The fourth ADC is internally wired to a temperature sensor.\\
 +[[https://pico-adc.markomo.me/|Characterizing the Raspberry Pi Pico ADC]] by Mark Omo.\\
  
 ---- ----