Book Description
This book is a streamlined introduction to the complex world of DC motors in Entity Event-Driven Embedded Systems.
Using MicroPython’s asyncio library and Microdot, makers, hobbyists, students and professionals can provide microservices and other data consumers / AI Agents in Event-Driven Architectures with important “real-time” information about the operating characteristics of DC motors controlled by Entity Event-Driven Embedded Systems using the Raspberry Pi Pico W or Pico 2W.
This practical and straightforward guide takes you from fading an LED with a potentiometer and Pulse Width Modulation (PWM) to full and half step sequencing of a stepper motor. It gets you started with using the Pico’s GPIO pins and PWM by way of some of the most common but low-cost DC motors available today.
Learn by Doing Hands-On Examples
As you work through the step-by-step examples, you will:
- Use PWM to simulate an analog output signal on your Pico
- Discover how to position an SG90 servo precisely with a PWM signal
- Learn how to drive a TT DC Gearbox Motor with an H-bridge and PWM
- Start full and half stepping a 28BYJ-48 stepper motor with a Darlington Array
- Implement concurrency on your Entity Event-Driven Embedded Pico Systems using MicroPython’s asyncio library and Microdot’s cooperative multitasking approach, improving responsiveness and efficient resource usage
Get Source Code Electronics Used Parts on Amazon
Who This Book Is For
The primary audience for this book are makers, hobbyists, students and professionals who want to learn more about Entity Event-Driven Embedded Systems using MicroPython’s asyncio library and Microdot.
It is assumed you know the basics of Python and have a host computer (a Raspberry Pi, Windows PC, or Apple mac), a Pico W or Pico 2W (these are available with the headers already soldered on), and some electronic components (such as a breadboard, LEDs, a button switch and Piezo buzzer).
About the Author
Byron Mattingly has been an embedded systems software engineer and hands-on technical manager for over 20 years in regulated development in the medical devices, pharmaceutical, and avionics industries. Currently his work is focused on designing and integrating complex IT systems and training and deploying AI/ML models interacting with embedded systems. An early adopter of the Raspberry Pi platform, he is an open source contributor and avid proponent of STEAM education.