Buy new:-10%JPY7,039 DeliveryMonday, December 15 Ships from: Amazon.com Sold by: Amazon.com
Save with Used - GoodJPY4,626 DeliveryTuesday, December 16 Ships from: Amazon Sold by: TEXbooks Plus
Sorry, there was a problem.
There was an error retrieving your Wish Lists. Please try again.Sorry, there was a problem.
List unavailable.
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
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

What do customers buy after viewing this item?
Most purchased | Highest rated
in this set of productsLowest Price
in this set of products- Get started with MicroPython on Raspberry Pi Pico: The Official Raspberry Pi Pico GuideGareth HalfacreePaperbackJPY 1,643 shipping
Customers also bought or read
- Get started with MicroPython on Raspberry Pi Pico: The Official Raspberry Pi Pico GuidePaperbackJPY3,121DeliveryMon, Dec 15
- Beginning MicroPython with the Raspberry Pi Pico: Build Electronics and IoT Projects (Maker Innovations Series)PaperbackJPY5,844DeliveryMon, Dec 15
- Python Crash Course, 3rd Edition: A Hands-On, Project-Based Introduction to Programming#1 Best SellerIntroductory & Beginning ProgrammingPaperbackJPY4,298DeliveryMon, Dec 15
- MicroPython Cookbook: Over 110 practical recipes for programming embedded systems and microcontrollers with PythonPaperbackJPY6,388DeliveryMon, Dec 15
- AVR Programming: Learning to Write Software for Hardware (Make: Technology on Your Time)PaperbackJPY3,902DeliveryMon, Dec 15
- Programming Arduino Next Steps: Going Further with Sketches, Second EditionPaperbackJPY2,661DeliveryMon, Dec 15
- MicroPython for the Internet of Things: A Beginner’s Guide to Programming with Python on MicrocontrollersPaperbackJPY8,586DeliveryMon, Dec 15
- Get Started with MicroPython on Raspberry Pi Pico: The Official Raspberry Pi Pico GuidePaperbackJPY3,719DeliveryTue, Jan 6
- Why Machines Learn: The Elegant Math Behind Modern AI#1 Best SellerDiscrete MathematicsHardcoverJPY3,141DeliveryMon, Dec 15
- TinyML Cookbook: Combine machine learning with microcontrollers to solve real-world problemsPaperbackJPY5,151DeliveryMon, Dec 15
From the brand


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.
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
Cookbooks
Head First series
97 Things series
Lean series
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,755,292 in Books (See Top 100 in Books)
- #46 inElectronic Sensors
- #371 inSingle Board Computers (Books)
- #1,509 inPython 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, 2019
5.0 out of 5 starsproduit de qualité et conforme
Format: PaperbackVerified Purchaseproduit de qualité et conforme - ch.tejeshsriabhayReviewed in India on July 29, 2022
5.0 out of 5 starsNice 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, 2020
5.0 out of 5 starsGreat 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, 2017
5.0 out of 5 starsI 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, 2021
5.0 out of 5 starsBuen libro
Format: KindleVerified PurchaseDa una buena reseña de diversas plataformas que son programadas con MicroPython.
























































































