IoT Development for ESP32 and ESP8266 with JavaScript: A Practical Guide to XS and the Moddable SDK

0
(0)

IoT Development for ESP32 and ESP8266 with JavaScript: A Practical Guide to XS and the Moddable SDK
 

  • Author:Lizzie PraderPeter Hoddie
  • Length: 639 pages
  • Edition: 1
  • Publisher: Apress
  • Publication Date: 2020-07-12
  • ISBN-10: 1484250699
  • ISBN-13: 9781484250693
  • Sales Rank: #4028084 (See Top 100 Books)
  • Download:Register/Login to Download
  • Buy Print:Buy from amazon


    Book Description

    This book introduces a new approach to embedded development, grounded in modern, industry-standard JavaScript. Using the same language that powers web browsers and Node.js, the Moddable SDK empowers IoT developers to apply many of the same tools and techniques used to build sophisticated websites and mobile apps.

    The Moddable SDK enables you to unlock the full potential of inexpensive microcontrollers like the ESP32 and ESP8266. Coding for these microcontrollers in C or C++ with the ESP-IDF and Arduino SDKs works for building basic products but doesn’t scale to handle the increasingly complex IoT products that customers expect. The Moddable SDK adds the lightweight XS JavaScript engine to those traditional environments, accelerating development with JavaScript while keeping the performance benefits of a native SDK.

    Building user interfaces and communicating over the network are two areas where JavaScript really shines. IoT Development for ESP32 and ESP8266 with JavaScript shows you how to build responsive touch screen user interfaces using the Piu framework. You’ll learn how easy it is to securely send and receive JSON data over Wi-Fi with elegant JavaScript APIs for common IoT protocols, including HTTP/HTTPS, WebSocket, MQTT, and mDNS. You’ll also learn how to integrate common sensors and actuators, Bluetooth Low Energy (BLE), file systems, and more into your projects, and you’ll see firsthand how JavaScript makes it easier to combine these diverse technologies.

    If you’re an embedded C or C++ developer who has never worked in JavaScript, don’t worry. This book includes an introduction to the JavaScript language just for embedded developers experienced with C or C++.

    What You’ll Learn

    • Building, installing, and debugging JavaScript projects on the ESP32 and ESP8266
    • Using modern JavaScript for all aspects of embedded development with the Moddable SDK
    • Developing IoT products with animated user interfaces, touch input, networking, BLE, sensors, actuators, and more

    Who This Book Is For

    • Professional embedded developers who want the speed, flexibility, and power of web development in their embedded software work
    • Makers who want a faster, easier way to build their hobby projects
    • Web developers working in JavaScript who want to extend their skills to hardware products

    中文:

    书名:使用JavaScript为ESP32和ESP8266开发物联网:XS和可修改SDK实用指南

    这本书介绍了一种新的嵌入式开发方法,它基于现代的、行业标准的JavaScript。使用支持Web浏览器和Node.js的相同语言,可调制SDK使物联网开发人员能够应用许多相同的工具和技术,用于构建复杂的网站和移动应用程序。

    可调SDK使您能够充分发挥ESP32和ESP8266等廉价微控制器的潜力。使用ESP-IDF和Arduino SDK用C或C++编写这些微控制器的代码可以用来构建基本产品,但不能扩展到处理客户期望的日益复杂的物联网产品。可调SDK将轻量级XS JavaScript引擎添加到这些传统环境中,在保持原生SDK的性能优势的同时,加快了使用JavaScript的开发速度。

    构建用户界面和通过网络进行通信是JavaScript真正闪亮的两个领域。基于Java的ESP32和ESP8266物联网开发它向您展示了如何使用PIU框架构建响应式触摸屏用户界面。您将了解到,使用针对常见物联网协议(包括HTTP/HTTPS、WebSocket、MQTT和mDNS)的优雅的Java API,通过Wi-Fi安全地发送和接收JSON数据是多么容易。您还将学习如何将常见的传感器和执行器、蓝牙低能耗(BLE)、文件系统等集成到您的项目中,您还将亲眼目睹JavaScript如何使这些不同的技术更容易地结合在一起。

    如果您是一名从未使用过Java的嵌入式C或C++开发人员,请不要担心。这本书只为有C或C++经验的嵌入式开发人员介绍了JavaScript语言。

    你会学到什么?

    • 在ESP32和ESP8266上构建、安装和调试JavaScript项目
    • 通过可修改的SDK,在嵌入式开发的各个方面使用现代的JavaScript
    • 开发具有动画用户界面、触摸输入、联网、BLE、传感器、执行器等功能的物联网产品

    这本书是为谁写的

    • 想要在嵌入式软件工作中获得Web开发的速度、灵活性和强大功能的专业嵌入式开发人员
    • Makers who want a faster, easier way to build their hobby projects
    • 希望将自己的技能扩展到硬件产品的使用JavaScript的Web开发人员
  • 下载电子版:下载地址
  • 购买纸质版:亚马逊商城

    点击星号评分!

    平均分 0 / 5. 投票数: 0

    还没有投票!请为他投一票。

  • 评论 抢沙发

    评论前必须登录!

     

    登录

    找回密码

    注册