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.
Table of Contents
Chapter 1: What Is the Internet of Things?
Chapter 2: Introducing MicroPython
Chapter 3: MicroPython Hardware
Chapter 4: How to Program in MicroPython
Chapter 5: MicroPython Libraries
Chapter 6: Low-Level Hardware Support
Chapter 7: Electronics for Beginners
Chapter 8: Project 1: Hello, World! MicroPython Style
Chapter 9: Project 2: Stoplight Simulator
Chapter 10: Project 3: Plant Monitoring
Chapter 11: Project 4: Using Weather Sensors
Chapter 12: Where to Go from Here