A Beginner's Complete Guide to Microcontroller Programming w..
summary
Walks through getting Ruby onto a microcontroller using a Raspberry Pi Pico: put the RP2P2.uf2 on the board via boot-button drag‑and‑drop, open the USB serial port and use an IRB‑like shell. Shows GPIO blink example and a thermal ADC sample reading ~893/4095 (~20°C) but warns ADC 12‑bit 0–4095 noisy; demos I2C RTC with battery and a PRK keyboard firmware that runs. Explains toolchain and limits: Raspberry Pi Pico (RP2040, 264KB RAM, 2MB flash), runtime size comparison pRuby ~10KB VM vs mruby ~1.6MB, some missing Ruby features and bugs.
AI-written summary · about
chapters (9)
- 0:00Microcontroller programming with Ruby
- 1:46Essential tools for setup
- 6:45Basic GPIO operations
- 11:51ADC and voltage measurement
- 15:47MRuby and RP2 shell features
- 23:10Serial communication protocols
- 25:21MRuby and PRK firmware
- 28:36Conclusion and PRuby future
- 29:21Ruik Kag 2024 in Okinawa
related talks
21mChips don't bite! An introduction to µController programming for Rusteaceans
26mUsing MicroBlocks and Raspberry Pi Pico to introduce primary students to programming
38mHow to Hack Any Micro-controller with a Raspberry Pi Pico…
29mIntegration of PRK Firmware and R2P2
30mPicoRuby as a Multi-VM Operating System
33mDIY projects with Ruby & Pi
34mUsing Python to enter the world of Microcontrollers
36mWrite once, run on every boards: portable mruby
