Getting started with Raspberry Pi Pico

Recently raspberry has launched their own arm architecture based processor and launched a breakout board like Pico.
Pico board is filled with a feature which comes in 4$ only.

Board Specifications :

  1. RP2040 microcontroller chip designed by Raspberry Pi
  2. Dual-core Arm Cortex M0+ processor, flexible clock running up to 133 MHz.
  3. 264KB of SRAM, and 2MB of on-board Flash memory
  4. Castellated module allows soldering direct to carrier boards
  5. USB 1.1 with device and host support.
  6. Low-power sleep and dormant modes.
  7. Drag-and-drop programming using mass storage over USB
  8. 26 × multi-function GPIO pins
  9. 2 × SPI, 2 × I2C, 2 × UART, 3 × 12-bit ADC, 16 × controllable PWM channels
  10. Accurate clock and timer on-chip
  11. Temperature sensor
  12. Accelerated floating-point libraries on-chip
  13. 8 × Programmable I/O (PIO) state machines for custom peripheral support.

I observed that this board doesn’t have power indicator led for power indication.

Raspberry Pi Pico pin out diagram

We can use Pico board with microPython and C/C++. In this article we will see how to use micropython with Raspberry Pi Pico. We can use Pico board with Arduino as well.

More About MicroPython :

MicroPython is a full implementation of the Python 3 programming language that runs directly on embedded hardware like Raspberry Pi Pico. You get an interactive prompt (the REPL) to execute commands immediately via USB Serial, and a built-in filesystem. The Pico port of MicroPython includes modules for accessing low-level chip-specific hardware.

Follow following steps to use micropython on Raspberry Pi Pico.
1. First we have to download the microPython binary which is built for Pico board. Here is the link to download micropython binary. You can download it from Raspberry Pi’s official website.
2. Then hold the boot key and supply a power to board. This way are turning ON the board into boot mode.
3. Now you will be able to see board as mass storage device in the host machine.
4. just place the required binary in to the raspberry drive.
5. Pico will get restarted automatically.

MicroPython animation


Tutorial:


Leave a Reply

Your email address will not be published. Required fields are marked *