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
Last revision Both sides next revision
raspberrypipico:raspberrypipico [2021/03/12 13:21]
admin [Programmable I/O]
raspberrypipico:raspberrypipico [2021/05/28 09:51]
admin [WS2812]
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 15: Line 16:
 [[https://datasheets.raspberrypi.org/pico/raspberry-pi-pico-python-sdk.pdf|Raspberry Pi Pico Python SDK]]\\ [[https://datasheets.raspberrypi.org/pico/raspberry-pi-pico-python-sdk.pdf|Raspberry Pi Pico Python SDK]]\\
  
-Plug in the RP Pico with pressed BOOTESL button + 
-Download Micro Python for the RP Pico: +Plug in the RP Pico with pressed BOOTESL button.\\ 
-  wget "https://www.raspberrypi.org/documentation/rp2040/getting-started/static/f70cc2e37832cde5a107f6f2af06b4bc/rp2-pico-20210205-unstable-v1.14-8-g1f800cac3.uf2"+Download the [[https://micropython.org/download/rp2-pico/|Pico Firmware]]:\\ 
 +  wget "https://micropython.org/resources/firmware/rp2-pico-20210510-unstable-v1.15-89-gd0de16266.uf2"
 Copy it to the RP Pico Copy it to the RP Pico
  
Line 68: Line 70:
  
 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 87:
 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.\\
  
 ---- ----
Line 109: Line 131:
  
 ---- ----
-==== WS2812 ====+==== Links & Projects ====
  
 +
 +**WS2812**\\
 [[https://makersportal.com/blog/ws2812-ring-light-with-raspberry-pi-pico]]\\ [[https://makersportal.com/blog/ws2812-ring-light-with-raspberry-pi-pico]]\\
 +
 +**Usb Micro**\\
 +[[https://www.hackster.io/sandeep-mistry/create-a-usb-microphone-with-the-raspberry-pi-pico-cc9bd5]]\\
  
 ---- ----