Cov txheej txheem:
- Kauj Ruam 1: Cov Khoom Siv
- Kauj ruam 2: Txoj Cai
- Kauj Ruam 3: Ua Circuit Board
- Kauj Ruam 4: Laum Lub Qhov thiab Populate Pawg Thawj Coj
- Kauj Ruam 5: Thauj Koj Daim Duab
Video: Yuav Ua Li Cas Tswj LED Nrog Ua thiab Arduino: 5 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:31
Lwm hnub kuv tau ntsib teeb meem txaus ntshai, kuv xav tau los tswj cov teeb pom kev los ntawm kev sib cuam tshuam ntawm lub computer screen thiab nws yuav tsum pheej yig li sai tau. Kuv tam sim xav txog Arduino. Nws muaj txhua yam uas kuv xav tau, ntau dua li txaus I/O, kev sib xyaw USB thiab nws tsuas yog $ 30. Txhawm rau sib tham nrog Arduino Kuv txiav txim siab siv Kev Ua Haujlwm. Ob leeg ua haujlwm tau zoo tiag tiag vim tias Arduino tsev neeg muaj kev sib raug zoo nrog rau Kev Ua Haujlwm.
Kauj Ruam 1: Cov Khoom Siv
Nws lub sijhawm los sau tag nrho cov khoom thiab cov khoom tsim nyog los ua qhov no tshwm sim: Cov Software: Ua - tuaj yeem pom ntawm www.processing.orgArduino - tuaj yeem pom ntawm www.arduino.cc Cov Khoom Siv: Arduino USB board (Kuv siv Diecimila, vim tias yog qhov kuv muaj) 8x LEDs ntawm koj xaiv 8 x 330ohm resistors tawg tawm headerssingle ib sab tooj liab cladFerric Chloridetiny laum ntsisUSB cable
Kauj ruam 2: Txoj Cai
Qhov no yog qhov nyuaj rau kuv. Kuv ib txwm yog yam khoom kho vajtse ntau dua li hom software, yog li kuv tig mus rau hauv internet. thawj qhov chaw uas kuv tau saib yog ntu kev hais txog ntawm Processing.org thiab Arduino.cc, ntau lub sijhawm thiab kev txiav txim siab tau dhau mus rau kev txhim kho ntawm cov vev xaib no thiab kuv qhuas rau kev siv zog, nws tsim nyog nws! Txhua cov ntaub ntawv yooj yim uas kuv xav tau muaj nyob ntawd tab sis kuv tau muaj lub sijhawm nyuaj tiag tiag kom txhua yam ua haujlwm. Yog li kuv tig mus rau qhov kev qhia no kom teeb kuv ncaj. Francesco tau muab tso ua ke ib qho kev qhia zoo txog Kev Ua Haujlwm sib txuas lus thiab Arduino. Thaum kuv tau txais txhua yam los ua haujlwm, nws yog qhov yooj yim heev. Yeej cov txheej txheem Txheej txheem yuav teeb tsa zoo li no: ntshuam ua tiav.serial.*; Serial myPort; tsis muaj teeb tsa teeb tsa () {println (Serial.list ())); myPort = Serial tshiab (qhov no, Serial.list () [*X*], 9600); myPort.buffer (1); loj (400, 400); tsis muaj kos () {// qee qhov chaws mus ntawm no} Thaum teeb tsa koj cov cai kom paub tseeb tias koj Arduino txuas nrog koj li chaw nres nkoj. Qhov no tseem ceeb vim tias txoj cai tau sim taw tes rau qhov tshwj xeeb arduino uas koj siv. Khiav koj cov cai thiab saib cov npe uas yuav tshwm rau hauv qab ntawm koj lub qhov rais Ua thiab tom qab ntawd hloov qhov sib txawv hauv koj cov cai uas kuv tau qhia los ntawm * X * rau tus naj npawb ntawm qhov chaw nres nkoj uas koj arduino txuas nrog. Kuv yog tus thib peb ntawm cov npe yog li kuv muab 2 tso rau hauv *X *. Nco ntsoov tias cov npe tau nthuav tawm raws li cov npe nkag, qhov no txhais tau tias thawj txoj haujlwm tau qhia ua 0 tsis yog 1. Tus lej Arduino tseem yooj yim dua rau teeb tsa: tsis muaj teeb tsa teeb tsa () {Serial.begin (9600);} Kuv tau tshaj tawm cov lej ua tiav rau koj coj thiab hloov kho thiab ua si nrog. Arduino tau txais kev cawmdim li pdxMap.pde thiab cov txheej txheem ua haujlwm tau txais kev cawmdim li serialLEDTest.pde
Kauj Ruam 3: Ua Circuit Board
Kuv tsim lub rooj tsav xwm Circuit Circuit siv CADsoft Eagle. Txij li thaum kuv paub tias kuv tab tom siv arduino Kuv xav ua daim ntawv pov thawj uas yuav haum qhov sib txawv ntawm qhov sib txawv ntawm USB cov laug cam, Yog li rov qab mus rau hauv internet kom pom qhov yog Eagle txoj cai. Kuv tau siv qhov txheej txheem Protoshield uas tau tsim los ntawm Lady Ada. Yog tias koj tsis paub txog nws txoj haujlwm koj yuav tsum txheeb xyuas nws. Nws cov phiaj xwm thiab kev koom tes rau ntiaj teb ntawm kev suav lub cev yog qhov zoo tshaj plaws thiab feem ntau ntawm nws txoj haujlwm yog qhib qhov chaw muab rau tib neeg zoo li kuv muaj sijhawm los coj lawv tus kheej cov phiaj xwm mus rau qib tom ntej. Tom qab kuv pom cov qauv tsim tawm, kuv qhib nws thiab hloov kho nws hauv Dav dawb hau rau yam koj pom hauv qab no. Cov duab thib ob yog ze ntawm PDF uas yuav tsim lub rooj zaum zaum kawg. Muaj ntau ntau cov lus qhia zoo txog kev kos koj tus kheej lub rooj tsav xwm hauv qab yog li kuv yuav tsis mus hla txhua yam ntawm no. Txoj hauv kev uas kuv nyiam siv yog piav qhia zoo nkauj hauv TechShopJim cov lus qhia. Qhov ib: Luam tawm PDF (pom hauv qab no) mus rau ntawv ntawv xov xwm, ntawv ci zoo nkauj lossis ntawv uas tau tsim rau PCB. Luam tawm siv lub tshuab luam ntawv laser. tsis txhob ntsuas, nws tau muab tso rau ntawm 8 1/2 los ntawm 11 daim ntawv thiab nws yuav tsum luam tawm kom zoo nrog qhov hloov kho Kauj Ruam ob: Txiav tawm qhov tsim tawm me ntsis ntawm lub rooj zaum ib ncig ntawm tus tsim. Kauj ruam peb: Txiav ib qho ib feem ntawm koj tooj liab clad uas yog me ntsis loj dua qhov tsim. lub rooj tsavxwm tuaj yeem txiav los ntawm txoj hlua khi, lub saw pom. Tab sis feem ntau kuv yuav siv lub thawv txiav lossis Xacto riam los ntawm kev ntsuas nws ntau thiab ntau dua thiab tom qab ntawd tsoo nws raws cov kab ntawv thiab ntxuav cov ntug nrog cov ntawv xuab zeb. kom txog thaum nws ci, yaug nws tawm thiab xyuas kom tsis txhob kov koj txhais tes. Ib qho roj ntawm nws yuav ua rau nws yog li cov toner yuav tsis lo rau tooj liab. Qhov tsib: muab cov tooj liab tooj liab tso rau ntawm ib qho tiaj tiaj nrog tooj liab tig rau saum, nteg qhov txiav tawm tsim toner sab rau ntawm tooj liab thiab kaw nws rau qhov chaw., muab daim ntawv so tes hla txhua yam thiab hlau nws ntawm qhov chaw siab tshaj plaws ntawm koj cov hlau. Tsis muaj STEAM! Muab cov hlau tso ncaj qha rau sab saum toj, cia lub rooj tsavxwm kub kom sov me ntsis ua ntej koj txav cov hlau thiab tom qab ntawd nqa cov hlau los ntawm ntug thiab hlawv tag nrho cov khoom kom cov toner lo rau tooj liab. nws yuav tsum siv li 3 feeb tag nrho. Tshem tawm cov hlau thiab daim phuam ntawv. Kauj ruam rau: So lub rooj tsavxwm hauv dej kom tau daim ntawv tawm. Tsis txhob ua rau ntxhib thaum sim hle daim ntawv, lub toner yog qhov tsis taus thiab tuaj yeem txhuam tau yooj yim. (Yog tias, vim li cas nws thiaj li tsis ua haujlwm, tsuas yog siv lub SOS ncoo lossis cov plaub hau hlau rau ntawm lub rooj tsavxwm dua thiab ntxuav tawm ib qho tshuaj tsw qab uas seem.) Kauj ruam rau: Etch! ** Hloov tshiab ** Koj tuaj yeem nqa PDF ntawm no. Yog tias koj txaus siab rau cov ntaub ntawv Eagle, nws yog.brd cov ntaub ntawv thiab.sch cov ntaub ntawv
Kauj Ruam 4: Laum Lub Qhov thiab Populate Pawg Thawj Coj
Tam sim no koj muaj lub rooj tsav xwm hauv vaj huam sib luag nws yog lub sijhawm los tho qhov nrog koj lub qhov me me tho thiab cov laug ntawm cov khoom siv. Koj yuav pom tias kuv tau tsim lub rooj tsavxwm nrog cov kab nyob rau sab saum toj tsis yog hauv qab ntawm lub rooj tsavxwm. Kuv tau ua qhov ntawd vim tias nws ua rau nws yooj yim dua rau lub taub hau rau ntawm lub rooj tsavxwm thiab kom nws zaum tiaj tus tiv thaiv cov arduino. Kuv pib nrog cov neeg tawm tsam thaum ua rau pawg thawj coj saib. Khoov tus coj kom ze rau tus tiv thaiv ntau li ntau tau thiab muab lawv tso rau hauv lub rooj tsav khoom thiab cov laug thiab txiav qhov ua rau ntau dhau. Tom ntej no koj tuaj yeem teeb tsa lub taub hau lossis LED's. Cov LED yuav tsum tau teeb tsa kom txaus siab ntawm lub rooj tsavxwm txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau yog li ntawd kuv xav qhia kom ua rau lawv kawg tab sis txij li cov khoom suav suav nrog tsawg heev nws tsis muaj teeb meem dab tsi uas tau teeb tsa ua ntej.
Kauj Ruam 5: Thauj Koj Daim Duab
Thauj lub pdxMap.pde kos rau koj lub arduino thiab ntsaws qhov protoshield rau hauv pawg thawj coj saib. Nco ntsoov tias koj ntsaws koj cov arduino rau hauv tib lub chaw nres nkoj uas koj tau hloov pauv koj daim duab ua kom pom kev. Lub qhov rai yuav tshwm nrog koj qhov program khiav hauv nws. Los ntawm txhaj rau ntawm txhua lub duab plaub liab nws yuav ua kom pom qhov sib xws ntawm LED ntawm arduino txog li ib pliag Thov koj xav tso tawm cov lus nug lossis lus pom thiab tshaj tawm koj cov kev hloov kho thiab cov haujlwm, Kuv xav pom lawv!
Pom zoo:
Yuav Ua Li Cas Vaum Thiab Kub Tiag Tiag Cov Ntaub Ntawv Teev Npe Nrog Arduino UNO thiab SD-Card - DHT11 Cov ntaub ntawv-logger Simulation hauv Proteus: 5 Cov Kauj Ruam
Yuav Ua Li Cas Vaum Thiab Kub Tiag Tiag Cov Ntaub Ntawv Teev Npe Nrog Arduino UNO thiab SD-Card | DHT11 Cov ntaub ntawv-logger Simulation hauv Proteus: Taw qhia: nyob zoo, qhov no yog Liono Maker, ntawm no yog YouTube txuas. Peb tab tom tsim txoj haujlwm muaj tswv yim nrog Arduino thiab ua haujlwm ntawm cov kab ke. Cov ntaub ntawv-Logger: Cov ntaub ntawv logger (tseem cov ntaub ntawv-logger lossis cov ntaub ntawv kaw) yog cov cuab yeej siv hluav taws xob uas sau cov ntaub ntawv dhau sijhawm
Yuav Tsim Li Cas 8x8x8 LED Lub Vev Xaib thiab Tswj Nws Nrog Arduino: 7 Cov Kauj Ruam (nrog Duab)
Yuav Ua Li Cas Tsim 8x8x8 LED Lub Vev Xaib thiab Tswj Nws Nrog Arduino: Lub Ib Hlis 2020 hloov kho: Kuv tab tom tso qhov no tawm yog tias leej twg xav siv nws los tsim cov tswv yim, tab sis tsis muaj ib qho ntxiv hauv kev tsim lub voos xwmfab raws li cov lus qhia no. LED tsav ICs tsis tau ua ntxiv lawm, thiab ob daim duab kos tau sau rau hauv cov ntawv qub
Yuav Tsim Li Cas thiab Ntxig Ib Lub Rooj Thiab Ntxiv Kab Ntxiv Thiab/lossis Kab Rau Cov Lus Hauv Microsoft Office Word 2007: 11 Cov Kauj Ruam
Yuav Tsim Li Cas thiab Ntxig Cov Lus Thiab Ntxiv Kab Ntxiv Thiab/lossis Kab Rau Cov Lus Hauv Microsoft Office Word 2007: Koj puas tau muaj cov ntaub ntawv ntau uas koj ua haujlwm nrog thiab xav rau koj tus kheej … " Kuv yuav ua li cas ntawm cov ntaub ntawv no saib zoo dua thiab nkag siab yooj yim dua? " Yog tias yog, tom qab ntawd lub rooj hauv Microsoft Office Word 2007 yuav yog koj cov lus teb
Yuav Tswj Li Cas Cov Teeb Meem LEDs nrog Fadecandy thiab Ua: 15 Cov Kauj Ruam (nrog Duab)
Yuav Tswj Li Cas Cov Teeb Meem LEDs nrog Fadecandy thiab Ua Haujlwm: Dab tsi Qhov no yog cov lus qhia ib qib zuj zus yuav siv Fadecandy li cas thiab Ua Li Cas thiaj tswj tau qhov chaw nyob LEDs. (Koj tuaj yeem txuas ntau Fadecandys rau ib lub khoos phis tawj kom nce ntxiv
Yuav Ua Li Cas Tswj Cov Khoom Siv Hauv Tsev Nrog TV Chaw Taws Teeb Nrog Timer Ua Haujlwm: 7 Cov Kauj Ruam (nrog Duab)
Yuav Ua Li Cas Tswj Cov Khoom Siv Hauv Tsev Nrog TV Chaw Taws Teeb Nrog Lub Sijhawm Ua Haujlwm: Txawm tias tom qab 25 xyoo ntawm nws qhov kev qhia rau cov neeg siv khoom lag luam, kev sib txuas lus infrared tseem muaj feem cuam tshuam nyob rau hnub tsis ntev los no. Txawm hais tias nws yog koj li 55 nti 4K TV lossis koj lub suab lub tsheb, txhua yam xav tau IR chaw taws teeb tswj los teb rau peb