Raspberry Pico

Leabhar-stiùiridh airson Microcontroller Raspberry Pi Pico

Model: Pico (SC0915)

1. Toradh thallview

The Raspberry Pi Pico is a compact, high-performance microcontroller board developed by Raspberry Pi. It features the RP2040, a custom-designed microcontroller chip, offering a flexible platform for a wide range of embedded projects.

Am measg nam prìomh fheartan tha:

  • RP2040 Microcontroller: Designed by Raspberry Pi in the UK.
  • Pròiseasar: Dual-core Arm Cortex M0+ processor, configurable clock speed up to 133 MHz.
  • Cuimhne: 264KB of SRAM and 2MB of on-board Flash memory.
  • Ceangal: 26 multi-function General Purpose Input/Output (GPIO) pins.
  • Factor foirm: Castellated module design allows for direct soldering to carrier boards.
Top-sìos view of Raspberry Pi Pico board

Figear 1: Suas gu h-àrd view of the Raspberry Pi Pico microcontroller board, showing the RP2040 chip, USB port, BOOTSEL button, and GPIO pins.

2. Stiùireadh Stèidheachaidh

This section outlines the basic steps to prepare your Raspberry Pi Pico for use.

2.1. Required Components

  • Raspberry Pi Pico board (included)
  • Micro USB cable (not included)
  • Coimpiutaireachd le port USB
  • Optional: Breadboard, jumper wires, headers for prototyping.

2.2. Initial Firmware Installation

  1. Ceangail ris a’ choimpiutair: Brùth agus cùm an BOTSEL button on the Pico. While holding, connect the Pico to your computer using a Micro USB cable. Release the BOOTSEL button once connected.
  2. Access USB Mass Storage: Your computer should recognize the Pico as a mass storage device named "RPI-RP2".
  3. Drag and Drop Firmware: Download the desired firmware file (e.g., MicroPython UF2 file) from the official Raspberry Pi website. Drag and drop this UF2 file onto the "RPI-RP2" drive.
  4. Ath-thòiseachadh: The Pico will automatically reboot, and the "RPI-RP2" drive will disappear. The new firmware is now installed.
Cearcallach view of Raspberry Pi Pico connected via USB

Figear 2: Ceàrnach view of the Raspberry Pi Pico, illustrating its compact size and the Micro USB port for power and data transfer.

3. Stiùireadh Obrachaidh

Once firmware is installed, you can begin programming and interacting with your Raspberry Pi Pico.

3.1. Programming Environments

  • MicroPython: A lean and efficient implementation of the Python 3 programming language optimized for microcontrollers. Thonny IDE is a recommended tool for MicroPython development on Pico.
  • C/C++ SDK: For advanced users, Raspberry Pi provides a comprehensive C/C++ Software Development Kit (SDK) for direct programming.

3.2. GPIO Pin Usage

The Pico features 26 multi-function GPIO pins that can be configured for various purposes, including digital input/output, analog input, PWM, I2C, SPI, and UART communication.

Raspberry Pi Pico pinout diagram

Figure 3: Detailed pinout diagram for the Raspberry Pi Pico, illustrating the function of each of the 40 pins, including power, ground, and various GPIO capabilities.

Refer to the official Raspberry Pi Pico documentation for detailed pin assignments and programming examples for specific functionalities.

4. Cumail suas

Proper care ensures the longevity and reliable operation of your Raspberry Pi Pico.

  • Dìon Àrainneachdail: Keep the Pico in a dry environment, away from moisture, extreme temperatures, and direct sunlight.
  • Sgaoileadh electrostatach (ESD): Handle the board by its edges to minimize the risk of ESD damage. Consider using an anti-static mat and wrist strap when working with sensitive electronic components.
  • Glanadh: Ma tha feum air, glan am bòrd gu socair le bruis bhog, thioram no le èadhar teann. Seachain a bhith a’ cleachdadh lionntan no stuthan sgrìobach.
  • Dìon corporra: Consider using an enclosure for your projects to protect the Pico from physical damage and dust.

5. A ’dèanamh trioblaid

This section addresses common issues you might encounter with your Raspberry Pi Pico.

5.1. Cùisean agus Fuasglaidhean Cumanta

  • Pico not recognized as "RPI-RP2":
    • Ensure the BOOTSEL button is held down while connecting the USB cable.
    • Try a different Micro USB cable and USB port on your computer.
    • Verify the cable is a data cable, not just a charging cable.
  • Code not running:
    • Thoir sùil air a’ chòd agad airson mearachdan co-chàradh.
    • Ensure the correct firmware (e.g., MicroPython) is installed.
    • Verify that your programming environment (e.g., Thonny) is correctly configured to communicate with the Pico.
  • Co-phàirtean taobh a-muigh nach eil ag obair:
    • Dèan sgrùdadh dùbailte air a h-uile ceangal uèirleas.
    • Ensure external components are powered correctly and within the Pico's voltage crìochan.
    • Verify the GPIO pins are configured correctly in your code (input/output, pull-ups/downs).

For further assistance, consult the official Raspberry Pi Pico documentation and community forums.

6. Sònrachaidhean Teicnigeach

FeartMion-fhiosrachadh
Microcontroller ChipRP2040 (designed by Raspberry Pi)
PròiseasarDual-core Arm Cortex M0+ @ 133 MHz
SRAM264 KB
Cuimhne Flash2MB on-board QSPI Flash
Pionnaichean GPIO26 multi-function GPIO pins (23 digital-only, 3 ADC capable)
Toraidhean analog3 x 12-bit ADC
Eadar-aghaidh Conaltraidh2 x SPI, 2 x I2C, 2 x UART, 16 x PWM channels
USBMicro USB 1.1 device and host support
Solar cumhachd2V to 5V DC via Micro USB or VSYS pin
Teòthachd Obrachaidh-20 ° C gu +85 ° C
Meudan (LxWxH)1.97 x 0.79 x 0.39 òirleach (50 x 21 x 1 mm)
Cuideam0.01 unnsa (timcheall air 2g)
Bun view of Raspberry Pi Pico with pin labels

Figear 4: Bun view of the Raspberry Pi Pico, showing the castellated edges for surface mounting and additional pin labels.

7. Barantas agus Taic

The Raspberry Pi Pico is designed for educational and hobbyist use. Specific warranty details may vary depending on the retailer and region of purchase. Please refer to your point of purchase for warranty information.

For technical support and further resources, please visit the official Raspberry Pi website and community forums:

© 2025 Raspberry Pi. All rights reserved.