Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
M5Stack Electronic Blueprints

You're reading from   M5Stack Electronic Blueprints A practical approach for building interactive electronic controllers and IoT devices

Arrow left icon
Product type Paperback
Published in Feb 2023
Publisher Packt
ISBN-13 9781803230306
Length 288 pages
Edition 1st Edition
Tools
Arrow right icon
Toc

Table of Contents (14) Chapters Close

Preface 1. Part 1: M5Stack Electronics Hardware Architecture
2. Chapter 1: Exploring the M5Stack Core FREE CHAPTER 3. Chapter 2: Hands-On with M5Stack Units 4. Chapter 3: Lights, Sound, and Motion with M5Stack 5. Part 2: M5Stack Electronic Interfacing Circuit Projects
6. Chapter 4: It’s a SNAP! Snap Circuits and the M5Stack Core 7. Chapter 5: Solderless Breadboarding with the M5Stack 8. Chapter 6: M5Stack and Arduino 9. Part 3: M5Stack IoT Projects
10. Chapter 7: Working with M5Stack and Bluetooth 11. Chapter 8: Working with the M5Stack and Wi-Fi 12. Index 13. Other Books You May Enjoy

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...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime