MicroPython for the Internet of Things: A Beginner’s Guide to Programming with Python on MicrocontrollersQuickly 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:
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. |
Contents
| 1 | |
Introducing MicroPython | 26 |
MicroPython Hardware | 59 |
How to Program in MicroPython | 125 |
MicroPython Libraries | 172 |
LowLevel Hardware Support | 205 |
Electronics for Beginners | 239 |
Project 1 Hello World MicroPython Style | 283 |
Other editions - View all
MicroPython for the Internet of Things: A Beginner’s Guide to Programming ... Charles Bell No preview available - 2017 |
Common terms and phrases
Adafruit Arduino battery BBC micro:bit binary block Bluetooth boot.py breadboard breakout board button callback called chapter Charles Bell client code module completed code components connect connector create dashboard device display driver electronics elif execute Expansion Board feed Figure firmware following shows function GPIO hardware headers hexadecimal install integer interface Internet of Things IOT projects IOT solutions JSON jumper wires Listing look loop main.py micro micro SD microcontroller MicroPython board MQTT multimeter Notice OnStar output password Plant Monitor plug Pyboard Pycom Python REPL console resistor Roman numerals sample script SD card server Setup shows an example simple soil moisture solder Sparkfun stoplight string switch temperature tuple variable voltage WiFi WiPy write the code


