PicoRuby is the smallest Ruby implementation for one-chip microcontrollers.

Presentation

Products by PicoRuby

R2P2

Microcontroller programming framework.

Implementations

Porting for peripherals and networking

  Raspi Pico Raspi Pico W ESP32
picoruby-adc ✓ ✓ ✓
picoruby-ble   ✓  
picoruby-cyw43   ✓  
picoruby-env ✓ ✓ ✓
picoruby-gpio ✓ ✓ ✓
picoruby-i2c ✓ ✓ ✓
picoruby-io-console ✓ ✓ ✓
picoruby-irq ✓ ✓ ✓
picoruby-littlefs ✓ ✓ ✓
picoruby-machine ✓ ✓ ✓
picoruby-net-http   ✓ ✓
picoruby-net-mqtt   ✓ ✓
picoruby-net-ntp   ✓ ✓
picoruby-net-websocket   ✓ ✓
picoruby-pwm ✓ ✓ ✓
picoruby-rng ✓ ✓ ✓
picoruby-spi ✓ ✓ ✓
picoruby-uart ✓ ✓ ✓
picoruby-watchdog ✓ ✓  

PicoRuby.wasm

PicoRuby port to WebAssembly.

PRK Firmware (deprecated)

Firmware framework for DIY keyboards.

NOTE: As of 2026, PRK Firmware is no longer maintaind. Use Keyboard class in R2P2 instead. See https://github.com/picoruby/picoruby/tree/master/mrbgems/picoruby-keyboard

Tags: introduction