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

Coding an M5Stack Core RGB LED flasher

The M5Stack Core has internal RGB LEDs that can be commanded by the ESP32 microcontroller. The RGB LEDs are of the SK6812 programmable family variant. The SK6812 is a smart control circuit that operates an LED. The smart control circuit and light-emitting circuit are packaged inside one programmable LED source. You can refer to Figure 3.2 for viewing the physical package, mechanical dimensions, and electronic symbol of the SK6812 RGB component. Another added feature of the SK6812 LED is the ability to emit a natural white light. Therefore, the SK6812 is an RGBW light-emitting component.

Note

Obtaining the natural white color requires a technique in color mixing of the RGB emitters. The following website provides information on obtaining white and various colors: https://txwes.libguides.com/c.php?g=978475&p=7075536.

The M5Stack Core uses two SK6812 LED bars. The SK6812 LED bar is located on each side of the M5Stack Core. Figure 3.26...

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