Book

MicroPython Cookbook

MicroPython is an open source implementation of Python 3 language that runs on embedded environments. With MicroPython you can write clean and simple Python code to control hardware instead of having to use complex low-level languages such as C or C++. If you want to create devices that interact with physical world, this cookbook is perfect for you.

Offered byPackt Logo

Difficulty Level

Intermediate

Completion Time

15h4m

Language

English

About Book

Who Is This Book For?

If you want to build and program projects that use microcontrollers, this book will offer you dozens of recipes to guide you through all the major applications of the MicroPython platform. Although no knowledge of MicroPython or microcontrollers is expected, a general understanding of Python is necessary to get started with this book.

Book content

chapters 15h4m total length

Getting started with MicroPython

Controlling LEDs

Creating Sound and Music

Interacting with buttons

Reading sensor data

Button Bash Game

Fruity Tunes

Let's Move It, Move It

Coding on the micro:bit

Controlling the ESP8266

Interacting with the Filesystem

Networking

Interacting with the Adafruit FeatherWing OLED

Building an IoT Weather Machine

Coding on the Adafruit HalloWing

Related Resources

Access Ready-to-Use Books for Free!

Get instant access to a library of pre-built books—free trial, no credit card required. Start training your team in minutes!

No credit card required