Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
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

Creating a Bluetooth RGB LED light with sound

In the final project of this chapter, the Blockly code used in the previous activity will be used to operate an active piezo buzzer. When you send an ON text message using the Nordic Semiconductor nRF toolbox, the M5Stack Core will turn on the red LED bar, along with blaring an active piezo buzzer. Conversely, sending an OFF text message will turn off the red LED bar and the piezo buzzer. The jumper wire harness provided in Figure 7.26 will be modified by using two wires instead of three. The second standard connector-based jumper is not required for this project. One unique change to the digital output pin 26 is the attachment of a tactile pushbutton switch wired in series with the active piezo buzzer. Figure 7.30 shows an electrical wiring diagram of the tactile pushbutton switch-activated active piezo buzzer circuit:

Figure 7.30: M5Stack Core2 tactile pushbutton switch-activated active piezo buzzer circuit

Figure 7.30: M5Stack Core2 tactile pushbutton switch-activated active piezo buzzer circuit

...
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 $19.99/month. Cancel anytime