Talks
Speakers
Events
Topics
Sign in
Home
Talks
Speakers
Events
Topics
Leaderboard
Use
Analytics
Sign in
Suggest modification to this talk
Title
Description
PicoRuby is an alternative implementation of the mruby interpreter which runs on one-chip microcontrollers. PRK Firmware is the world's first keyboard firmware framework in Ruby. You can write not only your own "keymap" in PicoRuby but also configure additional behavior with Ruby's features such as the open class system and the Proc object. The ultimate goal is certainly not a small one --- let's make Ruby comparable to projects such as MicroPython, CircuitPython or Lua in terms of viability as a scripting language on Board!
Date
Summarized using AI?
If this talk's summary was generated by AI, please check this box. A "Summarized using AI" badge will be displayed in the summary tab to indicate that the summary was generated using AI.
Show "Summarized using AI" badge on summary page
Summary
Markdown supported
In this presentation titled "Picoruby and PRK Firmware" delivered at RubyConf 2021 by Hitoshi Hasumi, the speaker introduces two innovative projects: PicoRuby, an alternative implementation of the mruby interpreter, and PRK Firmware, a keyboard firmware framework utilizing PicoRuby. The overarching theme is the seamless integration of software and hardware for DIY keyboard enthusiasts and microcontroller applications. **Key Points Discussed:** - **Introduction to PRK Firmware:** - PRK Firmware allows users to write keymaps in Ruby, leveraging Ruby's features. - It serves as an alternative to existing firmware options like QMK (C-based) and KMK (CircuitPython-based). - **The Revolution in DIY Keyboards:** - The evolution of the internet has removed barriers in creating printed circuit boards and building keyboards. - Essential components include the aesthetic keycap, the mechanical switch, the layout, and the firmware that controls the keyboard behavior. - **Demonstration of PRK Firmware:** - Keymaps can be defined in pure Ruby, enabling a more approachable interface for keyboard programming. - Automatic recompilation of keymaps makes for easier adjustments without manual compilation. - **PicoRuby Overview:** - Designed to run on one-chip microcontrollers, specifically targeting the RP2040 chip from Raspberry Pi. - Helps bridge the gap between programming and hardware with a focus on low resource usage to support microcontroller limitations. - **Technical Benefits of PicoRuby:** - The PicoRuby compiler is significantly smaller than traditional MRB compilers, minimizing RAM consumption. - Demonstrated memory efficiency by compiling common scripts (like "Hello, World!") and keymaps. - **Support from Ruby Community:** - The Ruby Association provides grants to enhance Ruby language developments. - Mentorship from prominent Ruby figures has been instrumental in the project’s development. - **Conclusion:** - The integration of Ruby in hardware programming opens avenues for quickly developing IoT systems. - Highlights the importance of co-designing software and hardware in modern development approaches, showing that robust applications can be built efficiently on microcontrollers. - The talk underscores that Ruby programming can be as revolutionary in hardware as it has been with frameworks like Ruby on Rails in web development.
Suggest modifications
Cancel