{"id":19237174,"url":"https://github.com/moddable-opensource/iot-product-dev-book","last_synced_at":"2025-09-25T08:31:42.739Z","repository":{"id":41963752,"uuid":"234405325","full_name":"Moddable-OpenSource/iot-product-dev-book","owner":"Moddable-OpenSource","description":"Source code for example apps from IoT Development for ESP32 and ESP8266 with JavaScript.","archived":false,"fork":false,"pushed_at":"2024-07-19T21:11:23.000Z","size":1497,"stargazers_count":59,"open_issues_count":2,"forks_count":20,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-01-09T07:05:09.522Z","etag":null,"topics":["esp32","esp8266","iot","javascript","nrf52"],"latest_commit_sha":null,"homepage":"https://www.moddable.com/book","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Moddable-OpenSource.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-01-16T20:26:31.000Z","updated_at":"2025-01-07T01:36:02.000Z","dependencies_parsed_at":"2024-06-29T01:26:47.268Z","dependency_job_id":"ed35e3fc-ecf9-432f-beea-a82fb7b08436","html_url":"https://github.com/Moddable-OpenSource/iot-product-dev-book","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Moddable-OpenSource%2Fiot-product-dev-book","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Moddable-OpenSource%2Fiot-product-dev-book/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Moddable-OpenSource%2Fiot-product-dev-book/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Moddable-OpenSource%2Fiot-product-dev-book/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Moddable-OpenSource","download_url":"https://codeload.github.com/Moddable-OpenSource/iot-product-dev-book/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234170676,"owners_count":18790524,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["esp32","esp8266","iot","javascript","nrf52"],"created_at":"2024-11-09T16:25:10.445Z","updated_at":"2025-09-25T08:31:42.147Z","avatar_url":"https://github.com/Moddable-OpenSource.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IoT Development for ESP32 and ESP8266 with JavaScript\n### A Practical Guide to XS and the Moddable SDK\n\nby Peter Hoddie and Lizzie Prader\n\n![Book cover](./images/cover.jpg)\n\n## About\n\nThis repository contains the source code for example apps from *IoT Development for ESP32 and ESP8266 with JavaScript*.\n\nYou can purchase the book from [Keplers Books](https://www.keplers.com/book/9781484250693), [Amazon](https://www.amazon.com/IoT-Development-ESP8266-ESP32-JavaScript/dp/1484250699/ref=sr_1_2), and [Moddable](https://www.moddable.com/book#purchase).\n\n## Table of Contents\n\n* Chapter 1 - [Getting Started](./ch1-gettingstarted)\n* Chapter 2 - JavaScript for Embedded C and C++ Programmers\u003csup\u003e[[1](#footnotes)]\u003c/sup\u003e\n* Chapter 3 - [Networking](./ch3-network)\n* Chapter 4 - [Bluetooth Low Energy (BLE)](./ch4-ble)\n* Chapter 5 - [Files and Data](./ch5-files)\n* Chapter 6 - [Hardware](./ch6-hardware)\n* Chapter 7 - [Audio](./ch7-audio)\n* Chapter 8 - Graphics Fundamentals\u003csup\u003e[[2](#footnotes)]\u003c/sup\u003e \n* Chapter 9 - [Drawing Graphics with Poco](./ch9-poco)\n* Chapter 10 - [Building User Interfaces with Piu](./ch10-piu)\n* Chapter 11 - [Adding Native Code](./ch11-native)\n\n\u003ca id=\"footnotes\"\u003e\u003c/a\u003e\n\u003e \u003csup\u003e[1][2]\u003c/sup\u003e *These chapters contain short examples in the text, but not in this repository.*\u003cBR\u003e\n\n## Links\n\n**Twitter**\n\n* Peter Hoddie - [@phoddie](https://twitter.com/phoddie) \n* Lizzie Prader - [@lizzieprader](https://twitter.com/lizzieprader) \n* Moddable - [@moddabletech](https://twitter.com/moddabletech)\n\n**Moddable**\n\n* [Moddable website](https://www.moddable.com)\n* [Moddable SDK](https://github.com/Moddable-OpenSource/moddable/)\n\n\u003ca id=\"moddablesix\"\u003e\u003c/a\u003e\n## Moddable Six Support!\n[Moddable Six](https://www.moddable.com/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.\n\n\u003ca id=\"nrf52\"\u003e\u003c/a\u003e\n## Nordic nRF52 Support!\n\nThe 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.\n\nThe 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.\n\n[Moddable Four](https://www.moddable.com/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.\n\n## Questions? We're here to help\n\nIf 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](https://gitter.im/embedded-javascript/moddable) or [open an issue](https://github.com/Moddable-OpenSource/iot-product-dev-book/issues) in this repository. Also see the [corrigendum](./corrigendum.md) for corrections to the text.\n\nIf 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](https://github.com/Moddable-OpenSource/moddable/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoddable-opensource%2Fiot-product-dev-book","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoddable-opensource%2Fiot-product-dev-book","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoddable-opensource%2Fiot-product-dev-book/lists"}