Moddable Four is powered by the energy-efficient nRF52 microcontroller operating at 64 MHz with integrated BLE, 1 MB of flash memory, and 256 KB of RAM. Its high-contrast reflective 1.28" Sharp Memory display consumes negligible power. Create interactive projects using BLE and the built-in jog-wheel, back button, and accelerometer.
Moddable Four is so energy efficient that it runs for a year on a single coin cell battery. But it is also fast. Interactions with the built-in jog wheel are immediately visible on the smoothly animating display.
The nRF52 port of the Moddable SDK is ready for commercial consumer and industrial IoT projects. In fact, before being publicly launched it has already been shipping in Brinno's TLC300 time-lapse camera used to record progress at construction sites around the world. Operating on batteries, the Moddable SDK powers the full-color, animated user-interface of the TLC300 reliably and energy efficiently for up to 100 days.
The TLC300 is implemented in industry standard modern JavaScript. All IO is performed using standard ECMA-419 JavaScript APIs, including serial to communicate with the camera subsystem and high-speed SPI for the live camera preview. Using the localization capabilities of the Piu user interface framework, the TLC300 operates out-of-the-box in English, French, German, Spanish, Italian, Japanese, Traditional Chinese, and Simplified Chinese.
The expansion header on Moddable Four has twelve programmable pins that allow you to communicate with a variety of peripherals using digital, analog input, PWM, I²C, SMBus, and SPI. There are also 3.3V and ground pins to power your peripherals.
For convenience, there's also a built-in LED and programmable push button.
The latest release of our XS JavaScript engine puts in place fundamental new capabilities to advance Moddable’s mission of safely opening IoT products to third party software. These new capabilities are implementations of proposals on track for standardization in Ecma TC39, the JavaScript language committee.
Continue reading...
We’ve recently enabled the JavaScript eval function on embedded devices using the XS JavaScript engine. Our long-held position is unchanged: it is almost always a bad idea to compile JavaScript on an embedded device. The reasons that eval are used on the web, for example, do not typically apply to embedded development.
Continue reading...
JavaScript applications for embedded systems frequently work with memory buffers to perform a wide variety of tasks. Scripts gain tremendous power by being able to operate directly on the native data of the classes they use.
Continue reading...
The hardware specific Developers Guides are part of the extensive documention available on the Moddable GitHub site.
The fonts displayed on the screen of an IoT product are a key part of its brand, establishing the overall feel of the product. All of Moddable’s commercial clients use the custom font support in the Moddable SDK to brand their products.
Continue reading...
Everyone involved in delivering software for resource-constrained hardware knows that performance is a key challenge. Low-cost hardware has just enough performance to make a great product possible, but only if the software is careful not to overwhelm the hardware. It is easy to notice that a product is performing slowly. What's difficult is figuring out why it is slow.
Continue reading...
Everyone involved in delivering software for resource-constrained hardware knows that performance is a key challenge. Low-cost hardware has just enough performance to make a great product possible, but only if the software is careful not to overwhelm the hardware. It is easy t o notice that a product is performing slowly. What's difficult is figuring out why it is slow.
Continue reading...
If you are new to Embedded JavaScript, our book is a great place to start. Originally written for ESP32, the majority of the text and example code also applies to the nRF52 in Moddable Four.
Continue reading...
Delivering a modern user experience on low-cost embedded hardware has been a key focus of the Moddable SDK from the start. The Moddable SDK is regularly updated with new rendering capabilities to expand the kinds of user experiences that can be created.
Continue reading...
Moddable is the only embedded engine provider on the JavaScript language committee. We joined to ensure JavaScript remains a great language for use in embedded. Here's our original presentation to the committee.
Continue reading...
Moddable Four is the new ultra-low power development board for Embedded JavaScript developers from Moddable. Moddable Four pairs the ultra-low power Nordic nRF52 microcontroller with integrated BLE and an ultra-low power Sharp memory display in a compact module that can operate for up to a year, with the display on, using a coin cell battery.
Continue reading...
Moddable believes JavaScript is the best language for building IoT products. We’ve heard from many developers that they agree with us, but that it is important to them to be able to use TypeScript.
Continue reading...
Comparing and copying JavaScript objects are fundamental operations that are remarkably complex to implement correctly and efficiently. Because these operations are not built into the JavaScript language, various solutions have arisen to make life easier for developers. Web browsers provide the structuredClone function to make a deep copy of an object.
Continue reading...