New book out: Programming Microcontrollers with Python #Book #CircuitPython @ArmstrongSubero @Apress

Apress has recently published a new book by Armstrong Subero: “Programming Microcontrollers with Python”

The book is available from Apress direct here in eBook (PDF/ePub) and paperback. Online booksellers like Amazon appear to be carrying it also including a Kindle version. It is in English.

The book uses CircuitPython examples throughout in teaching how microcontrollers may be programmed.

The landscape of embedded systems development is changing, microcontrollers are becoming more powerful, and the rise of the internet of things is leading more developers to get into hardware. This book provides the solid foundation to start your journey of embedded systems development and microcontroller programming with Python.

The theme of the book is simplicity and the cleanness and elegance of Python makes that possible. Featuring a step-by-step approach, this single source guide balances complexity and clarity with insightful explanations that you’ll easily grasp.

What You’ll Learn

  • Review microcontroller basics and the hardware and software requirements
  • Understand an embedded systems general architecture
  • Follow the steps needed to carry a product to market
  • Take a crash course in Python programming
  • Program a microcontroller
  • Interface with a microcontroller using LCD and CircuitPython
  • Use and control sensors

Who This Book Is For

Those getting started with microcontrollers, those new to C, C++, and Arduino programming, web developers looking to get into IoT, or Python programmers who wish to control hardware devices.

I bought the book and here are my impressions:

  • The book provides a good overview on what microcontrollers are and the power of newer 32-bit devices
  • There is information on electrical parts for beginners
  • A chapter on embedded systems useful for more advanced applications
  • An introduction to Python as a language
  • Basic microcontroller interface circuits
  • Using microcontroller features: Analog to Digital, serial, SPI, and I2C communications
  • Interfacing to displays
  • Controlling DC motors, and
  • Interfacing with sensors

The material is explained well and should be useful for beginners. All the examples are fairly basic, there are no tutorials on how to build larger projects.

The topic of programming hardware is really broad. Armstrong does well to narrow the scope to introductory topics. The book provides a good introduction and has reference circuits and code for basic interfaces. The intent is to provide a foundation from which to build from.

This book would not be as helpful for more experienced microcontroller programmers unless they are looking at moving from a different language to CircuitPython. The book should not be considered a broad reference to the capabilities of CircuitPython or the 300+ libraries available for interfacing with hardware and performing involved functions.

Overall, if you are fairly new to microcontrollers, Python, and interfacing parts to Microcontrollers and using code to provide input and output, this may be a great book for you.


Adafruit publishes a wide range of writing and video content, including interviews and reporting on the maker market and the wider technology world. Our standards page is intended as a guide to best practices that Adafruit uses, as well as an outline of the ethical standards Adafruit aspires to. While Adafruit is not an independent journalistic institution, Adafruit strives to be a fair, informative, and positive voice within the community – check it out here:

Join Adafruit on Mastodon

Adafruit is on Mastodon, join in!

Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.

Have an amazing project to share? The Electronics Show and Tell is every Wednesday at 7pm ET! To join, head over to YouTube and check out the show’s live chat – we’ll post the link there.

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Join over 36,000+ makers on Adafruit’s Discord channels and be part of the community!

CircuitPython – The easiest way to program microcontrollers –

Maker Business — “Packaging” chips in the US

Wearables — Enclosures help fight body humidity in costumes

Electronics — Transformers: More than meets the eye!

Python for Microcontrollers — Python on Microcontrollers Newsletter: Silicon Labs introduces CircuitPython support, and more! #CircuitPython #Python #micropython @ThePSF @Raspberry_Pi

Adafruit IoT Monthly — Guardian Robot, Weather-wise Umbrella Stand, and more!

Microsoft MakeCode — MakeCode Thank You!

EYE on NPI — Maxim’s Himalaya uSLIC Step-Down Power Module #EyeOnNPI @maximintegrated @digikey

New Products – Adafruit Industries – Makers, hackers, artists, designers and engineers! — #NewProds 7/19/23 Feat. Adafruit Matrix Portal S3 CircuitPython Powered Internet Display!

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at !

No Comments

No comments yet.

Sorry, the comment form is closed at this time.