Book Image

MicroPython Projects

By : Jacob Beningo
Book Image

MicroPython Projects

By: Jacob Beningo

Overview of this book

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.
Table of Contents (14 chapters)
11
Downloading and Running MicroPython Code

Debugging and visualizing embedded systems

A picture is worth a thousand lines of code. As developers, we live in a world of 1s and 0s, registers, peripherals, and scripts that are all interacting with each other and the world around them. Understanding what our software is doing, or the sensors that are connected to it, can dramatically help us develop the system faster but also help us see what the system is doing and better understand how our software is executing.

If you do a search on Google for serial communication plotting, you'll find over a million pages that cover tools such as Mbed's Serial Port Plotter, MegunoLink, ArduinoPlot, and so on. Some of these tools are free, while some require a license that costs less than $50. However, you will find that despite so many options, there really isn't one tool that gives you the flexibility and scalability that...