Cov txheej txheem:

ARDUINO LED LIGHT MUSIC REACTIVE: 4 Kauj Ruam
ARDUINO LED LIGHT MUSIC REACTIVE: 4 Kauj Ruam

Video: ARDUINO LED LIGHT MUSIC REACTIVE: 4 Kauj Ruam

Video: ARDUINO LED LIGHT MUSIC REACTIVE: 4 Kauj Ruam
Video: How To Make DIY Music Reactive RGB LED Strip (WS2812B) 2024, Hlis ntuj nqeg
Anonim
Image
Image

Nyob zoo, yog tias koj nyiam coj teeb nrog suab paj nruag qhov no yog cov lus qhia zoo rau koj.

Yooj yim heev

Kauj Ruam 1: Khoom

Circuit thiab Program
Circuit thiab Program

Coj Sawb -

Creadboard -

Jumpers -

Arduino Nano -

Microphone Sensor -

Transistor BC 547/557 -

9V Cov Khoom Siv Hluav Taws Xob -

Kauj ruam 2: Circuit thiab Program

Circuit thiab Program
Circuit thiab Program

Kauj Ruam 3: Microphone Sensor

Microphone Sensor
Microphone Sensor

Nov yog tus qauv pheej yig, tsis yog qhov zoo tshaj plaws tab sis ua haujlwm tau zoo.

A0: Tus pin analog

VCC: 3-24V (Kuv siv 5V, txaus thiab ruaj ntseg)

GND: Hauv av

D0: Cov Zis Digital

Analog Output los ntawm 0 txog 1023

Ob lub leds ntawm lub nkoj, lub zog thiab lub sensor.

Led Sensor: Thaum lub microphone ntes lub suab no lub teeb ci.

Kauj Ruam 4: Arduino Nano

Arduino Nano Cov
Arduino Nano Cov

Arduino Nano nws yog lub rooj tsavxwm me me thiab muaj zog.

0 txog 12V (pom zoo qhov hluav taws xob)

Pawg phooj ywg, yooj yim siv.

Arduino yog lub rooj tsavxwm zoo tshaj los ua txoj haujlwm yooj yim no los ntawm koj tus kheej.

Nws tuaj yeem lis lub load ntawm LED sawb tab sis kuv pom zoo siv ib txwm transistor vim tias koj tuaj yeem hlawv lub rooj tsavxwm.

Pom zoo: