
Programming with MicroPython
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
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
More details
Other editions
Additional editions

Content
- Intro
- Copyright
- Table of Contents
- Foreword
- Preface
- Conventions Used in This Book
- Using Code Examples
- O'Reilly Safari
- How to Contact Us
- Acknowledgments
- Chapter 1. What Is MicroPython?
- Why Micro?
- Why Python?
- MicroPython Genesis
- Dive In!
- Chapter 2. PyBoard
- The Hardware
- Developer Setup
- Chapter 3. BBC micro:bit
- The Hardware
- Developer Setup
- Chapter 4. Adafruit Circuit Playground Express
- The Hardware
- Developer Setup
- Chapter 5. ESP8266 / ESP32
- The Hardware
- Developer Setup
- ESP8266
- ESP32
- Chapter 6. Thinking Embedded
- Human Drives
- Abilities of Enchantment
- Steps on the Ladder of Enchantment
- Chapter 7. Visual Feedback
- Blinkenlights
- NeoPixels (Blinkenlights on Steroids)
- Text, Images, and Animation
- PyBoard Colour LCD Display
- Chapter 8. Input and Sensing
- Buttons and Capacitative Touch
- Accelerometers, Gestures, and Compasses
- Sound, Light, and Temperature
- Sensing with Peripherals
- Chapter 9. GPIO
- Pins
- UART
- SPI
- I2C
- Miscellaneous GPIO Techniques and Protocols
- Chapter 10. Networking
- Circuit Playground Express Infrared
- The micro:bit Radio
- ESP8266/32 WiFi
- MQTT
- Chapter 11. Sound and Music
- Bleeps and Bloops
- Music
- Speech
- Chapter 12. Robots
- Trundle Bot
- Racer Bot
- Chapter 13. Idiomatic MicroPython
- The Zen of MicroPython
- Memory
- Performance
- Chapter 14. Next Steps
- The Community
- Going Deeper
- Index
- About the Author
- Colophon
System requirements
File format: PDF
Copy-Protection: Adobe-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Install the free reader Adobe Digital Editions prior to download (see eBook Help).
- Tablet/smartphone (Android; iOS): Install the free app Adobe Digital Editions or the app PocketBook before downloading (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (only limited: Kindle).
The file format PDF always displays a book page identically on any hardware. This makes PDF suitable for complex layouts such as those used in textbooks and reference books (images, tables, columns, footnotes). Unfortunately, on the small screens of e-readers or smartphones, PDFs are rather annoying, requiring too much scrolling.
This eBook uses Adobe-DRM, a „hard” copy protection. If the necessary requirements are not met, unfortunately you will not be able to open the eBook. You will therefore need to prepare your reading hardware before downloading.
Please note: We strongly recommend that you authorise using your personal Adobe ID after installation of any reading software.
For more information, see our eBook Help page.