- Age Range: 11 and up
- Paperback: 214 pages
- Publisher: O'Reilly Media; 1 edition (October 13, 2017)
- Language: English
- ISBN-10: 1491972734
- ISBN-13: 978-1491972731
- Product Dimensions: 7 x 0.4 x 9.2 inches
- Shipping Weight: 12.8 ounces (View shipping rates and policies)
- Average Customer Review: 4 customer reviews
- Amazon Best Sellers Rank: #187,815 in Books (See Top 100 in Books)
Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
To get the free app, enter your mobile phone number.
Programming with MicroPython: Embedded Programming with Microcontrollers and Python 1st Edition
Use the Amazon App to scan ISBNs and compare prices.
Frequently bought together
Customers who bought this item also bought
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.
About the Author
Nicholas is a classically trained musician, philosophy graduate, teacher, writer and software developer. He's just like this biography: concise, honest and full of useful information.
Try the Kindle edition and experience these great reading features:
Showing 1-4 of 4 reviews
There was a problem filtering reviews right now. Please try again later.
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.
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.