MicroPython is a tiny open-source Python programming language interpreter that runs on microcontroller, originally written by Damien George (http://micropython.org/). With MicroPython you can write clean and simple Python code to control hardware instead of having to use complex low-level languages like C or C++ (what Arduino uses for programming). Its great for beginners!
The simplicity of the Python programming language makes MicroPython an excellent choice for beginners who are new to programming and hardware. However MicroPython is also quite full-featured and supports all of Python’s syntax (Python version 3.4) and implements a small subset of the Python standard library so even seasoned Python veterans will find MicroPython familiar and fun to use.
Program your own MicroPython projects with ease—no prior programming experience necessary! This DIY guide provides a practical introduction to microcontroller programming with MicroPython. Written by an experienced electronics hobbyist, it features eight start-to-finish projects with clear, easy-to-follow instructions for each. You will learn how to use sensors, store data, control motors and other devices, and work with expansion boards. From there, you’ll discover how to design, build, and program all kinds of entertaining and practical projects of your own.
Learn MicroPython and object-oriented programming basics
Interface with a PC and load files, programs, and modules
Work with LEDs, timers, and converters
Control external devices using serial interfaces and PWM
Build and program a let ball detector using three-axis accelerometer
Install and program LCD and touch-sensor expansion boards
Record and play sounds using the AMP audio board
Donald Norris has a degree in electrical engineering and an MBA specializing in production management. He is currently teaching undergrad and grad courses in the IT subject area at Southern New Hampshire University, where he has also created and taught several robotics courses. He has over 36 years of teaching experience as an adjunct professor at a variety of colleges and universities. He’s spent over 22 years as a professional software developer using C, C#, C++, Python, Node.js, and Java, as well as 5 years as a certified IT security consultant. Mr. Norris started a consultancy, Norris Embedded Software Solutions, that specializes in developing application solutions using microprocessors and microcontrollers.
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 code.org, 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.