Introduction to Electronics - Arduino Board Manager
Phyduino Pico board, top view

Arduino IDE support for the student-workshop boards. The package is a standalone Arduino core built directly on the Raspberry Pi pico-sdk, so a sketch can use the Arduino API (digitalWrite, analogRead, Serial, SPI, Wire) and the pico-sdk (#include "hardware/pwm.h") side by side. Upload copies the program to the board's USB drive, so no driver is needed.

Arduino core pico-sdk 2.2.0 RP2040 Windows · Linux · macOS v0.1.0-rc.2

Install in the Arduino IDE

  1. 1 Open File → Preferences and add this line to Additional boards manager URLs:
    https://github.com/perc-sw/phyduino_bsp/releases/download/v0.1.0-rc.2/package_phyduino_index.json
  2. 2 Open Tools → Board → Boards Manager, search for Phyduino and click Install.
  3. 3 Select Tools → Board → Phyduino Boards → Phyduino Pico.
  4. 4 Upload a sketch. If the board does not respond (first upload, or a sketch that crashed), slide SW1 to GND (BOOTSEL), press reset (SW2), upload, then slide SW1 back to 3.3 V.

Supported boards

Phyduino Pico RP2040 · Uno-style header · v0.1.0 Pin map and notes
Phyduino Pico2 RP2350B · planned for v0.2.0

Documentation

API reference Arduino functions on Phyduino boards, Serial ports, pin map, SPI, Wire, USB-PD (Doxygen) Open
Examples Library example sketches with their source, also under File → Examples Open

Included libraries

Phyduino Examples for the analog functions (millivolts, averaging, differential, several pins, bursts), USB-PD power (UsbPdPower), the second core (MulticoreBasics, MulticoreFifo) FreeRTOS (FreeRtosTasks, FreeRtosQueue) and CMSIS-RTOS2 (CmsisRtos2Threads) API
SPI SPI controller on D10–D13 · example: SpiLoopback API
Wire I2C controller and peripheral on SDA / SCL · examples: I2CScanner, PeripheralReceiver API

Course Repositories