Raspberry Pi Pico

Návod k obsluze mikrokontroléru Raspberry Pi Pico

Model: Pico (SC0915)

1. Konec produktuview

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.

Mezi klíčové vlastnosti patří:

  • RP2040 Microcontroller: Designed by Raspberry Pi in the UK.
  • Procesor: Dual-core Arm Cortex M0+ processor, configurable clock speed up to 133 MHz.
  • Paměť: 264KB of SRAM and 2MB of on-board Flash memory.
  • Konektivita: 26 multi-function General Purpose Input/Output (GPIO) pins.
  • Form Factor: Castellated module design allows for direct soldering to carrier boards.
Shora dolů view of Raspberry Pi Pico board

Obrázek 1: Shora dolů view of the Raspberry Pi Pico microcontroller board, showing the RP2040 chip, USB port, BOOTSEL button, and GPIO pins.

2. Pokyny k nastavení

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

2.1. Požadované komponenty

  • Raspberry Pi Pico board (included)
  • Micro USB cable (not included)
  • Počítač s USB portem
  • Optional: Breadboard, jumper wires, headers for prototyping.

2.2. Initial Firmware Installation

  1. Připojení k počítači: Stiskněte a podržte BOOTSEL 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. Přetažení firmwaru pomocí funkce „drag and drop“: Download the desired firmware file (e.g., MicroPython UF2 file) from the official Raspberry Pi website. Drag and drop this UF2 file na disk „RPI-RP2“.
  4. Restartovat: The Pico will automatically reboot, and the "RPI-RP2" drive will disappear. The new firmware is now installed.
Úhlové view of Raspberry Pi Pico connected via USB

Obrázek 2: Úhlové view of the Raspberry Pi Pico, illustrating its compact size and the Micro USB port for power and data transfer.

3. Návod k obsluze

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

3.1. Programming Environments

  • MikroPython: 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. Údržba

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

  • Ochrana životního prostředí: Keep the Pico in a dry environment, away from moisture, extreme temperatures, and direct sunlight.
  • Elektrostatický výboj (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.
  • Čištění: V případě potřeby desku jemně očistěte měkkým, suchým kartáčem nebo stlačeným vzduchem. Nepoužívejte kapaliny ani abrazivní materiály.
  • Fyzická ochrana: Consider using an enclosure for your projects to protect the Pico from physical damage and dust.

5. Řešení problémů

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

5.1. Běžné problémy a jejich řešení

  • 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:
    • Zkontrolujte kód, zda neobsahuje syntaktické chyby.
    • 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.
  • External components not working:
    • Znovu zkontrolujte všechna zapojení kabelů.
    • Ensure external components are powered correctly and within the Pico's voltage limity.
    • 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. Technické specifikace

FunkceDetail
Microcontroller ChipRP2040 (designed by Raspberry Pi)
ProcesorDual-core Arm Cortex M0+ @ 133 MHz
SRAM264 kB
Flash paměť2MB on-board QSPI Flash
Piny GPIO26 multi-function GPIO pins (23 digital-only, 3 ADC capable)
Analogové vstupy3 x 12bitový ADC
Komunikační rozhraní2 x SPI, 2 x I2C, 2 x UART, 16 x PWM channels
USBMicro USB 1.1 device and host support
Napájení2V to 5V DC via Micro USB or VSYS pin
Provozní teplota-20°C až +85°C
Rozměry (DxŠxV)1.97 x 0.79 x 0.39 palce (50 x 21 x 1 mm)
Hmotnost0.01 unce (přibližně 2 g)
Dno view of Raspberry Pi Pico with pin labels

Obrázek 4: Spodní část view of the Raspberry Pi Pico, showing the castellated edges for surface mounting and additional pin labels.

7. Záruka a podpora

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.