Open the door of embedded systems to IoT! mruby on LEGO Mindstorms (R)
Open the door of embedded systems to IoT (the Internet of things)!
mruby on LEGO Mindstorms EV3 ®
What's LEGO Mindstorms
◦Standard Programming Environment
◦Extended Programming Environment (ev3dev)
Can we use mruby in embedded systems?
◦Example of a light sensor for Mindstorms RCX
◦APIs for EV3s color sensor implemented with mruby
Demonstration of the "RUBY JINJA"
I'm from Matsumoto city, Nagano.
I work in a manufacturer of information- related equipment as a programmer.
A hierarchy of
a Japanese manufacturing industry
History of LEGO Mindstorms
Standard Firmware Architecture
Device driver (kernel module)
VM (Virtual Machine)
◦full Debian 7 (wheezy) Linux Distribution.
◦customized for the LEGO MINDSTORM EV3 controller.
◦Bootable from microSD/SDHC card
Available Programming Language
C / C++
What's mruby ?
mruby is the lightweight implementation of Ruby language complying to (part of) the ISO standard. Its syntax is Ruby 1.9 compatible.
mruby can be linked and embedded into your application.
Can we use "mruby" in embedded systems ?
•Can mruby meet the deadline ?
•A process of GC (Garbage Collection) deactivate other interrupts.
An example of a light sensor for1st gen. Mindstorms RCX
Circuit diagram of general light sensor