Wiznet makers

viktor

Published September 15, 2025 ©

103 UCC

20 WCC

44 VAR

0 Contests

0 Followers

0 Following

Original Link

Moddable SDK

The Moddable SDK is a combination of development tools and runtime software to create applications for microcontrollers.

COMPONENTS
PROJECT DESCRIPTION

We came across a compelling open-source project on GitHub: Moddable SDK by Moddable-OpenSource.

The Moddable SDK provides tools, runtimes, and libraries so that developers can build IoT applications using standard JavaScript on resource-constrained microcontrollers. 


What Moddable Offers

  • JavaScript Runtime (XS Engine): The core engine implements modern JavaScript (ECMAScript) features, tailored for small embedded devices. 
  • Networking & Protocols: Support for sockets, HTTP/HTTPS, WebSockets, MQTT, mDNS, DNS, SNTP, and more. 
  • Graphics & UI: Two built-in APIs — Commodetto (bitmap graphics) and Piu (UI framework) — that let you build GUIs on displays without requiring full frame buffers. 
  • Hardware Abstraction: APIs for GPIO, I2C, PWM, analog, and drivers for various sensors and peripherals.
  • Development Tools & Simulator: Command-line tools to compile, manage resources, simulate applications on a desktop, and debug via xsbug
  • Examples & Documentation: The repo includes 150+ example apps and a thorough “Getting Started” guide for various platforms. 

Recent Highlights & New Features

In the v5.9.0 release, the Moddable SDK added enhancements such as a new BLE client API, Web Bluetooth support, and improvements to the ESP32 Ethernet driver (including W5500 support)

The Ethernet support update is particularly relevant to WIZnet and similar platforms, bridging embedded JavaScript and wired networking.


Usage Outline

Here’s a high-level sketch of how one might use Moddable SDK in a real project:

  1. Set up the development environment, clone the Moddable repo, and build tools using mcconfig and associated scripts. 
  2. Select a target platform (ESP32, ESP8266, etc.), following device-specific instructions.
  3. Write application logic in JavaScript, using Moddable APIs for networking, UI, sensors, etc.
  4. Compile & deploy to the device (or simulate locally) and debug using xsbug
  5. Iterate & extend, possibly integrating new drivers or modules as needed.

Because the SDK is modular, it’s relatively straightforward to drop in your own hardware support modules or customize.


🔗 Project link: Moddable SDK on GitHub
👤 Created by: Moddable-OpenSource / Moddable Tech, Inc. 

⚠️ Disclaimer: This project is publicly available and created by the Moddable Open Source community. We are highlighting it here to inform and inspire makers. All credit belongs to the original authors, and we do not claim ownership or rights over this work.

Documents
Comments Write