Talks
Speakers
Events
Topics
Sign in
Home
Talks
Speakers
Events
Topics
Leaderboard
Use
Analytics
Sign in
Suggest modification to this talk
Title
Description
RubyConf 2019 - mruby/c: Running on Less Than 64KB RAM Microcontroller by HASUMI Hitoshi I will show you an actual IoT product which uses one-chip-microcontroller-based hardwares for a Japanese Sake Brewery. Brewing Sake requires workers to take temperature of the ingredients very frequently. mruby/c is a small implementation of Ruby and runs on microcontroller which has less than 64KB RAM. You will see a new Ruby World. #confreaks #rubyconf2019
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 the talk titled "mruby/c: Running on Less Than 64KB RAM Microcontroller" presented by HASUMI Hitoshi at RubyConf 2019, the speaker explores the capabilities of mruby/c, a lightweight implementation of Ruby designed for microcontrollers with less than 64KB of RAM. ### Key Points Discussed: - **Introduction to mruby/c**: The speaker defines mruby/c as a compact Ruby implementation suited for embedded systems, emphasizing its efficiency in handling tasks that traditional Ruby implementations cannot due to memory constraints. - **Microcontroller Benefits**: Various advantages of using microcontrollers in applications, particularly in production environments, are presented. Key points include: - Immediate startup on power supply. - Reduced security vulnerabilities due to lack of operating systems. - Low energy consumption, suitable for battery or solar power. - **Case Study – IoT for Sake Brewing**: Hitoshi showcases an IoT system he developed for Asahi Shuzo sake brewery to monitor temperature and CO2 levels during sake brewing. This system features: - Use of Cypress PSoC 5 LP microcontroller for real-time tracking of brewing conditions. - A mobile app interface displaying critical environmental data. - **Technical Details of mruby/c**: The talk covers the structure and operation of mruby/c, explaining its lack of certain dynamic features found in standard Ruby implementations, while still being practical for microcontroller applications. - **Development Tools**: Hitoshi introduces several tools he has developed for enhancing the mruby/c programming experience: - UBC Utils for application setup. - MRuby Test for unit testing. - mruby/c Debugger for monitoring execution. - **Demonstration and Real-time Data**: A demonstration involving the measurement of CO2 levels is provided, emphasizing the importance of maintaining safe atmospheric conditions during the brewing process. ### Conclusion and Takeaways: Hitoshi concludes the presentation by reiterating the practicality and versatility of mruby/c for embedded programming. He encourages developers to explore the unique opportunities that mruby/c offers, especially in environments constrained by hardware limitations. The entire talk is infused with a personal touch, reflecting Hitoshi's passion for both brewing sake and developing innovative technology solutions using Ruby. The audience is motivated to learn more about both Ruby and embedded system programming, particularly within the context of IoT applications.
Suggest modifications
Cancel