Cov txheej txheem:
- Kauj Ruam 1: Sib dhos Cov Cuab Yeej thiab Cov Khoom Siv rau Daim Ntawv Teeb
- Kauj Ruam 2: Teeb Tus Qauv - Ntu 1
- Kauj Ruam 3: Teeb Tus Qauv - Ntu 2
- Kauj Ruam 4: Teeb Tus Qauv - Ntu 3
- Kauj Ruam 5: Teeb Tus Qauv - Ntu 4
- Kauj Ruam 6: Txiav Tawm Tus Qauv
- Kauj Ruam 7: Txheeb tus qauv thiab txiav tawm
- Kauj Ruam 8: Muab Cov Khoom Txhais Translucent rau Opaque Pieces
- Kauj Ruam 9: Txiav Tawm Txoj Kev Koom Tes
- Kauj Ruam 10: Ua ke Lub Teeb
- Kauj Ruam 11: Kauj Ruam Kawg Kawg
- Kauj Ruam 12: Sib sau Cov Cuab Yeej thiab Khoom Siv rau RGB LED
- Kauj Ruam 13: Txuas Cov LED
- Kauj Ruam 14: Teeb Arduino IDE
- Kauj Ruam 15: Txuas rau Koj Lub Rooj Tswjhwm Saib Arduino
- Kauj Ruam 16: Luam thiab Paste Code
- Kauj Ruam 17: Tshaj Tawm Txoj Cai rau Arduino
- Kauj Ruam 18: Ua tiav Kev Sib Txuas
Video: Arduino RGB Ntawv Teeb: 18 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
Txoj haujlwm no yog tsim kom muaj lub teeb pom kev zoo peb tog uas tuaj yeem hloov xim.
Cov cuab yeej
Cov cuab yeej koj yuav xav tau yog:
- Lub khoos phis tawj nrog USB chaw nres nkoj thiab nkag mus rau lub vev xaib
- Txiab thiab X-Acto riam
- Tus kav
- xaum.
Khoom siv
Cov ntaub ntawv xav tau yog:
- x1 Arduino board nrog USB txuas txuas
- x 1 tab
- x1 nquag anode RGB LED
- x3 220 Ohm resistors
- kb6 cev
- daim ntawv ntawv
- ntawv tuab tuab
- daim ntawv translucent nyias (daim ntawv ntawv)
- kua nplaum
Kauj Ruam 1: Sib dhos Cov Cuab Yeej thiab Cov Khoom Siv rau Daim Ntawv Teeb
Hauv ntu no koj yuav tsim cov ntawv teeb.
Cov cuab yeej
Cov cuab yeej koj yuav xav tau rau ntu no yog:
- Txiab
- X-Acto riam
- Tus kav
- Cwj mem.
Khoom siv
Cov ntaub ntawv rau cov ntawv teeb yog:
- Ntawv tuab tuab
- Daim ntawv translucent nyias (Daim ntawv ntawv)
- Kua nplaum
Kauj Ruam 2: Teeb Tus Qauv - Ntu 1
Pib los ntawm kev kos daim duab peb sab nrog txhua sab yog 6.5 hauv qhov ntev. Tam sim no kos kab los ntawm sab saum toj ntawm daim duab peb sab mus rau nruab nrab ntawm sab hauv qab. Tam sim no kos kab ib nrab ntiv tes sab hauv txhua sab. Ua qhov no dua nrog cov kab ib feem plaub ntawm ib nti sab hauv rau sab hauv daim duab peb sab. Qhov no yuav tsum tsim daim duab peb sab hauv daim duab peb sab loj dua. Tom ntej no kos ob kab sib dhos rau kab nruab nrab thiab kwv yees li ib feem plaub ntawm ib nti. Qhov no tsim ib txoj kab nruab nrab hauv daim duab peb sab.
Kauj Ruam 3: Teeb Tus Qauv - Ntu 2
Tam sim no kos kab ib nrab ntiv tes sab hauv txhua sab.
Kauj Ruam 4: Teeb Tus Qauv - Ntu 3
Ua qhov no dua nrog cov kab ib feem plaub ntawm ib nti sab hauv rau sab hauv daim duab peb sab. Qhov no yuav tsum tsim daim duab peb sab hauv daim duab peb sab loj dua.
Kauj Ruam 5: Teeb Tus Qauv - Ntu 4
Tom ntej no kos ob kab sib dhos rau kab nruab nrab thiab kwv yees li ib feem plaub ntawm ib nti. Qhov no tsim ib txoj kab nruab nrab hauv daim duab peb sab.
Kauj Ruam 6: Txiav Tawm Tus Qauv
Tam sim no peb tau kos tus qauv nws yog lub sijhawm los txiav nws. Ua ntej peb yuav txiav tawm daim duab peb sab sab nraud loj los ntawm daim ntawv uas siv txiab txiab. Thaum qhov ntawd raug txiav tawm, koj yuav txiav cov pob zeb diamond ntawm txhua lub ces kaum ntawm daim duab peb sab los tsim qee cov tab. Thaum cov pob zeb diamond raug txiav tawm, txiav qhov kawg ntawm cov tab kom lawv nyob ib puag ncig rau ob sab uas lawv txuas rau. Tam sim no siv X-Acto riam txiav tawm ob sab hauv peb sab, cov no tau sib cais los ntawm qhov nruab nrab nqaj peb tsim ua ntej. Tam sim no tus qauv yuav tsum tiav!
Kauj Ruam 7: Txheeb tus qauv thiab txiav tawm
Teem kab ntawv sab hauv thiab sab hauv ntawm tus qauv 2 zaug rau ntawm daim ntawv tuab tuab. Txiav tawm cov kab no los ntawm daim ntawv, tib txoj kev uas koj txiav tawm cov qauv hauv cov kauj ruam dhau los, los tsim ob sab ntawm lub teeb. Tam sim no tsuas yog taug qab tus qauv ntawm tus qauv 2 zaug rau ib daim ntawv nyias nyias. Txiav tawm cov qauv no, nrog txiab, los ntawm daim ntawv.
Kauj Ruam 8: Muab Cov Khoom Txhais Translucent rau Opaque Pieces
Faib plaub daim rau hauv qhov tsis sib xws thiab txhais ua ob khub kom koj muaj khub nrog 1 daim tuab tuab tsis sib xws nrog 1 daim nyias nyias. Kua nplaum ob qho sib cais ua ke kom muaj ib daim nyias nyias ua rau sab tom qab daim tuab tuab.
Kauj Ruam 9: Txiav Tawm Txoj Kev Koom Tes
Kos thiab txiav tawm, nrog txiab, ib daim ntawv uas ntev 10 ntiv tes thiab 5 ntiv tes dav. Qhov no yuav siv los koom nrog ob sab peb tog.
Kauj Ruam 10: Ua ke Lub Teeb
Ua ntej, khoov kab ntawv ntawm daim ntawv uas koj txiav tawm hauv qib kawg hauv ib nrab. Tom ntej no, khoov cov npoo ntawm lub ntsej muag daim duab peb sab, ua rau lub ntsej muag tsis huv.
Kauj Ruam 11: Kauj Ruam Kawg Kawg
Ceev faj: Tawm hauv qab lub teeb qhib kom txav mus rau qib tom ntej
Thaum kawg, lo rau sab ob sab nkhaus ntawm lub ntsej muag daim duab peb sab rau sab nraud ntawm sab ntev ntawm txoj kab nkhaus ntawm daim ntawv los ua ib yam uas zoo li lub ru tsev. Lub teeb tiav!
Kauj Ruam 12: Sib sau Cov Cuab Yeej thiab Khoom Siv rau RGB LED
Hauv ntu no peb yuav txuas rau RGB LED.
Cov cuab yeej
Koj yuav xav tau lub khoos phis tawj nrog USB chaw nres nkoj thiab nkag mus rau lub vev xaib.
Khoom siv
Cov ntaub ntawv rau RGB LED yog raws li hauv qab no:
- x1 Arduino board nrog USB txuas txuas
- x 1 tab
- x1 nquag anode RGB LED
- x3 220 Ohm resistors
- kb6 cev
Kauj Ruam 13: Txuas Cov LED
Txuas lub LED mus rau lub khob cij nrog cov xaim ntev tshaj txuas rau hauv av. Cov xov hlau hauv av yog ib qho ntawm ob txoj kab nruab nrab. Tom qab ntawd txuas txhua qhov ntawm lwm cov xov hlau raws li hauv qab no:
[Pin ntawm arduino] rau [220 Ohm resistor] rau [xaim ntawm LED]
Peb yuav txuas tus 5v tus pin thiab tus pin hauv av rau lub khob cij tom qab.
Kauj Ruam 14: Teeb Arduino IDE
Qhib lub vev xaib thiab tshawb rau arduino.cc lub vev xaib. Nyem rau ntawm lub software tab nyob saum toj. Rub tawm qhov version ntawm Arduino IDE rau koj lub operating system thiab ua raws cov txheej txheem teeb tsa tau teev tseg los ntawm rub tawm software.
Kauj Ruam 15: Txuas rau Koj Lub Rooj Tswjhwm Saib Arduino
Thaum Arduino IDE tau teeb tsa qhib IDE thiab txuas koj li arduino rau koj lub khoos phis tawj nrog USB cable. Tom ntej no nyem qhov cuab yeej tab ntawm cov ntawv qhia zaub mov bar thiab nthuav tawm Port sub menu. Los ntawm Port submenu nyem rau ntawm qhov chaw nres nkoj koj lub rooj tsav xwm arduino txuas nrog.
Kauj Ruam 16: Luam thiab Paste Code
Thaum Arduino IDE qhib, yuav muaj qee qhov chaws twb tau sau lawm, nco ntsoov tshem nws kom koj muaj lub vijtsam dawb.
Tam sim no theej cov cai hauv qab no thiab muab nws tso rau hauv IDE qhov rai. Nco ntsoov tias cov cai nyob hauv qhov tsis muaj teeb tsa teeb tsa () thiab lub voj void () yog nkag mus. Yog tias nws nyob ntawm tib kab, tus lej yuav tsis ua kom raug.
Arduino chaws
const int redLEDPin = 9;
const int greenLEDPin = 10;
const int blueLEDPin = 11;
const int redValue = 255;
const int ntsuabValue = 0;
const int blueValue = 0;
void teeb tsa () {
pinMode (redLEDPin, OUTPUT);
pinMode (ntsuab LEDPin, OUTPUT);
pinMode (blueLEDPin, OUTPUT);
}
void voj () {
analogWrite (redLEDPin, redValue);
analogWrite (greenLEDPin, ntsuabValue);
analogWrite (blueLEDPin, blueValue);
}
Kauj Ruam 17: Tshaj Tawm Txoj Cai rau Arduino
Tam sim no nyem rau ntawm sab xis tig xub xub sab saum toj kom suav sau thiab xa koj cov cai rau arduino.
Kauj Ruam 18: Ua tiav Kev Sib Txuas
Thaum kawg txuas 5v tus pin ntawm arduino mus rau + kev tsheb nqaj hlau ntawm lub khob cij thiab tom qab ntawd txuas tus pin hauv av ntawm arduino mus rau - kev tsheb nqaj hlau ntawm lub khob cij.
Muab lub Teeb tso rau saum RGB LED thiab Lub Teeb yuav tsum tam sim no tau teeb!
Pom zoo:
Tsev Kawm Ntawv Nroog Tsev Kawm Ntawv Chaw Nres Tsheb Daim Ntawv Qhia: 7 Kauj Ruam (nrog Duab)
University Campus Student Parking Map: Ntau tus tub ntxhais kawm xav paub tias lawv tuaj yeem nres tsheb hauv lub tsev kawm ntawv qib siab li cas. Txhawm rau daws qhov teeb meem no, Kuv tsim daim duab qhia chaw nres tsheb ntawm thaj chaw tseem ceeb ntawm Utah State University lub tsev kawm ntawv. Daim duab qhia chaw yog rau cov tub ntxhais kawm kom nrawm nrawm saib seb qhov chaw nres tsheb twg yog
RAWS LI COV NTAUB NTAWV NTSEEG NTAWV NTAWV MUAJ NTAWV TSHUAJ NTAWV TSO CAI RAU RASPBERRY PI: 6 Kauj Ruam (nrog Duab)
RAWS LI COV NTAUB NTAWV NTAWV MUAJ NTAWV TSHUAJ NTXIV RAU RASPBERRY PI: Hauv qhov haujlwm no, peb yuav txuas peb ntawm Atlas Scientific's EZO sensors (pH, yaj cov pa thiab kub) mus rau Raspberry Pi 3B+. Hloov chaw ntawm txuas cov kab hluav taws xob mus rau Raspberry Pi, peb yuav siv Whitebox Labs Tentacle T3 daim ntaub thaiv. T
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