Book Image

M5Stack Electronic Blueprints

By : Don Wilcher
Book Image

M5Stack Electronic Blueprints

By: Don Wilcher

Overview of this book

As an embedded systems developer or an IoT developer, you can often face challenges in maintaining focus on prototyping a product concept while using a specific high-level programming language for implementation. To overcome these challenges, the M5Stack Core platform uses an ESP32 microcontroller and block code that allows you to focus on product creation and application instead of the high-level programming language. M5Stack Electronics Blueprints presents various design and prototyping approaches as well as UI layout and electronics interfacing techniques that will help you to become skilled in developing useful products effectively. This book takes you through a hands-on journey for a better understanding of the ESP32 microcontroller and the M5Stack Core's architecture. You’ll delve into M5Stack Core topics such as electronic units, light, sound, motion devices, interfacing circuits, SNAP circuit kits, Arduino applications, and building Bluetooth and Wi-Fi IoT devices. Further, you’ll explore various M5Stack core applications using a project-based learning method, including the fascinating 32-bit microcontroller device technology. By the end of this book, you’ll be able to design and build interactive, portable electronic controllers, IoT, and wearable devices using the M5Stack Core.
Table of Contents (14 chapters)
1
Part 1: M5Stack Electronics Hardware Architecture
5
Part 2: M5Stack Electronic Interfacing Circuit Projects
9
Part 3: M5Stack IoT Projects

Interacting with a motion sensor unit

The motion sensor unit detects an object or a human’s emitted heat energy using a passive pyroelectric IR detector. The device is passive based on no external power supply being needed to operate the detector. The pyroelectric crystal serves as the heat or IR detection element within the motion unit. When the pyroelectric crystal detects heat or IR, the surface of the crystal produces an electric charge. This electric charge is sent to an electronic switch that controls a visual signaling device, such as an LED. Figure 2.38 shows the M5Stack motion sensor unit:

Figure 2.38 – An M5Stack motion sensor unit

Figure 2.38 – An M5Stack motion sensor unit

Note

The change in a material’s surface charge in response to temperature variations is known as the pyroelectric effect.

When the motion sensor unit detects an IR source, the device’s output pin turns on. The output signal stays on for approximately 2 seconds. When the IR source is...