EasyManua.ls Logo

Keyestudio ESP32 - 4. Test Result; Project 5:Rainbow Ambient Light; 1. Description; 2. Working Principle

Keyestudio ESP32
344 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
ESP32 Starter Kit
4. Test Result
After uploading the code, green LED will light up for 5s, yellow LED will blink for 3 times, and red LED will be on
for 5s.
9.2.8 Project 5Rainbow Ambient Light
1. Description
2812RGB LED is a programable colorful dreamy light, whose color, brightness and rhythm are adjustable. This rain-
bow ambient light can be used as a dynamic decoration at will. Or you may control it to “dance with music”. Impor-
tantly, it can be improved as an alarm. Its built-in sensor detects the ambient surroundings to warn users by changing
its color, brightness and rhythm.
2. Working Principle
The data protocol adopts communication mode of single-line return-to-zero code. After the pixel is reset on power,
DIN terminal receives data from the controller. The firstly arriving 24bit data will be extracted by the first pixel and be
sent to the inner data register.
Remaining data will be amplified by an amplification circuit and be transmitted through DOUT port to the next cascaded
pixel. Being transmitted through pixels, the signal decreases 24bit each time.
Besides, The pixel adopts automatic shaping and forwarding technology, insomuch that the cascade number of the pixel
is only limited by the signal transmission speed.
9.2. Scratch Project 185

Table of Contents