May 29, 2018 | Lizzie Prader, Software Engineer
The Moddable team recently exhibited and presented at Maker Faire Bay Area.
No Maker Faire booth is complete without demos or a hands-on activity. We brought demos focused on three things: scripts, screens, and apps for things.
When we share with developers that we focus on JavaScript for embedded, we get two distinct reactions. JavaScript developers are excited to hear that JavaScript is expanding into new territory and are even more excited that XS, our JavaScript engine, supports all of the major modern features of the language.
Embedded developers often ask us, "why JavaScript?" The short answer: we want embedded programmers to benefit from the same programming language and tools that have allowed the web to evolve rapidly so we can all enjoy more powerful, more open IoT devices. Once we show that JavaScript can deliver excellent performance well on low cost hardware, they become believers.
Adding a screen to an IoT device can make it easier to use and allow the product to offer more features. Right now it is difficult to find inexpensive displays and the right software to build modern user interfaces on them. We wrote a blog post about our efforts to make it easier to add displays to consumer electronics products, and created this webpage to provide more information about all of the screens supported by the Moddable SDK, including links to wiring guides and driver documentation.
We are working to open IoT products to apps. Our first step towards this goal is an experimental feature of the Moddable SDK that we call Mods.
Mods are small apps written in JavaScript that can be installed on devices to change their behavior. They don't replace the existing device firmware, but instead work together with it. Apps can be used to change the UI, swap out cloud services, or add brand-new functionality to a device.
To demonstrate the concept, we created a "Mod Store" web application (using Electron) and three device prototypes:
Note: Wi-Fi and Bluetooth are generally unreliable at trade shows, so we used USB to install Mods in this demo. We expect to provide wireless methods in the future.
This was our first public demonstration of Mods and we were very pleased with people's reactions. Many were surprised by the idea and found it appealing.
We are still experimenting with Mods, and support for them is not yet included in our GitHub repository. We will post an update when they are.
Audience members were impressed by how much can be done with JavaScript on inexpensive hardware. We had some great follow-up conversations with people interested in our vision, and we had a surge in orders of Moddable Zero following the presentation.
The presentation was live streamed on the Make: YouTube channel. You can watch the full talk here.
