iot-product-dev-book
iot-product-dev-book copied to clipboard
Source code for example apps from IoT Development for ESP32 and ESP8266 with JavaScript.
IoT Development for ESP32 and ESP8266 with JavaScript
A Practical Guide to XS and the Moddable SDK
by Peter Hoddie and Lizzie Prader
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
- Chapter 1 - Getting Started
- Chapter 2 - JavaScript for Embedded C and C++ Programmers[1]
- Chapter 3 - Networking
- Chapter 4 - Bluetooth Low Energy (BLE)
- Chapter 5 - Files and Data
- Chapter 6 - Hardware
- Chapter 7 - Audio
- Chapter 8 - Graphics Fundamentals[2]
- Chapter 9 - Drawing Graphics with Poco
- Chapter 10 - Building User Interfaces with Piu
- Chapter 11 - Adding Native Code
[1][2] These chapters contain short examples in the text, but not in this repository.<BR>
Links
- Peter Hoddie - @phoddie
- Lizzie Prader - @lizzieprader
- Moddable - @moddabletech
Moddable
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.