~/talk

A Beginner's Complete Guide to Microcontroller Programming w..

Talkat RubyConf TH 2023 · 2023-10-06..10-07· [embedded-and-hardware]
slides:none on file

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

  1. 0:00Microcontroller programming with Ruby
  2. 1:46Essential tools for setup
  3. 6:45Basic GPIO operations
  4. 11:51ADC and voltage measurement
  5. 15:47MRuby and RP2 shell features
  6. 23:10Serial communication protocols
  7. 25:21MRuby and PRK firmware
  8. 28:36Conclusion and PRuby future
  9. 29:21Ruik Kag 2024 in Okinawa
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.