Cov txheej txheem:
- Kauj Ruam 1: Tus Txais BlueTOOTH
- Kauj Ruam 2: DJ LEDs
- Kauj Ruam 3: Thawj Xeem
- Kauj ruam 4: Coding…
- Kauj Ruam 5: Qhov Kev Xeem Ob
- Kauj Ruam 6: Teeb
- Kauj Ruam 7: Qhov Xeem Kawg
- Kauj Ruam 8: Pob Zeb 'n' Roll
- Kauj Ruam 9: Txoj Cai Taug Kev
Video: Arduino Music Desk Teeb Nrog Bluetooth!: 9 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
Nyob zoo! Hauv Cov Lus Qhia no Kuv yuav tsim qee yam ci ntsa iab! Cia kuv qhia koj txog kuv lub teeb rooj txias tshiab! Nws yog qhov pheej yig diy daws kom tig koj lub rooj tsis txaus ntseeg mus rau hauv DJ hmo ntuj nyiam! Los yog tej zaum tsis yog. Tab sis kuv paub tseeb tias cov khoom kawg yuav txias! Yog li cia peb ua !!
Cheebtsam:
1. Arduino Uno (Nano yuav yog qhov kev xaiv zoo dua)
2. Bluetooth lub txais lub suab
Yog tias koj nyob hauv Is Nrias teb, koj tuaj yeem tau txais los ntawm no:
Asmeskas:
www.ebay.com/itm/Wireless-Bluetooth-3-5mm-…
3. LEDs (Kuv siv ib txoj hlua)
4. Cov neeg hais lus (Kuv muaj lub suab hais lus ntau zog)
5. Jumper cables
Cov Cuab Yeej:
1. Soldering hlau
2. Cov phom nplaum (xaiv tau)
Kauj Ruam 1: Tus Txais BlueTOOTH
Yog li cia peb pib nrog ntu yooj yim. Kuv tau txais Bluetooth tus txais lub suab pheej yig rau 110 Rupees (ze li $ 1.5)
Tsuas yog tshem cov cuab yeej ntawm lub cuab yeej thiab lub rooj tsav xwm me me tuaj yeem nqa tawm tau yooj yim. Tsis txhob txhawj xeeb, peb yuav tsis cuam tshuam nrog txhua yam khoom nyuaj ntawm qhov ntawd.
Nco ntsoov tuav nws kom zoo lossis koj yuav tsum tau txais lwm tus yog tias muaj dab tsi tawg. Ntawm ib sab koj yuav pom USB lub zog tawm tswv yim thiab ntawm lwm sab, poj niam lub suab tso tawm. Peb yuav tsum tau xaim 2 lub xov hlau rau qhov tso tawm ntawm cov khoom uas tau qhia hauv daim duab 3. Cov no yog ib qho ntawm ob lub pins tso tawm rau tus hais lus. Nco ntsoov tias koj tsis txhob cuam tshuam nrog sab hauv ntawm qhov txuas txuas lossis koj yuav tsis muaj peev xwm ntxig lub suab ntawm koj tus neeg hais lus tom qab.
Kauj Ruam 2: DJ LEDs
Tau 4 LEDs ntawm ib qho xim twg thiab muab tag nrho lawv cov pins tsis zoo rau ntawm ib daim hlau. Siv cov xov hlau sib cais rau txhua tus pin zoo ntawm LEDs. NYOB ZOO TSHAJ PLAWS! Siv tus kav hlau sawv yog tias muaj. Thiab cov hnab looj tes nyab xeeb thiab tsom iav tau pom zoo. Siv lub kiv cua me los coj cov pa tawm ntawm koj mus.
Koj tsis tas yuav raug txwv rau plaub LEDs txawm hais tias. Yog tias koj paub nrog Arduino, koj tuaj yeem yooj yim program nws los tswj ntau dua.
Koj tuaj yeem siv RGB sawb rau kev tswj hwm ntau dua tab sis kuv tau sim ua kom nws yooj yim li sai tau txij li siv RGB sawb yuav xav tau ntau lub program.
Kuv tau siv cov kab hluav taws xob LED ib txwm thiab txiav plaub ntu tawm ntawm nws nrog 3 LEDs hauv kab hauv txhua ntu. Qhov no yuav muab lub teeb ntau dua los ntawm lub teeb thiab kuv tsis tas yuav siv tus tiv thaiv tam sim no ib yam nkaus.
Kauj Ruam 3: Thawj Xeem
Ib feem no yuav yooj yim yog tias koj tau siv plaub LEDs zoo li kuv. Koj tuaj yeem tsuas luam kuv cov lej, muab tshuaj txhuam nws tso rau hauv Arduino lub tswv yim thiab tso ncaj qha rau nws. Tab sis nws yuav tsis yog lub teeb pom kev tseeb. Yog li yog tias koj xav ua kom nws zoo li kev tshaj lij, ntawm no yog yam koj yuav tsum tau ua..
Ua ntej tshaj, ntxig koj tus hais lus rau tus neeg txais bluetooth.
Tam sim no ntaus cov cai hauv qab no hauv Arduino lub tswv yim:
void teeb tsa ()
{
Serial.begin (9600);
}
void lub voj ()
{
Serial.println (analogRead (A0));
}
Tam sim no txuas koj Arduino uno/nano rau koj lub computer thiab xa cov duab kos.
Txuas ib qho ntawm cov xov hlau txuas (ntawm Bluetooth Circuit) mus rau A0 tus pin ntawm Arduino thiab lwm txoj xov hlau rau hauv av tus pin (GND). Txuas koj lub xov tooj ntawm tes mus rau tus neeg txais Bluetooth thiab ua si qee yam. Koj yuav tsum hnov lub suab nkauj hauv koj tus hais lus. Kho lub ntim rau koj qib nyiam tshaj plaws (rau kuv nws yog Max ntim:-)). Nco ntsoov tias koj Arduino tseem txuas rau koj lub PC. Nyem rau ntawm cov cuab yeej –> ntsuas saib thiab koj yuav tsum pom cov lej tsis raug tso tawm. Tej zaum nws yuav nrawm heev rau koj kom nco lawv. Yog li, rov qab mus, nyem rau cov cuab yeej-> cov phiaj xwm phiaj xwm thiab koj yuav pom lub teeb ntawm koj lub suab ua si. Siv ob peb lub screenshots lossis duab rau kev tshuaj xyuas tom qab.
Yog tias koj xav paub txog lub suab paj nruag kuv tau ua rau qhov kev xeem, nws 'Sunflower' los ntawm Spiderman hauv kab lus Kab laug sab
Kauj ruam 4: Coding…
Ib feem no yuav tsis txaus rau qee tus neeg. Tab sis ntseeg kuv, kev zoo nkauj ntawm koj cov khoom kawg yog nyob ntawm qhov no. Kuv tau khaws nws li yooj yim li sai tau. Ua ntej tshaj plaws saib kuv cov cai thiab sim nkag siab tias muaj dab tsi tshwm sim. Peb yuav ua tus lej taug kev thaum kawg.
Kuv tau txuas daim ntawv docx ntawm kuv tus lej. Koj tuaj yeem hla qhov ntawd.
Thaum koj cov cai tau npaj tiav, koj tuaj yeem xa nws mus rau Arduino. Huag yog, xyuas kom Arduino tsis txuas nrog lwm yam uas tsis yog koj li PC.
Kauj Ruam 5: Qhov Kev Xeem Ob
Tshem koj Arduino los ntawm PC thiab txuas 9-12v Lub Hwj Huam muab rau nws (9v pom zoo). Tam sim no txuas cov pins zoo ntawm koj cov LEDs rau cov txiaj ntsig ntawm koj Arduino (hauv qhov no, tus lej 6, 7, 8, 9). Txuas qhov dav dav tsis zoo rau GND tus pin. Txuas cov xov hlau los ntawm koj tus neeg txais Bluetooth mus rau A0 thiab GND pins ntawm koj Arduino thiab ua qee cov nkauj (ntawm Bluetooth).
Yog tias LEDs nyem rau koj lub suab seev, koj tau ua tiav txoj haujlwm zoo. Vim rau kuv, thawj zaug nws tsis ua. Tsis muaj lub suab tawm los ntawm tus hais lus. Thiab qhov tseem ceeb tshaj plaws, zaj nkauj tau ua ncaj qha ntawm kuv tus hais lus txawb. Nws tsis tuaj yeem txuas rau Bluetooth! Tom qab ntawd kuv pom tias ob qho ntawm cov neeg sib txuas hauv USB lub zog nkag ntawm Bluetooth board tau tawg. Qhov ntawd yog teeb meem nrog cov khoom pheej yig. Kuv yuav tsum tau muab lawv tso rau ntawm lub rooj tsavxwm thiab txhua yam ua haujlwm tau zoo! Txawm hais tias kuv siv cov LED xiav zoo ib yam rau qhov kev sim hloov ntawm kuv kab txaij.
Txias, cia ua lub teeb!
Kauj Ruam 6: Teeb
Kuv pom ob lub yeeb nkab PVC me me, tab sis kuv xav tau ib qho ntev xwb. Yog li, kuv glued lawv ua ke nrog cov yeeb nkab me hauv nws rau kev txhawb nqa. Tom qab ntawd kuv daig plaub daim kab xev LED sib npaug ntawm ib leeg ntawm cov yeeb nkab. Koj tuaj yeem pom 'zoo li cas' Kuv tau khaws txhua yam hauv daim duab:-p
Cia peb hu qhov no 'qhov tseem ceeb' ntawm peb lub teeb. Kuv ua lub cev sab nraud los ntawm kev yooj yim yob daim ntawv A4 loj rau hauv lub tog raj kheej. Yooj yim li ntawd! Qhov tseeb kuv xav txog kev ua qhov ruaj khov ntawm qhov no yog txhua yam ua haujlwm tau zoo.
Kauj Ruam 7: Qhov Xeem Kawg
Ua ntej ntim txhua yam hauv ib lub thawv, Kuv xav kom muaj daim tshev kawg. Kuv tau txuas cov tub ntxhais mus rau Arduino, txhawb txhua yam, ua suab paj nruag txias thiab …
Tsis muaj dab tsi tshwm sim. Tsis txawm tias ib qho LED tau sim ci! Kuv tau tshuaj xyuas txhua yam thiab tom qab ntawd pom tau tias LEDs yog 12v txhua!
Arduino tus pin tso tawm tuaj yeem muab Max voltage ntawm ~ 3.3v. Qhov no txaus rau ib txwm LEDs tab sis cov Led strips xav tau 9-12v. Kuv tuaj yeem txuas lawv los ntawm kev faib hluav taws xob cais siv Transistor rau txhua LED, tab sis qhov no yuav ua rau qhov yooj yim ntawm txoj haujlwm.
Yog li, kuv hloov lawv nrog 4 ib qho liab liab LEDs thiab rov pib dua qhov kev sim. Cov LEDs thaum kawg ntsais muag rau kuv lub suab seev tab sis vim qee qhov laj thawj, plaub LED tsis ci. Kuv hloov tsab ntawv thiab txo qhov txiav tawm qhov hluav taws xob rau plaub LED kom ci tab sis tsis pom kev txhim kho. Kuv tom qab ntawd ua qhov txiav tawm qhov hluav taws xob ntawm plaub LED tib yam li qhov thib peb thiab rov ntsuas dua. Tsis yog, tsis pom glow. Kuv tom qab hloov kho tsab ntawv los tswj 5 LEDs thiab rov ua dua qhov kev sim. Tam sim no plaub thiab tsib LED tsis kam ci. Coj txawv txawv. Kuv tau ua ob peb qhov kev sim thiab tweaks tab sis tsis muaj dab tsi hloov. Yog li thaum kawg kuv tsuas siv peb LEDs.
Kauj Ruam 8: Pob Zeb 'n' Roll
Thaum kawg kuv tau ntim tag nrho cov khoom siv hluav taws xob sab hauv lub thawv thiab kho lub hauv paus ntawm lub teeb ntsug ntawm nws. Tom qab ntawd kuv tso kuv daim ntawv lub tog raj kheej nyob ib puag ncig nws thiab cia lub suab paj nruag ncav tes rau txhua tus neeg lub pob ntseg. Yog! Nws ntsia txias! Tsis ntau li qhov kuv xav tau, tab sis tseem zoo nkauj heev. Kuv xav tau lub teeb daj tab sis. Liab ntsia zoo. Thiab kuv tau txais tus hais lus Bluetooth pheej yig los ntawm kuv qhov USB tho txawv.
Kauj Ruam 9: Txoj Cai Taug Kev
Ua ntej koj ntaus lub pob rov qab pom lub npe ntawm cov kauj ruam no, thov pov npav qhov kev qhia rau kev sib tw nws nyob hauv. Ua tsaug.
Koj tuaj yeem pom daim ntawv doc ntawm cov lej txuas nrog hauv cov kauj ruam no.
Raws li kuv tau hais (ntau zaus), cov cai yooj yim. Peb tau tshaj tawm cov lej 'suab' kom khaws lub suab theem los ntawm kev nkag mus. Muaj qhov yuam kev me me hauv kev teeb tsa ua haujlwm. Analog tus pin 'A0' txhais tau tias yog tus pin nkag (tsis yog 'soundpin'). Pins 6, 7, 8, 9 tau txhais tias yog cov pins tso tawm.
Hauv lub voj ua haujlwm, peb pib los ntawm ib qho xwm txheej nug txhua LEDs kom qhib yog tias lub suab tawm suab ntau dua 35. Ib yam li peb muaj peb yam xwm txheej ntxiv rau lub hom phiaj tshwj xeeb ntawm LEDs rau ib qho tshwj xeeb ntawm cov tswv yim. Thiab thaum kawg, yog tias tsis tau txais cov tswv yim los ntawm A0, tag nrho cov LEDs tau teeb tsa.
Vam tias koj nkag siab. Kuv sim kuv qhov zoo tshaj plaws, vim kuv yog tus pib rau Arduino! Thiab yog, qhov no yog kuv thawj Qhia!
Thov qhia rau kuv paub yog tias kuv xav hloov pauv hauv Kuv Cov Lus Qhia. Pom koj mus txog qhov tom ntej!
Pom zoo:
Active Music Party LED Teeb & Bluetooth Hais Lus Nrog Glow in the Dark PLA: 7 Kauj Ruam (nrog Duab)
Active Music Party LED Lantern & Bluetooth Speaker With Glow in the Dark PLA: Nyob zoo, thiab ua tsaug rau koj rau hauv kuv li Kev Qhia! Txhua txhua xyoo kuv ua qhov haujlwm nthuav nrog kuv tus tub uas yog tam sim no 14. Peb tau tsim lub Quadcopter, Ua luam Dej Ntab Sijhawm (uas yog Cov Lus Qhia ib yam nkaus), lub rooj zaum ntawm lub rooj zaum CNC, thiab Fidget Spinners.Wi
Dusty Wall Arduino Animated Led Teeb Nrog Teeb Lub Teeb: 11 Cov Kauj Ruam (nrog Duab)
Dusty Wall Arduino Animated Led Lamp Nrog Lub Teeb Pom Kev: Kuv nyuam qhuav muaj me nyuam thiab tom qab ua nws chav pw, kuv xav tau lub teeb ntawm phab ntsa. Raws li kuv nyiam heev LED kuv txiav txim siab los tsim ib yam.Kuv nyiam lub dav hlau dav dav, yog li vim li cas ho tsis tso lub dav hlau los ntawm daim duab tas luav rau ntawm phab ntsa, ntawm no thaum nws pib thiab kuv ua li cas
DIY LED Teeb - Niaj Hnub Teeb Meem Teeb Nrog Cov Chaw Taws Teeb: 8 Kauj Ruam (nrog Duab)
DIY LED Teeb - Niaj Hnub Teeb Mood Teeb Nrog Chaw Taws Teeb: Hauv kab lus no kuv yuav mus hla cov txheej txheem Kuv tau siv los tsim qhov no zoo heev pyramid zoo li tus LED Mood Teeb.Kuv siv maple rau cov qauv tseem ceeb thiab qee qhov mahogany txhav ntxiv rau lub zog. Rau lub teeb Kuv siv RGB LED teeb uas tuaj nyob hauv 16 ko taw
Bluetooth Chaw Taws Teeb Tswj Chaw Teeb - Retrofit. Lub Teeb Hloov Tseem Ua Haujlwm, Tsis Muaj Kev Sau Ntawv Ntxiv: 9 Kauj Ruam (nrog Duab)
Bluetooth Chaw Taws Teeb Tswj Kev Teeb - Retrofit. Lub Teeb Hloov Tseem Ua Haujlwm, Tsis Muaj Kev Sau Ntxiv: Hloov Kho Lub Kaum Ib Hlis 25, 2017 - Rau Lub Hwj Chim Siab ntawm qhov haujlwm no uas tuaj yeem tswj tau kilowatts ntawm kev thauj mus los saib Retrofit BLE Kev Tswj rau Kev Siv Lub Hwj Chim Siab - Tsis Xav Tau Ntxiv Ntxiv Qee cov BLE cov laug cam / software sib sau ua ke
LED Teeb Teeb Duab Cwjmem: Cov Cuab Yeej rau Teeb Teeb Doodles: 6 Kauj Ruam (nrog Duab)
LED Teeb Teeb Lub Cwjmem: Cov Cuab Yeej rau Teeb Doodles: Kuv tus poj niam Lori yog tus neeg siv tsis tu ncua thiab kuv tau ua si nrog kev yees duab ntev ntev rau ntau xyoo. Kev tshoov siab los ntawm PikaPika pab pawg teeb pom kev zoo thiab yooj yim ntawm cov koob yees duab digital peb tau siv lub teeb duab kos duab kom pom tias peb tuaj yeem ua dab tsi