Cov txheej txheem:

Ua Lub Suab Nkauj Reactive RBG Light Box/ #smartcreativity: 9 Kauj Ruam
Ua Lub Suab Nkauj Reactive RBG Light Box/ #smartcreativity: 9 Kauj Ruam

Video: Ua Lub Suab Nkauj Reactive RBG Light Box/ #smartcreativity: 9 Kauj Ruam

Video: Ua Lub Suab Nkauj Reactive RBG Light Box/ #smartcreativity: 9 Kauj Ruam
Video: Ib lo lus Remix Dj - Super zab _ Mob lub siab ua luaj no - Nkauj tshiab 2023 2024, Kaum ib hlis
Anonim
Image
Image

Nyob zoo cov phooj ywg, hnub no kuv yuav qhia koj yuav ua li cas thiaj tsim Music Music Reactive LED teeb lub thawv. Yog li txaus siab rau qhov project DIY txias thiab muaj tswv yim no.

Yog li, Kuv vam tias koj cov neeg yuav nyiam qhov no.. Txhua cov ntaub ntawv, tus lej thiab cov lus qhia qhia hauv phau ntawv qhia no. Yog li, cia peb pib….. Saib cov vis dis aus hauv qab no txhawm rau ua txoj haujlwm no yooj yim uas kuv tau piav qhia txhua tus txheej txheem lossis koj tseem tuaj yeem nyeem tag nrho cov lus qhia ntawm no.

Saib cov vis dis aus hauv qab no kom ua txoj haujlwm no yooj yim uas kuv tau piav qhia txhua tus txheej txheem lossis koj tseem tuaj yeem nyeem tag nrho cov lus qhia ntawm no.-> Xav paub ntau ntxiv -https://smartcreativityofficial.blogspot.com

Saib video puv npo ntawm no - Nyem qhov no

-> Yuav ua li cas -To ua qhov haujlwm no ua ntej peb yuav tsum npaj cov khoom uas yuav tsum tau ua uas tau muab hauv qab no lossis hauv qhov kev qhia no. 1. Circuit Court playground express (micro-controller)

2. Ib daim ntawv tuab tuab

3. Ob lub teeb LED tuag

4. USB cable

Tom qab npaj cov khoom no peb yuav tsum ua qhov no.

Yog li, cia saib ib qib zuj zus….

Kauj Ruam 1: Tuag LED Teeb

Tuag LED Teeb
Tuag LED Teeb

Coj ob lub teeb LED tuag. Peb xav tau ob lub teeb LED sab saum toj npog. Yog li peb yuav tshem qhov npog npog los ntawm LED.

Kauj Ruam 2: Ntawv Tsim

Ntawv Tsim
Ntawv Tsim

Tam sim no peb yuav txiav ib daim ntawv me me los ntawm cov ntawv tuab tuab. Txiav ib lub voj voog nyob rau hauv daim ntawv square raws li qhia hauv qab duab. Yog li ntawm ua ib daim ntawv ntxiv.

Kauj Ruam 3: Tsim Lub Cev Lub Cev Lub Teeb

Tsim ntawm Lub Cev Lub Teeb Box
Tsim ntawm Lub Cev Lub Teeb Box
Tsim ntawm Lub Cev Lub Teeb Box
Tsim ntawm Lub Cev Lub Teeb Box
Tsim ntawm Lub Cev Lub Teeb Box
Tsim ntawm Lub Cev Lub Teeb Box

Tom qab ntawd peb yuav npaj cov npog npog rau hauv lub qhov ntawm daim ntawv no raws li qhia hauv daim duab hauv qab no.

Mount lub teeb npog rau nws kom nruj

Kauj Ruam 4: Circuit Chaw Ua Si Microcontroller

Circuit Court Chaw Ua Si Microcontroller
Circuit Court Chaw Ua Si Microcontroller
Circuit Court Chaw Ua Si Microcontroller
Circuit Court Chaw Ua Si Microcontroller
Circuit Court Chaw Ua Si Microcontroller
Circuit Court Chaw Ua Si Microcontroller

Tom qab ua qhov no coj 2 lub rooj sib tw Chaw Ua Si thiab txuas cov kab hluav taws xob hauv ob qho los ntawm ib qho.

-> Txog chaw ua si hauv Circuit-

Nws yog hom tshiab ntawm microcontroller uas peb siv. Cov microcontroller no yog rau adafruit. Hauv lub microcontroller no muaj 10 ntau xim coj, ntsuas kub, ntsuas lub teeb, ntsuas lub suab thiab ntau yam sib txawv twb tau ua tiav lawm. Thiab los ua cov cai hauv chaw ua si hauv Circuit Court kuj tseem yooj yim heev vim nws tau rub thiab poob qhov program. Koj tseem tuaj yeem sau nws hauv JavaScript.

Kauj Ruam 5: Txuas LED Board Nrog Tsim

Txuas LED Board Nrog Tsim
Txuas LED Board Nrog Tsim
Txuas LED Board Nrog Tsim
Txuas LED Board Nrog Tsim

Tam sim no rub daim kab xev ob sab ntawm lub qhov ncauj ntawm kab txuas thiab txuas nrog daim ntawv raws li qhia hauv qab duab. Muab cov chaw ua si tso rau hauv nruab nrab ntawm daim ntawv kom nruj

Kauj ruam 6: Code

Code
Code
Code
Code

Tam sim no tag nrho cov ntu tau npaj ua tiav thiab tam sim no peb yuav tsum cia li upload cov cai hauv nws.

Cov ntaub ntawv code twb tau muab rau hauv qhov kev qhia no. Lossis koj tseem tuaj yeem muab cov lej hauv qab no tso rau hauv seem JavaScript ntawm kev tsim cov cai editor.

-> Txoj Cai -

input.onLoudSound (muaj nuj nqi () {light.setBrightness (148)

nkauj.setVolume (50)

music.siren.loop ()

teeb.setBrightness (152)

light.setAll (0x00ff00)

ncua (500)

light.setAll (0x0000ff)

ncua (1000)

light.setAll (0x00ffff)

ncua (500)

light.setAll (0xff0080)

ncua (2000)

light.setAll (0xffff00)

ncua (1000)

light.setAll (0xff9da5)

ncua (500)

light.setAll (0xff0000)

ncua (2000)

light.setAll (0x7f00ff)

light.showAnimation (lub teeb.rainbowAnimation, 2400)

ncua (500)

light.showRing (`` ntsuab dub dub dub liab liab liab dub dub dub dub ntsuab ')

ncua (500)

light.showRing (`ntsuab dub dub xiav liab liab xiav ntsuab dub dub`` ncua) (500) light.showRing (` `dub dub ntsuab ntsuab xiav liab liab xiav ntsuab dub dub ')

ncua (500) lub teeb.showRing (`` dub ntsuab liab liab xiav liab liab liab liab liab ntsuab dub ')

ncua (500) lub teeb.showRing (`` daj ntsuab ntsuab liab liab liab liab liab paj yeeb ntsuab daj ') lub teeb.showAnimation (lub teeb.colorWipeAnimation, 500)

ncua (500) light.showAnimation (light.rainbowAnimation, 2000)}) mus ib txhis (muaj nuj nqi () {

})

Kauj Ruam 7: Yuav Ua Li Cas Upload

Yuav Ua Li Cas Upload
Yuav Ua Li Cas Upload

-> Yuav ua li cas upload code-

Nias lub pob pib dua ob zaug txuas ntxiv tom qab ntawd tso cov cai hauv chaw ua si hauv Circuit. Tom qab ntawd peb Lub Suab Nkauj Reactive lub teeb lub thawv tau npaj txhij thiab npaj los sim. Cia peb siv zog thiab sim nws tam sim no …

Saib cov vis dis aus qhia thawj ntu uas koj tuaj yeem pom qhov kev sim ntawm qhov haujlwm no.

Kauj Ruam 8: Cia Peb Xeem

Cia Peb Xeem
Cia Peb Xeem
Cia Peb Xeem
Cia Peb Xeem
Cia Peb Xeem
Cia Peb Xeem
Cia Peb Xeem
Cia Peb Xeem

Saib cov vis dis aus qhia thawj ntu uas koj tuaj yeem pom qhov kev sim ntawm qhov haujlwm no.

Tom qab xaus qhov kev qhia no kuv xav muab luv -tawm mus rau NextPCB rau kev txhawb nqa cov lus qhia no.

Kauj ruam 9: NextPCB

Tom ntejPCB
Tom ntejPCB

NextPCB yog cov chaw tsim khoom lag luam PCB zoo nrog kev tsim khoom PCB muaj peev xwm. Cov ntaub ntawv PCB tau ntawv pov thawj los ntawm IATF16949, ISO9001, ISO14001, UL, CQC, RoHS thiab REACH. NextPCB siv txoj hauv kev nrawm heev kom xa cov PCB hauv tsuas yog 6-8 hnub. Kuv kuj tau siv qhov kev pabcuam ntawd rau ob xyoos dhau los thiab kuv ib txwm tau txais txiaj ntsig zoo. Yog li, kuv hais qhia txhua tus tsim khoom siv tshuab yuav tsum tau yuav PCB los ntawm NextPCB.

NextPCB muab txog 4-12 txheej PCB. PCB zoo kuj tseem zoo heev. Tsuas yog 10 $ koj tuaj yeem tau txais 10 PCB ntawm cov xim uas koj xav tau. Txhawm rau xaj PCB koj yuav tsum mus rau lub vev xaib ntawm NextPCB. Tsuas yog mus rau lub vev xaib Upload koj cov ntaub ntawv Gerber, xaiv PCB teeb tsa thiab txiav txim siab 10 qib siab zoo PCB tam sim no. Yog xav paub ntxiv -

Yog li, cov phooj ywg Kuv vam tias koj txhua tus yuav nyiam txoj haujlwm no thiab tseem txhawb nqa peb los ntawm "SUBSCRIBING" peb YouTube channel. Nyem rau qhov no "SUBSCRIBE" peb cov YouTube channel.

Yog xav paub ntxiv-

Facebook -https://facebook.com/circuitjamer

-> Instagram -

Ua tsaug rau kev nyeem phau ntawv no.. ???

Yuav rov los sai sai nrog txoj haujlwm tshiab thiab muaj tswv yim … ???

?????

Pom zoo: