Cov txheej txheem:

Raspberry Pi Audio Spectrum Display: 4 Cov Kauj Ruam
Raspberry Pi Audio Spectrum Display: 4 Cov Kauj Ruam

Video: Raspberry Pi Audio Spectrum Display: 4 Cov Kauj Ruam

Video: Raspberry Pi Audio Spectrum Display: 4 Cov Kauj Ruam
Video: Alle Stilregeln, an die jeder Mann sich halten sollte 2024, Hlis ntuj nqeg
Anonim
Raspberry Pi Audio Spectrum Display
Raspberry Pi Audio Spectrum Display
Raspberry Pi Audio Spectrum Display
Raspberry Pi Audio Spectrum Display
Raspberry Pi Audio Spectrum Display
Raspberry Pi Audio Spectrum Display

Siv DFRobot 64x64 RGB matrix vaj huam sib luag nrog Raspberry Pi 3 B+ coj kev seev cev nrog koj txhua qhov chaw koj mus!

DFRobot tau hu rau kuv los ua txoj haujlwm txhawb nqa rau lawv 64x64 RGB LED matrix. Thaum xub thawj kuv tau sim siv nws nrog ESP32 Firebeetle, tab sis kuv tsis tuaj yeem nqa lub tsev qiv ntawv mus ua haujlwm. Yog li ntawd txhais tau tias siv Raspberry Pi 3 B+.

Txuas mus rau cov khoom:

Raspberry Pi 3 B+:

www.dfrobot.com/product-1703.html

64x64 RGB Matrix:

www.dfrobot.com/product-1644.html

ESP32 FireBeetle

www.dfrobot.com/product-1590.html

Kauj ruam 1: Yees duab

Image
Image

Nov yog daim vis dis aus qhia txog cov lej

Kauj ruam 2: Circuit Court

Circuit Court
Circuit Court
Circuit Court
Circuit Court
Circuit Court
Circuit Court

Adafruit tseem muaj phau ntawv qhia uas koj tuaj yeem ua raws ntawm no:

Ua tsaug Adafruit muaj qhov sib piv HAT rau Raspberry Pi uas ua haujlwm tag nrho ntawm 3.3v -> 5v logic qib kev hloov pauv.

Ob lub HAT thiab matrix muaj tib lub txuas, tab sis tus pin 8 (xaim dawb) tsis tau ntsaws rau hauv HAT. Vim tias HAT tsuas txhawb nqa txog 4 tus xov hlau tswj, tus pin 8, uas yog tus xov tooj 5 tswj, tau txuas nrog GPIO tus pin 24.

Nco ntsoov siv lub zog 5V uas tuaj yeem muab tau txog 7A.

Kauj ruam 3: Tsev qiv ntawv

Txog cov lej txuas ua haujlwm Kuv siv lub tsev qiv ntawv rpi-rgb-led-matrix los tswj cov LEDs. Nws yooj yim zoo nkauj rau nruab. Tsuas yog runcurl https://raw.githubusercontent.com/adafruit/Raspbe…> rgb-matrix.sh

sudo bash rgb-matrix.sh

Tom qab ntawd nias y mus txuas ntxiv thiab xaiv qhov kev xaiv 2 los xaiv Adafruit Matrix HAT.

Tom qab ntawd xaiv tus lej 2 kom tshem tus pin 18 kom lub suab tseem tuaj yeem tso tawm ntawm lub suab nkaus.

Txhawm rau sim nws mus rau hauv cov piv txwv-api-siv cov npe thiab khiav sudo./demo -D0 --led-rows = 64-led-cols = 64-hardware-mapping = adafruit-hat

Koj yuav tsum pom qhov demo khiav. Tsuas yog ntaus ctrl-c kom tawm nws.

Kauj ruam 4: Khiav Txoj Cai

Ua ntej cov cai tuaj yeem ua haujlwm koj yuav tsum ntxiv cov neeg siv hauv paus rau cov pab pawg suab nrog -sudo -su

ces

modgroup suab

tawm

Muab cov ntaub ntawv nab nab thiab test.wav tso rau hauv/home/pi/rgb-led-matrix/bindings/python/samples/

Yog tias qhov demo khiav zoo ces khiav cov cai nrog

sudo cd/tsev/pi/rgb-led-matrix/khi/sej/piv txwv/

sudo python spectrum_matrix.py

Koj yuav tsum hnov lub suab paj nruag ua si los ntawm lub tso suab thiab lub teeb pom kev zoo.

Pom zoo: