Programming with MicroPython

Embedded Programming with Microcontrollers and Python

Book Description:

It’s an exciting time to get involved with MicroPython, the re-implementation of Python 3 for microcontrollers and embedded systems. This practical guide delivers the knowledge you need to roll up your sleeves and create exceptional embedded projects with this lean and efficient programming language. If you’re familiar with Python as a programmer, educator, or maker, you’re ready to learn—and have fun along the way.

Author Nicholas Tollervey takes you on a journey from first steps to advanced projects. You’ll explore the types of devices that run MicroPython, and examine how the language uses and interacts with hardware to process input, connect to the outside world, communicate wirelessly, make sounds and music, and drive robotics projects.

  • Work with MicroPython on four typical devices: PyBoard, the micro:bit, Adafruit’s Circuit Playground Express, and ESP8266/ESP32 boards
  • Explore a framework that helps you generate, evaluate, and evolve embedded projects that solve real problems
  • Dive into practical MicroPython examples: visual feedback, input and sensing, GPIO, networking, sound and music, and robotics
  • Learn how idiomatic MicroPython helps you express a lot with the minimum of resources
  • Take the next step by getting involved with the Python community