by Peter Hoddie and Lizzie Prader
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.
- 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.
- Peter Hoddie - @phoddie
- Lizzie Prader - @lizzieprader
- Moddable - @moddabletech
Moddable
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.
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.
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.