Skip to Content
Programming with MicroPython
book

Programming with MicroPython

by Nicholas H. Tollervey
September 2017
Intermediate to advanced
214 pages
5h 27m
English
O'Reilly Media, Inc.
Content preview from Programming with MicroPython

Chapter 5. ESP8266 / ESP32

The Internet of Things is a buzzword for embedded devices connected to the internet. Such devices are attached to all sorts of everyday objects making it easy to control or sense the object’s state via the attached embedded device. It means computers are in everything around us. We are surrounded by computing devices that are uniquely identifiable and interconnected over the internet.

Such objects turn the world inside out.

In a sense, we no longer have objects that do stuff; we just have computers: computers that light things, toast bread, water plants, keep time, air-condition buildings, fly in the sky, roll along rails, and drive on roads.

Such embedded computers allow us to do three things:

Sense stuff

Collect and share data about their environment.

Control stuff

Affect changes in the environment or device.

Compute stuff

Work out what to do with data or signals such that they are autonomously useful.

As Bruce Schneier points out, you can think of the sensors as the eyes and ears of the internet, the controllers as the hands and feet, and the computing power as some sort of a brain. He explains:

This is the classic definition of a robot. We’re building a world-size robot, and we don’t even realize it.

Bruce Schneier, Schneier on Security Blog

At the centre of this world we find devices based upon microcontrollers like the ubiquitous ESP8266 and its replacement, the ESP32.

The ESP8266 microcontroller has WiFi and a full TCP/IP network stack built ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Hands-On Embedded Programming with C++17

Hands-On Embedded Programming with C++17

Maya Posch
MicroPython Cookbook

MicroPython Cookbook

Marwan Alsabbagh

Publisher Resources

ISBN: 9781491972724Errata Page