Buy new:
-14% EUR36.14EUR36.14
EUR 9.45 delivery Monday, February 23
Ships from: Amazon.com Sold by: Amazon.com
Save with Used - Good
EUR17.65EUR17.65
EUR 9.45 delivery Wednesday, February 25
Ships from: Amazon Sold by: TEXbooks Plus
Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Follow the author
OK
Programming with MicroPython: Embedded Programming with Microcontrollers and Python 1st Edition
Purchase options and add-ons
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
- ISBN-101491972734
- ISBN-13978-1491972731
- Edition1st
- PublisherO'Reilly Media
- Publication dateNovember 7, 2017
- LanguageEnglish
- Dimensions7 x 0.4 x 9.2 inches
- Print length210 pages
Frequently bought together

Similar items that may deliver to you quickly
MicroPython Cookbook: Over 110 practical recipes for programming embedded systems and microcontrollers with PythonMarwan AlsabbaghPaperbackEUR 10.27 shipping
Customers also bought or read
- Get started with MicroPython on Raspberry Pi Pico: The Official Raspberry Pi Pico Guide
PaperbackEUR14.14EUR14.14EUR 9.27 delivery Fri, Feb 20 - Programming ESP32: Learn MicroPython Coding and Electronics (MonkMakes Embedded Programming)
PaperbackEUR10.03EUR10.03EUR 9.14 delivery Mon, Feb 23 - Beginning MicroPython with the Raspberry Pi Pico: Build Electronics and IoT Projects (Maker Innovations Series)
PaperbackEUR31.41EUR31.41EUR 10.27 delivery Mon, Feb 23 - Python Crash Course, 3rd Edition: A Hands-On, Project-Based Introduction to Programming#1 Best SellerPython Programming
PaperbackEUR23.10EUR23.10EUR 10.27 delivery Thu, Feb 19 - Python for Microcontrollers: Getting Started with MicroPython
PaperbackEUR14.52EUR14.52EUR 9.45 delivery Mon, Feb 23 - The MicroPython Handbook for Beginners: Your Essential Guide to Programming Microcontrollers and Creating IoT Projects.
PaperbackEUR10.90EUR10.90EUR 9.16 delivery Mon, Feb 23 - Programming Arduino Next Steps: Going Further with Sketches, Second Edition
PaperbackEUR14.76EUR14.76EUR 9.62 delivery Mon, Feb 23 - MicroPython Cookbook: Over 110 practical recipes for programming embedded systems and microcontrollers with Python
PaperbackEUR34.33EUR34.33EUR 10.27 delivery Mon, Feb 23 - Object-Oriented Python: Master OOP by Building Games and GUIs
PaperbackEUR36.50EUR36.50EUR 10.97 delivery Thu, Feb 19 - MicroPython Projects: A do-it-yourself guide for embedded developers to build a range of applications using Python
PaperbackEUR37.76EUR37.76EUR 9.52 delivery Mon, Feb 23 - Programming the Pico: Learn Coding and Electronics with the Raspberry Pi Pico
PaperbackEUR10.06EUR10.06EUR 9.08 delivery Tue, Feb 24 - Beginning C for Arduino, Second Edition: Learn C Programming for the Arduino
PaperbackEUR24.78EUR24.78EUR 10.97 delivery Mon, Feb 23 - The Big Book of Small Python Projects: 81 Easy Practice Programs
PaperbackEUR35.02EUR35.02EUR 10.97 delivery Wed, Feb 25 - The Pragmatic Programmer: Your Journey To Mastery, 20th Anniversary Edition (2nd Edition)#1 Best SellerSoftware Design & Engineering
HardcoverEUR41.87EUR41.87EUR 10.97 delivery Thu, Feb 19 - AVR Programming: Learning to Write Software for Hardware (Make: Technology on Your Time)
PaperbackEUR20.97EUR20.97EUR 10.17 delivery Fri, Feb 20 - Build Your Own Robot: Using Python, CRICKIT, and Raspberry PI
PaperbackEUR36.45EUR36.45EUR 9.53 delivery Mon, Feb 23 - Python 3: The Comprehensive Guide to Hands-On Python Programming (Rheinwerk Computing)
PaperbackEUR33.34EUR33.34EUR 14 delivery Fri, Feb 20 - Bare-Metal Embedded C Programming: Develop high-performance embedded systems with C for Arm microcontrollers
PaperbackEUR28.19EUR28.19EUR 10.27 delivery Mon, Feb 23 - Making Embedded Systems: Design Patterns for Great Software#1 Best SellerComputer Hardware Embedded Systems
PaperbackEUR27.78EUR27.78EUR 10.16 delivery Mon, Feb 23 - C++ in Embedded Systems: A practical transition from C to modern C++
PaperbackEUR33.56EUR33.56EUR 10.71 delivery Mon, Feb 23 - Programming the Raspberry Pi, Third Edition: Getting Started with Python
PaperbackEUR9.21EUR9.21EUR 9.07 delivery Fri, Feb 20
From the brand
-
Your partner in learning
-
Bestsellers
-
Software Development
-
Programming Languages
-
AI / Machine Learning
-
Data Science
-
Data, Databases and more
-
Cloud Services
-
Business
-
Finance
-
Blockchain / Cryptocurrency
-
Security
-
Lean series
-
Cookbooks
-
Head First series
-
97 Things series
-
Sharing the knowledge of experts
O'Reilly's mission is to change the world by sharing the knowledge of innovators. For over 40 years, we've inspired companies and individuals to do new things (and do them better) by providing the skills and understanding that are necessary for success.
Our customers are hungry to build the innovations that propel the world forward. And we help them do just that.
From the Publisher
From the Preface
MicroPython is a re implementation of Python 3 for micro controllers and embedded systems. It’s also a staggering feat of engineering to have a reimplemention of Python that works under such constrained circumstances. Why is this important? MicroPython empowers people: it brings one of the most beautiful, easy-to-learn, and expressive programming languages to the world of embedded development.
This book is intended for anyone who wants to learn how MicroPython is used for embedded development. I expect you to already know Python, but I don’t expect you to be an expert. For example, much of the material found in this book works well in an educational context; so rather than being a professional programmer, you might be a teacher or autodidact.
I aim to give you the understanding, pointers, and ideas you need so you feel confident when working on your own projects.
Most importantly, I want this book to be both fun and inspiring. After reading it, I hope you have enough enthusiasm that you dive in, feet first, to making your own MicroPython-based doohickey, thingamabob, or enchanted object.
This book will provide an overview of the sorts of devices that run MicroPython, prompt you into thinking about how best to develop and execute embedded projects, examine how MicroPython uses and interacts with hardware in order to fulfil various common outcomes and behaviours, and explore idiomatic MicroPython development. It will close with suggestions for next steps.
As with any book, it contains compromises. Some may find it too technical, others not technical enough. Alternatively, some may feel I spend too much time on certain subjects and gloss over others. No matter the compromises I’ve had to make, my intention has been to write something that is easy to read and accessible while providing enough context and signposts to resources for further study. My ultimate aim is simple: to help bring more people to the remarkable technology that is MicroPython.
It’s important to note that MicroPython is a relatively young project. It’s an exciting time to get involved as a community evolves, tools and infrastructure are created, features are added, and bugs are fixed. Given the sharp uptake in conference talks, workshops, and community meetings, there is a lot of enthusiasm in various communities for MicroPython and its nascent potential. Python programmers are learning how to create projects with embedded devices, embedded developers are discovering how much fun it is to use Python, and educators all over the world see MicroPython as a compelling platform for teaching children how to code.
Furthermore, since MicroPython is a re implementation of regular Python, it retains Python’s state as a mature language with an international community of engaged and active programmers.
Editorial Reviews
About the Author
Product details
- Publisher : O'Reilly Media
- Publication date : November 7, 2017
- Edition : 1st
- Language : English
- Print length : 210 pages
- ISBN-10 : 1491972734
- ISBN-13 : 978-1491972731
- Item Weight : 2.31 pounds
- Reading age : 11 years and up
- Dimensions : 7 x 0.4 x 9.2 inches
- Best Sellers Rank: #1,556,837 in Books (See Top 100 in Books)
- #305 in Single Board Computers (Books)
- #419 in Robotics & Automation (Books)
- #1,247 in Python Programming
- Customer Reviews:
About the author

Discover more of the author’s books, see similar authors, read book recommendations and more.
Customer reviews
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on AmazonTop reviews from the United States
There was a problem filtering reviews. Please reload the page.
- Reviewed in the United States on April 27, 2018Format: PaperbackVerified PurchaseSimple and easy to go with, but few examples
- Reviewed in the United States on May 18, 2018Format: KindleJust started the book yesterday. Really enjoying it. Well-written. Thanks Nicholas.
- Reviewed in the United States on April 4, 2018Format: PaperbackAs the author states in the second paragraph of the Preface you *do* need to know Python (but not be an expert) before you will get much use from this book. If you know Python and you have some experience in embedded systems this book will explain all the details like using MicroPython to declare and configure digital and analog I/O pins, pin direction, pull-up and pull-down resistors, and using MicroPython to configure, read and write to sensors or other devices using I2C, SPI, etc.
I think it's probably accurate to say that this book focuses on the parts of Python that are specific to embedded systems and that won't be found anywhere else. It covers a lot of different areas using several different devices, unlike some other MicroPython books that use a MicroPython device from a single manufacturer in all the examples. I have several MicroPython books and this is probably my favorite.
I would have given it 5 stars but the price is just too high for a technical book that will very likely be outdated in a year or so.
- Reviewed in the United States on February 10, 2018Format: PaperbackThis isn't a book about HOW to program embedded systems in MicroPython, but ABOUT using MicroPython in embedded systems.
There is a big difference between the two.
If you already are adept at programming in Python you will find this an interesting take on how you can carry your existing skills over to micro-controllers and the domain of embedded programming. You will find the pages detailing development board options insightful, and appreciate the examples of using sensors and outputs. You will find the sections like "Abilities of Enchantment" and "The Zen of MicroPython" an interesting view on philosophical approaches to the language and embedded development.
If you can already write programs but are not familiar with the Python language, studying the examples will get you going but will provide minimal insight into the language's structure, features and usage. Key concepts like the language's syntax, variables, dictionaries and lists do not even get an entry in the book's index, and if they are mentioned it is only in passing. This was my situation, and I quickly decided to go to other material to learn the basics of the language.
It is stated explicitly in the footnote on the bottom of page IX, and I agree. To get value from this book you need to be familiar with Python's syntax, how do define and call a function and how to control program flow in your code. If you do not already know the Python language, or are new to the fundamentals of programming then you are going to find this book very challenging.
- Reviewed in the United States on April 20, 2021Format: PaperbackAnother “micropython” book that soends half of the book explaining how to install micropython on all the things. I’m so irritated once I got to the part in the book where the author went on a multi paragraph lecture on celebrating difference and diversity, excercising capacity for empathy, adapting to change, etc(NOT A JOKE) the title of the book is misleading and now I have to read his horrible attempt to work in all the cultural buzzwords into a PROGRAMMING book! If your expecting a well written programming book like I was from O’Reilly, your going to be seriously disappointed. Tip to the Author. No one is using the Microbit! It’s old and outdated. They decided to stand still while the microcontroller revolution blew by. For a fraction of the price you can buy a board with WiFi and Bluetooth and for some reason felt the need to focus on the microbit. So disappointed O’Reilly put their name on this. Hopefully they’ll get back on track after this blunder. One more thing, most programming books are 350-600+ pages and still gloss over a lot of information. This book is 180 something pages with ideological nonsense incorporated throughout. Take a hard pass on this one!
- Reviewed in the United States on January 31, 2021Format: PaperbackVerified PurchaseOverall I was disappointed in this book. I found it lacking in technical depth, with a great deal of text spent on exposition and detailing the virtues of microcontrollers and IoT. While a nod is given to a few other Micropython microcontrollers, the vast majority of the focus is on the micro:bit, with little assistance provided in porting code between devices. I would expect a book like this to cover what Micropython modules are available for each device, the functions available in those modules, and the differences between them.. none of that was included. The book spends very little time actually discussing Micropython, despite using it for every example. Very little attention is given to the ESP8266/ESP32, though a few examples are present for it. Some neat examples are presented for the micro:bit and Circuit Playground boards.
- Reviewed in the United States on November 27, 2023Format: PaperbackWe are in the last quarter of 2023 and this book is from 2017, around 6 years old. A lot has happened since 2017, there needs to be an updated, contemporary version of this book, especially at $42.
- Reviewed in the United States on December 5, 2023Format: PaperbackUsually O'Reilly books go into technical depth on software topics. I bought it hoping I would learn something about how Micropython works, how to build C library modules, how it is compiled, etc. What I got was a book for absolute beginners who need to be explained what a GPIO pin is. If you know anything at all, this book is a waste of time. I guess O'Reilly is not the mark of technical rigor that it used to be.
Top reviews from other countries
-
couilleaux g.Reviewed in France on July 25, 20195.0 out of 5 stars produit de qualité et conforme
Format: PaperbackVerified Purchaseproduit de qualité et conforme
ch.tejeshsriabhayReviewed in India on July 29, 20225.0 out of 5 stars Nice book but..
Nice book but you need to know python basics (you can learn at python official website in lear section)
ThierryReviewed in Canada on July 10, 20205.0 out of 5 stars Great read.
Format: PaperbackVerified PurchaseThumbs up. No issues with the quality of the product or the delivery.
Book in excellent condition and great introduction for whoever wants to dip their toe in the world of microprocessors.
DawnReviewed in the United Kingdom on November 25, 20175.0 out of 5 stars I can highly recommend this book
Format: PaperbackVerified PurchaseI can highly recommend this book. It is well written and accessible. I passed it around the trainees yesterday after having a read myself. They liked it too. It is really well written and teacher friendly. The technical detail is explained in an accessible manner, it Is extremely useful for teachers who are engaging with new technology.
One person found this helpfulReport-
Alberto V.Reviewed in Mexico on April 16, 20215.0 out of 5 stars Buen libro
Format: KindleVerified PurchaseDa una buena reseña de diversas plataformas que son programadas con MicroPython.












