MicroPython for the Internet of Things: A Beginner’s Guide to Programming with Python on Microcontrollers

Cover
Apress, 24.11.2017 - 445 Seiten
Quickly learn to program for microcontrollers and IoT devices without a lot of study and expense. MicroPython and controllers that support it eliminate the need for programming in a C-like language, making the creation of IoT applications and devices easier and more accessible than ever.
MicroPython for the Internet of Things is ideal for readers new to electronics and the world of IoT. Specific examples are provided covering a range of supported devices, sensors, and MicroPython boards such as Pycom’s WiPy modules and MicroPython’s pyboard. Never has programming for microcontrollers been easier.
The book takes a practical and hands-on approach without a lot of detours into the depths of theory. The book:
  • Shows a faster and easier way to program microcontrollers and IoT devices
  • Teaches MicroPython, a variant of one of the most widely used scripting languages
  • Is friendly and accessible to those new to electronics, with fun example projects
What You'll Learn
  • Program in MicroPython
  • Understand sensors and basic electronics
  • Develop your own IoT projects
  • Build applications for popular boards such as WiPy and pyboard
  • Load MicroPython on the ESP8266 and similar boards
  • Interface with hardware breakout boards
  • Connect hardware to software through MicroPython
  • Explore the easy-to-use Adafruit IO connecting your microcontroller to the cloud
Who This Book Is For
Anyone interested in building IoT solutions without the heavy burden of programming in C++ or C. The book also appeals to those wanting an easier way to work with hardware than is provided by the Arduino and the Raspberry Pi platforms.
 

Inhalt

What Is the Internet of Things?
1
Introducing MicroPython
27
MicroPython Hardware
59
How to Program in MicroPython
125
MicroPython Libraries
173
LowLevel Hardware Support
205
Electronics for Beginners
239
Project 1 Hello World MicroPython Style
283
Project 2 Stoplight Simulator
315
Project 3 Plant Monitoring
345
Project 4 Using Weather Sensors
379
Where to Go from Here
415
Appendix
433
Index
438
Urheberrecht

Andere Ausgaben - Alle anzeigen

Häufige Begriffe und Wortgruppen

Autoren-Profil (2017)

Charles Bell conducts research in emerging technologies. He is a member of the Oracle MySQL Development team as a senior developer assisting in the development of MySQL high availability solutions. He lives in a small town in rural Virginia with his loving wife. Dr. Bell received his doctorate degree in engineering from Virginia Commonwealth University in 2005. His research interests include database systems, software engineering, sensor networks, and 3D printing. He spends his limited free time as a practicing Maker, focusing on microcontroller and 3D printers and printing projects.

Bibliografische Informationen