MicroPython Projects: A do-it-yourself guide for embedded developers to build a range of applications using Python
內容描述
Explore MicroPython through a series of hands-on projects and learn to design and build your own embedded systems using the MicroPython Pyboard, ESP32, the STM32 IoT Discovery kit, and the OpenMV camera module.
Key Features
Delve into MicroPython Kernel and learn to make modifications that will enhance your embedded applications
Design and implement drivers to interact with a variety of sensors and devices
Build low-cost projects such as DIY automation and object detection with machine learning
Book Description
With the increasing complexity of embedded systems seen over the past few years, developers are looking for ways to manage them easily by solving problems without spending a lot of time on finding supported peripherals. MicroPython is an efficient and lean implementation of the Python 3 programming language, which is optimized to run on microcontrollers. MicroPython Projects will guide you in building and managing your embedded systems with ease.
This book is a comprehensive project-based guide that will help you build a wide range of projects and give you the confidence to design complex projects spanning new areas of technology such as electronic applications, automation devices, and IoT applications. While building seven engaging projects, you'll learn how to enable devices to communicate with each other, access and control devices over a TCP/IP socket, and store and retrieve data. The complexity will increase progressively as you work on different projects, covering areas such as driver design, sensor interfacing, and MicroPython kernel customization.
By the end of this MicroPython book, you'll be able to develop industry-standard embedded systems and keep up with the evolution of the Internet of Things.
What you will learn
Develop embedded systems using MicroPython
Build a custom debugging tool to visualize sensor data in real-time
Detect objects using machine learning and MicroPython
Discover how to minimize project costs and reduce development time
Get to grips with gesture operations and parsing gesture data
Learn how to customize and deploy the MicroPython kernel
Explore the techniques for scheduling application tasks and activities
Who this book is for
If you are an embedded developer or hobbyist looking to build interesting projects using MicroPython, this book is for you. A basic understanding of electronics and Python is required while some MicroPython experience will be helpful.
目錄大綱
Down the Rabbit Hole with MicroPython
Managing Real-Time Tasks
Writing a MicroPython Driver for an I/O Expander
Developing an Application Test Harness
Customizing the MicroPython Kernel Start Up Code
A Custom Debugging Tool to Visualize Sensor Data
Device Control Using Gestures
Automation and Control using Android
Building an Object Detection Application Using Machine Learning
The Future of MicroPython
Appendix A - Downloading and Running MicroPython Code
作者介紹
Jacob Beningo is an independent consultant who specializes in microcontroller-based embedded systems. He has advised, coached, and developed systems across multiple industries, including the automotive, defense, industrial, medical, and space sectors. Jacob enjoys working with companies to help them develop and improve their processes and skill sets. He publishes a monthly newsletter, Embedded Bytes, and blogs for publications about embedded system design techniques and challenges. Jacob holds bachelor's degrees in electrical engineering, physics, and mathematics from Central Michigan University and a master's degree in space systems engineering from the University of Michigan.