Enter your search into one or more of the boxes below:
You can refine your search by selecting from any of the options below:
MicroPython Cookbook: Over 110 practical recipes for programming embedded systems and microcontrollers with Python
Foyalty 93

MicroPython Cookbook: Over 110 practical recipes for programming embedded systems and microcontrollers with Python (Paperback)

Usually despatched within 2 weeks.


Learn how you can control LEDs, make music, and read sensor data using popular microcontrollers such as Adafruit Circuit Playground, ESP8266, and the BBC micro:bit

Key Features

Load and execute your first program with MicroPython

Program an IoT device to retrieve weather data using a RESTful API

Get to grips with integrating hardware, programming, and networking concepts with MicroPython

Book DescriptionMicroPython 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 like 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'll 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 for handling time delays and sensor readings, and apply advanced coding techniques to create complex projects. As you advance, you'll get to 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 game play.

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

What you will learn

Execute code without any need for compiling or uploading using REPL (read-evaluate-print-loop)

Program and control LED matrix and NeoPixel drivers to display patterns and colors

Build projects that make use of light, temperature, and touch sensors

Configure devices to create Wi-Fi access points and use network modules to scan and connect to existing networks

Use Pulse Width Modulation to control DC motors and servos

Build an IoT device to display live weather data from the Internet at the touch of a button

Who this book is forIf 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.

Computing & ITComputer hardwareMainframes & minicomputersComputing & ITComputer hardwareStorage media & peripheralsComputing & ITComputer programming / software developmentProgramming & scripting languages: general Publisher: Packt Publishing Limited Publication Date: 21/05/2019 ISBN-13: 9781838649951  Details: Type: Paperback Format: Books
Availability: Usually despatched within 2 weeks. Add to Basket

Marwan Alsabbagh has been coding in some form or fashion 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.

More books by Marwan Alsabbagh

Leave Review


Delivery Options

All delivery times quoted are the average, and cannot be guaranteed. These should be added to the availability message time, to determine when the goods will arrive. During checkout we will give you a cumulative estimated date for delivery.

Location 1st Book Each additional book Average Delivery Time
UK Standard Delivery Free Free 3-5 Days
UK First Class £3.75 £0.00 1-2 Days
Delivery to a Foyles Bookshop Free Free From 2 hours
Click and Collect Free Free From 2 hours - Individual item delivery times given at checkout
UK Courier £7.95 £0.00 1 Working Day
Western Europe**Airmail £9.00 £1.00 7-8 Days
Rest of World Airmail £12.50 £1.00 7-10 Days

** Includes Austria, Belgium, Denmark, France, Germany, Greece, Iceland, Irish Republic, Italy, Luxembourg, Netherlands, Portugal, Spain, Sweden and Switzerland.

Click and Collect is available for all our shops; collection times will vary depending on availability of items. Individual despatch times for each item will be given at checkout.

Special delivery items

A Year of Books Subscription Packages 

Delivery is free for the UK. Western Europe costs £60 for each 12 month subscription package purchased. For the Rest of the World the cost is £100 for each package purchased. All delivery costs are charged in advance at time of purchase. For more information please visit the A Year of Books page.

Animator's Survival Kit

For delivery charges for the Animator's Survival Kit please click here.


Delivery Help & FAQs

Returns Information

If you are not completely satisfied with your purchase*, you may return it to us in its original condition with in 30 days of receiving your delivery or collection notification email for a refund. Except for damaged items or delivery issues the cost of return postage is borne by the buyer. Your statutory rights are not affected.

* For Exclusions and terms on damaged or delivery issues see Returns Help & FAQs

You might also like

Second Generation Mainframes: The IBM...
Stephen H. Kaisler
Internet of Things Projects with...
Agus Kurniawan
Hands-On Industrial Internet of...
Giacomo Veneri; Antonio Capasso
The EU General Data Protection...
Lukas Feiler
© W&G Foyle Ltd
Foyles uses cookies to help ensure your experience on our site is the best possible. Click here if you’d like to find out more about the types of cookies we use.
Accept and Close