MicroPython Cookbook

Alsabbagh, Marwan

  • 出版商: Packt Publishing
  • 出版日期: 2019-05-20
  • 售價: $1,380
  • 貴賓價: 9.5$1,311
  • 語言: 英文
  • 頁數: 452
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1838649956
  • ISBN-13: 9781838649951
  • 相關分類: Python程式語言
  • 立即出貨 (庫存=1)

買這商品的人也買了...

商品描述

MicroPython is an open source implementation of Python 3 that runs in embedded environments. With MicroPython, you can write clean and simple Python code to control hardware instead of using complex low-level languages such as C and C++. This book guides you through all the major applications of the MicroPython platform to build and program projects that use microcontrollers.

The MicroPython book covers recipes that will help you experiment with the programming environment and hardware programmed in MicroPython. You'll find tips and techniques for building a variety of objects and prototypes that can sense and respond to touch, sound, position, heat, and light. This book will take you through the uses of MicroPython with a variety of popular input devices and sensors. You'll learn techniques to handle time delays and sensor readings, and apply advanced coding techniques to create complex projects. As you advance, you'll deal with Internet of Things (IoT) devices and integration with other online web services. Furthermore, you'll also use MicroPython to make music with bananas and create portable multiplayer video games that incorporate sound and light animations into the gameplay.

By the end of the book, you'll have mastered the tips and tricks to troubleshoot your development problems and push your MicroPython project to the next level!

商品描述(中文翻譯)

《MicroPython 開發指南》是一本介紹在嵌入式環境中運行的 Python 3 的開源實現的書籍。使用 MicroPython,您可以使用簡潔而簡單的 Python 代碼來控制硬件,而不需要使用複雜的低階語言,如 C 和 C++。本書將引導您運用 MicroPython 平台來構建和編程使用微控制器的項目。

《MicroPython 開發指南》涵蓋了在 MicroPython 編程環境中實驗和使用硬件的各種技巧和技術。您將找到建立各種能夠感應和響應觸摸、聲音、位置、熱度和光線的物體和原型的提示和技巧。本書將帶您了解如何使用各種常見的輸入設備和傳感器進行 MicroPython 的應用。您將學習處理時間延遲和傳感器讀數的技巧,並應用高級編程技巧來創建複雜的項目。隨著進一步的學習,您將涉及物聯網(IoT)設備以及與其他在線網絡服務的集成。此外,您還將使用 MicroPython 來製作能夠使用香蕉演奏音樂的裝置,並創建將聲音和光線動畫融入遊戲中的便攜式多人遊戲。

通過閱讀本書,您將掌握解決開發問題的技巧和訣竅,並將您的 MicroPython 項目推向更高的水平!

作者簡介

Marwan Alsabbagh has been coding in some form or other since before the web existed and has continued to develop software, with a particular passion for Python, his preferred programming language, for over a decade. He has been a speaker at a number of global Python conferences, where he has been known to present microcontroller projects with a healthy dose of humor and stage theatrics. The snow globe intruder alert system, which he created with his creative and curious daughters, was one of his favorite MicroPython projects. His research interests include software engineering, microcontrollers, and 3D printing.

作者簡介(中文翻譯)

Marwan Alsabbagh自網路出現之前就開始進行編碼工作,並持續開發軟體,對於Python這個他偏好的程式語言,已經有超過十年的經驗。他曾在多個全球Python研討會上擔任講者,以幽默和舞台表演的方式呈現微控制器專案。他與他富有創意和好奇心的女兒們一起創造的雪花球入侵警報系統是他最喜歡的MicroPython專案之一。他的研究興趣包括軟體工程、微控制器和3D列印。