Firmware programming with mruby/c
summary
Shows a working mruby/c firmware stack running on a CYPRESS PSoC5LP microcontroller, deployed to an actual sake brewery in January 2018 to log temperature, humidity and CO2 and upload every five minutes over a 3G module. Uses mruby/c jobs (five tasks), UART sensors, and PSoC Creator for pin/flash setup. Debugging relies on print wraps because no step debugger exists. Firmware footprint reports 31,000 bytes used, 19,000 free. Source and build scripts live on GitHub.
AI-written summary · about
chapters (13)
- 0:00Introduction and welcome
- 1:47Today's agenda overview
- 2:56Terminology explained
- 9:37Microcontroller selection
- 11:50IoT project for brewery
- 19:28Demo and CO2 measurement
- 20:38Differences mruby vs mruby/c
- 24:10How mruby/c works
- 27:05Debugging mruby/c
- 31:08Source code walkthrough
- 34:25Communication timing control
- 35:52Development environment setup
- 38:09Future of mruby/c
related talks
33mmruby/c: Running on Less Than 64KB RAM Microcontroller
36mWrite once, run on every boards: portable mruby
29mmake mruby more portable: Why and How
40mEnhancing Embedded Development with Ruby
31mA Beginner's Complete Guide to Microcontroller Programming w..
25mKickboxer vs Ruby - the state of MRuby, JRuby..
27mA journey to MRuby on LEGO robots
34mEmbedding Ruby into your Daily Life
