Moddable-OpenSource / iot-product-dev-book

Source code for example apps from IoT Development for ESP32 and ESP8266 with JavaScript.
https://www.moddable.com/book
57 stars 20 forks source link
esp32 esp8266 iot javascript nrf52

IoT Development for ESP32 and ESP8266 with JavaScript

A Practical Guide to XS and the Moddable SDK

by Peter Hoddie and Lizzie Prader

Book cover

About

This repository contains the source code for example apps from IoT Development for ESP32 and ESP8266 with JavaScript.

You can purchase the book from Keplers Books, Amazon, and Moddable.

Table of Contents

[1][2] These chapters contain short examples in the text, but not in this repository.

Links

Twitter

Moddable

Moddable Six Support!

Moddable Six is an advanced display powered by the ESP32-S3. It is fully compatible with the examples in our book. This powerful development board replaces Moddable Two. Moddable Six includes a built-in speaker, so you easily use the audio examples in Chapter 7. It also features a faster display, more responsive touch, more RAM, and larger flash storage.

Nordic nRF52 Support!

The Moddable SDK 4.0 has added support for the Nordic nRF52 microcontroller. The ultra-low power nRF52 with integrated BLE allows projects to run on a coin cell battery.

The Moddable SDK APIs are compatible across ESP32, ESP8266, and nRF52 microcontrollers. Therefore, the majority of the content of our book applies to nRF52 too. However, networking (Chapter 3) and audio (chapter 6) are not available on nRF52.

Moddable Four is an nRF52 development board with BLE, a display, jog dial, and accelerometer. It is a great place to explore nRF52 development in JavaScript.

Questions? We're here to help

If you have a question or comment about the examples or content in this book, we recommend you send us a message in our Gitter chatroom or open an issue in this repository. Also see the corrigendum for corrections to the text.

If you're having technical issues with the Moddable SDK—for example installing the SDK, building and flashing examples, or using the debugger—please open an issue in the Moddable SDK repository.