Creative DIY Microcontroller Projects with TinyGo and WebAssembly: A practical guide to building embedded applications for low-powered devices, IoT, a
暫譯: 使用 TinyGo 和 WebAssembly 的創意 DIY 微控制器專案:低功耗設備、物聯網嵌入式應用程式的實用指南

Theel, Tobias

  • 出版商: Packt Publishing
  • 出版日期: 2021-05-14
  • 售價: $1,670
  • 貴賓價: 9.5$1,587
  • 語言: 英文
  • 頁數: 322
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1800560206
  • ISBN-13: 9781800560208
  • 相關分類: 嵌入式系統WebAssembly物聯網 IoT
  • 海外代購書籍(需單獨結帳)

商品描述

Explore embedded programming, and get hands-on with real-world embedded projects relating to IoT, low-powered devices, and other complex systems using TinyGo and WebAssembly


Key features:

  • Build creative embedded apps with TinyGo using low-powered devices and microcontrollers
  • Understand the practicality involved in integrating hardware and sensors while programming them using TinyGo
  • Use TinyGo in modern browsers to display embedded applications' statistics on WebAssembly dashboards


Book Description:

While often considered a fast and compact programming language, Go usually creates large executables that are difficult to run on low-memory or low-powered devices such as microcontrollers or IoT. TinyGo is a new compiler that allows developers to compile their programs for such low-powered devices. As TinyGo supports all the standard features of the Go programming language, you won't have to tweak the code to fit on the microcontroller.


This book is a hands-on guide packed full of interesting DIY projects that will show you how to build embedded applications. You will learn how to program sensors and work with microcontrollers such as Arduino UNO and Arduino Nano IoT 33. The chapters that follow will show you how to develop multiple real-world embedded projects using a variety of popular devices such as LEDs, 7-segment displays, and timers. Next, you will progress to build interactive prototypes such as a traffic lights system, touchless hand wash timer, and more. As you advance, you'll create an IoT prototype of a weather alert system and display those alerts on the TinyGo WASM dashboard. Finally, you will build a home automation project that displays stats on the TinyGo WASM dashboard.


By the end of this microcontroller book, you will be equipped with the skills you need to build real-world embedded projects using the power of TinyGo.


What You Will Learn:

  • Discover a variety of TinyGo features and capabilities while programming your embedded devices
  • Explore how to use display devices to present your data
  • Focus on how to make TinyGo interact with multiple sensors for sensing temperature, humidity, and pressure
  • Program hardware devices such as Arduino Uno and Arduino Nano IoT 33 using TinyGo
  • Understand how TinyGo works with GPIO, ADC, I2C, SPI, and MQTT network protocols
  • Build your first TinyGo IoT and home automation prototypes
  • Integrate TinyGo in modern browsers using WebAssembly


Who this book is for:

If you are a Go developer who wants to program low-powered devices and hardware such as Arduino UNO and Arduino Nano IoT 33, or if you are a Go developer who wants to extend your knowledge of using Go with WebAssembly while programming Go in the browser, then this book is for you. Go hobbyist programmers who are interested in learning more about TinyGo by working through the DIY projects covered in the book will also find this hands-on guide useful.

商品描述(中文翻譯)

探索嵌入式程式設計,並透過 TinyGo 和 WebAssembly 實作與物聯網、低功耗裝置及其他複雜系統相關的實際嵌入式專案

主要特色:


  • 使用 TinyGo 在低功耗裝置和微控制器上建立創意嵌入式應用程式

  • 了解在使用 TinyGo 程式設計時整合硬體和感測器的實用性

  • 在現代瀏覽器中使用 TinyGo 顯示嵌入式應用程式的統計數據於 WebAssembly 儀表板上

書籍描述:
雖然 Go 通常被視為一種快速且緊湊的程式語言,但它通常會產生大型可執行檔,這使得在低記憶體或低功耗裝置(如微控制器或物聯網)上執行變得困難。TinyGo 是一個新的編譯器,允許開發者為這些低功耗裝置編譯他們的程式。由於 TinyGo 支援 Go 程式語言的所有標準功能,您無需調整程式碼以適應微控制器。

這本書是一本實作指南,充滿有趣的 DIY 專案,將教您如何建立嵌入式應用程式。您將學習如何程式設計感測器並與微控制器(如 Arduino UNO 和 Arduino Nano IoT 33)合作。接下來的章節將展示如何使用各種流行裝置(如 LED、七段顯示器和計時器)開發多個實際的嵌入式專案。然後,您將進一步建立互動原型,例如交通燈系統、無接觸洗手計時器等。隨著進展,您將創建一個物聯網原型的氣象警報系統,並在 TinyGo WASM 儀表板上顯示這些警報。最後,您將建立一個家庭自動化專案,並在 TinyGo WASM 儀表板上顯示統計數據。

在這本微控制器書籍的結尾,您將具備使用 TinyGo 建立實際嵌入式專案所需的技能。

您將學到的內容:


  • 在程式設計嵌入式裝置時,發現各種 TinyGo 的功能和能力

  • 探索如何使用顯示裝置來呈現您的數據

  • 專注於如何使 TinyGo 與多個感測器互動,以感測溫度、濕度和壓力

  • 使用 TinyGo 程式設計硬體裝置,如 Arduino Uno 和 Arduino Nano IoT 33

  • 了解 TinyGo 如何與 GPIO、ADC、I2C、SPI 和 MQTT 網路協議協同工作

  • 建立您的第一個 TinyGo 物聯網和家庭自動化原型

  • 使用 WebAssembly 在現代瀏覽器中整合 TinyGo

本書適合誰:
如果您是希望程式設計低功耗裝置和硬體(如 Arduino UNO 和 Arduino Nano IoT 33)的 Go 開發者,或是希望在瀏覽器中使用 Go 與 WebAssembly 擴展知識的 Go 開發者,那麼這本書適合您。對於希望透過書中涵蓋的 DIY 專案學習更多 TinyGo 的 Go 愛好者程式設計師,這本實作指南也將非常有用。