Cov txheej txheem:
- Kauj Ruam 1: Yam Koj Xav Tau
- Kauj ruam 2: Rub tawm Arduino.exe
- Kauj Ruam 3: Tsim Circuit Court
- Kauj Ruam 4: Tsim Cov Tsom iav Diving
- Kauj Ruam 5: Ua Cov Khaub Ncaws
- Kauj Ruam 6: Tau Ib Qhov
- Kauj Ruam 7: Ua Kom Nws Zoo Nkauj?
Video: (G) Classy So: 7 Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
Nyob zoo nyob ntawd! Kuv lub npe yog Manou thiab ua ke nrog Max thiab Mirthe peb tau tsim qhov project arduino.
Koj puas tseem muaj teeb meem hauv nag, thaum koj lub iav tsis ntub? Peb muaj cov tshuaj: tsom iav so!
Txoj haujlwm no zoo li lub suab zoo li cas, cov ntaub so uas yuav npog koj lub iav txhawm rau txhawm rau ntxuav koj lub ntsej muag thaum los nag lossis daus.
ua siab ncaj peb tsuas yog xav ua qee yam lom zem thiab txawm hais tias nws tsis yog thawj lub tswv yim, peb txhua tus ntseeg tias nws tsis muaj leej twg ua tau tiag. Txoj haujlwm no yog rau cov pib kawm hauv arduino thiab coding, tab sis xav tias dawb los ua tus qauv zoo dua thiab tau txais txoj haujlwm no mus rau qhov siab dua!
Kauj Ruam 1: Yam Koj Xav Tau
nov yog txhua yam uas koj xav tau thaum lub sijhawm ua haujlwm:
- 1x Arduino genuino uno (https://www.floris.cc/shop/en/search?controller=se…), - arduino.exe program (rub tawm dawb:
- 2x servo motors (Kuv siv TG9e, koj tuaj yeem siv lwm tus ib yam nkaus thiab txawm tias qhov loj dua lossis ib qho txuas ntxiv, tab sis cov no tsis suav nrog kuv cov cai)
- 8 x pinwires (tab sis tej zaum ntau dua, cov xov hlau tsis taus!) (Qhov sib txawv tau pom zoo)
- usb 2.0 kab
- fais fab txhab nyiaj
- cov ntawv luam tawm
- tsom iav dhia dej (kom pom zoo dua koj tuaj yeem siv tsom iav ib txwm, tab sis tsom iav dhia dej tau ruaj khov dua rau qhov kev pabcuam)
- textile lossis ntaub (koj tuaj yeem siv cov xim sib txawv thiab rau cov ntaub so koj tuaj yeem siv roj hmab)
- cov zaub
- lub kaus mom (qhov no tuaj yeem yog txhua yam lossis siv ntau cov xov hlau kom cov arduino tuaj yeem haum hauv koj lub hnab ris!)
- yas yas npuas
- soldering hlau
- 2x cross-screws
- hla tus ntsia hlau
- tiv tauj kua nplaum
- txiab
- stapler
- koob thiab xov
- hlau txiav
- ib woodfile
Kauj ruam 2: Rub tawm Arduino.exe
Thaum rub tawm arduino.exe ntawm koj lub computer, koj tuaj yeem qhib nws hauv cov ntawv uas koj tau khaws nws thiab tau txais cov vijtsam hauv qab no.
Rho tawm cov cai dhau los thiab luam cov cai hauv qab no: Cov cai suav nrog qee qhov piav qhia nws ua dab tsi, yog tias nws tsis ua haujlwm nyem rau ntawm cov ntawv ntxiv nrog kuv cov cai.
// Ua kom ntseeg tau tias kev ua haujlwm servo tuaj yeem siv thiab raug xa tawm hauv txoj haujlwm.
#suav nrog
// Variables kom paub qhov txawv servo's sib txawv.
Servo tsav;
Servo tsav 2;
// Nov yog txiav txim siab qhov twg servo txuas rau tus pin thiab yog tias lawv pib nrog tus nqi. hauv qhov no nws yog 0.
void teeb tsa () {
Serial.begin (9600);
servo.attach (8);
servo2.attach (9);
servo.write (0); cov.
servo2.write (0);
}
void voj () {
// Qhov hloov pauv tsis tu ncua rau qhov tig ntawm servo thiab tso lawv rau hauv txoj haujlwm hauv nws qhov ntau (Qhov twg caj npab ncav cuag).
const int angleIncrement = 1;
const int incrementDelay = 10;
// Lub kaum pib ntawm xoom. yog tias lub kaum sab xis me dua qhov txav mus, qhov kev pabcuam yuav tig, vim tias ntxiv rau lub kaum sab xis ntxiv nrog qhov kev ncua me me (nce ntxiv).
rau (lub kaum sab xis = 0; lub kaum ntse ntse <60; lub kaum sab xis += lub kaum ntse ntseIncrement)
{// qeeb txav mus rau tom ntej
servo.write (kaum sab xis);
servo2.write (kaum sab xis);
ncua (incrementDelay);
}
// Lub kaum pib ntawm 60 degrees. Yog tias lub kaum sab xis loj dua xoom, lub kaum sab xis yuav txav rov qab, vim tias rho tawm lub kaum sab xis Ntxiv nrog qhov kev ncua me me (nce ntxiv)
rau (lub kaum sab xis = 60; kaum sab xis> 0; kaum sab xis -= lub kaum sab xis ntxiv)
{// qeeb txav rov qab
servo.write (kaum sab xis);
servo2.write (kaum sab xis);
ncua (incrementDelay);
}
}
Kauj Ruam 3: Tsim Circuit Court
Zoo tam sim no tias txoj cai tau npaj siv, koj tuaj yeem txuag nws nrog cov cim kos nyob rau ntawm kaum sab laug saum toj no thiab xa nws mus rau koj arduino nrog khawm xub ntawm nws ib sab.
Tom ntej no peb yuav ua qhov Circuit Court. Saib ntawm kuv lub tswv yim los tsim nws. Tib qho uas yuav tsum tau ua yog tso USB2.0 cable rau hauv arduino thiab hauv koj lub laptop, lub txhab nyiaj lossis siv lub roj teeb (nrog rau lwm qhov chaw nres nkoj ntawm arduino).
Txhawm rau ua kom cov teeb meem kev ua tiav, siv cov hlau txuas thiab cov ntawv luam tawm los ua ke ua ke.
Tam sim no txoj haujlwm ua haujlwm! Tam sim no peb yuav tsum ua tus tsim.
Kauj Ruam 4: Tsim Cov Tsom iav Diving
Yog lawm, txhawm rau ua kom yooj yim dua rau koj, nqa lub tsom iav thiab txiav lub qhov uas lub qhov ntswg haum. Txoj kev no koj tuaj yeem sim ua yam tsis muaj teeb meem ua pa. Kuj coj lub tsom iav thiab ua cov hauv qab daim iav ciam teb tiaj tus. Qhov no txoj kev servo tuaj yeem yooj yim glued. Piv txwv li, ntawm no peb tau sim muab nws ua ke nrog daim kab xev. Qhov ntawd tseem yog qhov uas cov servo yuav raug txuas nrog.
Kauj Ruam 5: Ua Cov Khaub Ncaws
Okay nrog cov teeb meem txuj ci thiab qee qhov kev ua haujlwm ua ntej ua tiav, cia pib los ntawm kev ua cov ntaub so. Cias txiav qee daim ntaub thiab siv cov khoom sib txuas los txuas ob qho kawg ua ke. Siv qee cov hlua los txuas rau ntawm lub tshuab servo thiab hu rau txhua yam ua ke thiab nws yuav tsum zoo li daim duab kawg. Ua qhov no rau ob qho tib si servo.
Kauj Ruam 6: Tau Ib Qhov
Tom ntej no yog cov kua nplaum sib txuas thiab cov servo. Kuaj cov servo thiab muab tso rau ntawm lub tsom iav, Nws tuaj yeem ua kom yuam kev teeb tsa lawv kom raug ntawm lub tsom iav, vim tias koj nyob ntawm qhov chaws. Qhov no txhais tau tias koj tsuas xav tau sim qhov twg ntawm servo qhov xav tau kom tau glued, nws xav tau qee qhov kev sim thiab yuam kev.
Kauj Ruam 7: Ua Kom Nws Zoo Nkauj?
nyob zoo! ntawm qhov no, txhua yam koj tuaj yeem ua lossis xav tau ua yog npog cov xov hlau thiab cov servo kom nws tsawg kawg yog dej me ntsis. Peb tau siv qee daim ntaub los npog cov xov hlau thiab cov yas npuas kom npog tag nrho cov txheej txheem. Txoj hauv kev no koj tuaj yeem npog nws hauv lub kaus mom thiab koj lub taub hau kuj tseem txuag txhua yam ntsiab lus ntse. (lossis yog tias koj siv cov xov hlau ntev, nqes hauv qab koj nraub qaum thiab hauv koj lub hnab ris).
Nov yog txhua yam koj yuav tsum tau ua / paub, txhawm rau ua kom cov iav zoo nkauj (lossis zoo nkauj) so!
Pom zoo:
YADPF (YET Lwm Tus Duab Duab Duab): 7 Kauj Ruam (nrog Duab)
YADPF (YET Lwm Tus Duab Duab Duab): Kuv paub qhov no tsis yog khoom tshiab, Kuv paub, Kuv tau pom qee qhov ntawm cov haujlwm no ntawm no, tab sis kuv ib txwm xav tsim kuv tus kheej cov duab thav duab. Txhua daim duab thav duab kuv tau pom yog qhov zoo, tab sis kuv tab tom nrhiav lwm yam, Kuv tab tom nrhiav qhov zoo nkauj tiag tiag
Kev Tsim Qauv Duab Duab/Duab Duab Duab: 4 Kauj Ruam
Kev Tsim Qauv Duab Duab/Duab Duab Duab: Nyob zoo txhua tus, Hauv qhov kev qhia no, Kuv yuav qhia koj cov txheej txheem ntawm yuav ua li cas thiaj tsim 3D qauv siv cov duab digital. Cov txheej txheem hu ua Photogrammetry, tseem hu ua Image-Based Modeling (IBM). Tshwj xeeb, hom txheej txheem no tau siv los rov ua dua
Cov Duab Duab Duab thiab Cov Duab 1: 4 Cov Kauj Ruam (nrog Duab)
Cov Duab Duab Cubes thiab Cov Duab 1: Thaum sim nrog qee cov ntoo ntoo thiab cov duab los qhia, kuv pom ob peb txoj hauv kev los ua cov voos thiab lwm yam duab los ntawm cov khoom siv yooj yim. Los ntawm kev muab cov no los ua Cov Ntawv Qhia, Kuv vam tias yuav txhawb nqa kev ua si thiab kev kawm. Kev hloov pauv ntawm qhov kev qhia no
Yuav Ua Li Cas Thiaj Li Tshem Tawm Lub Computer Nrog Cov Kauj Ruam Yooj Yim thiab Duab: 13 Kauj Ruam (nrog Duab)
Yuav Tsum Tshem Tawm Lub Khoos Phis Tawj Li Cas Nrog Cov Kauj Ruam Yooj Yim thiab Duab: Nov yog cov lus qhia txog yuav ua li cas tshem lub PC. Feem ntau ntawm cov khoom siv yooj yim yog hloov pauv thiab tshem tawm tau yooj yim. Txawm li cas los xij nws yog ib qho tseem ceeb uas koj tau koom nrog nws. Qhov no yuav pab tiv thaiv koj kom tsis txhob poob ib feem, thiab tseem ua rau kev rov ua dua tshiab
Cov Duab Duab Duab Duab, WiFi Txuas - Raspberry Pi: 4 Cov Kauj Ruam (nrog Duab)
Cov Duab Duab Duab Duab, WiFi Txuas - Raspberry Pi: Nov yog txoj hauv kev yooj yim heev thiab tus nqi qis mus rau cov duab thav duab digital - nrog qhov zoo ntawm kev ntxiv /tshem cov duab hla WiFi ntawm 'nyem thiab luag' siv (pub dawb) xa cov ntaub ntawv . Nws tuaj yeem siv tau los ntawm qhov me me £ 4.50 Pi Zero. Koj tseem tuaj yeem hloov pauv