Cov txheej txheem:

Yuav Hloov Kho Li Cas Micro Servo Motor (SG90) rau Kev Sib Txuas Ntxiv: 6 Cov Kauj Ruam (nrog Duab)
Yuav Hloov Kho Li Cas Micro Servo Motor (SG90) rau Kev Sib Txuas Ntxiv: 6 Cov Kauj Ruam (nrog Duab)

Video: Yuav Hloov Kho Li Cas Micro Servo Motor (SG90) rau Kev Sib Txuas Ntxiv: 6 Cov Kauj Ruam (nrog Duab)

Video: Yuav Hloov Kho Li Cas Micro Servo Motor (SG90) rau Kev Sib Txuas Ntxiv: 6 Cov Kauj Ruam (nrog Duab)
Video: CS50 2015 - Week 9, continued 2024, Kaum ib hlis
Anonim
Yuav Hloov Kho Li Cas Micro Servo Motor (SG90) rau Kev Sib Txuas Ntxiv
Yuav Hloov Kho Li Cas Micro Servo Motor (SG90) rau Kev Sib Txuas Ntxiv

Huag tsis! Kuv tau khiav tawm ntawm DC lub cav! Koj puas muaj cov khoom siv seem thiab cov neeg tawm tsam zaum ib puag ncig? Tom qab ntawd cia peb hloov kho nws!

Ib qho kev pabcuam ib txwm tig rau ntawm 180 degrees. Pom tseeb, peb tsis tuaj yeem siv nws rau lub tsheb khiav ntawm lub log. Hauv qhov kev qhia no, Kuv yuav mus dhau cov kauj ruam txhawm rau tshem tawm qhov txwv hauv qhov kev pabcuam thiab ua kom nws tig rau 360 degrees, yog li koj tuaj yeem siv nws zoo li koj tab tom siv DC lub cev muaj zog!

Qhov kev txwv tiag tiag muaj 2 ntu: lub hwj chim thiab lub iav. Dab tsi peb yuav tsum tau ua yog txhawm rau txhawm rau txhawm rau txuas lub hwj chim nrog lub rooj sib tham sab hauv thiab tshem lub pob qhov rooj hauv ib lub iav hauv lub iav.

Nyob zoo txhua tus, Kuv yog Bryan Tee Pak Hong. Tam sim no kuv yog ib xyoos tub ntxhais kawm hauv Singapore Polytechnic kawm Computer Engineering. Hauv qhov kev qhia no, Kuv yuav siv lub tshuab micro servo pheej yig los ntawm Tuam Tshoj los qhia qhov xwm txheej phem tshaj plaws uas koj tuaj yeem ntsib (vam tias), koj tuaj yeem yuav cov khoom siv zoo dua qub rau koj cov haujlwm raws li cov qauv yooj yim ntawm servo motor tseem zoo ib yam, yog li koj tuaj yeem siv tib lub tswvyim hauv qhov kev qhia no thiab hloov kho koj tus kheej servo. Txawm li cas los xij, koj yuav xav tau cov cuab yeej ntxiv rau qhov laj thawj kuv yuav hla hauv kuv cov lus qhia.

Kev tsis lees paub: Txoj haujlwm no xav tau cov cuab yeej siv nyab xeeb. Yog tias muaj xwm txheej tshwm sim kuv yuav tsis lav ris.

Tsis muaj ado ntxiv, cia pib!

Kauj Ruam 1: Kauj Ruam 0: Yam Koj Yuav Tsum Tau…

Kauj ruam 0: Yam Koj Yuav Tsum Tau…
Kauj ruam 0: Yam Koj Yuav Tsum Tau…
Kauj ruam 0: Yam Koj Yuav Tsum Tau…
Kauj ruam 0: Yam Koj Yuav Tsum Tau…

Rau cov khoom siv hluav taws xob, koj yuav xav tau:

  1. servo motor x1: Kuv tab tom siv qhov ua piv txwv pheej yig hu ua TianKongRC, qhov zoo tsis phem, tab sis kuv tau pom qhov zoo dua
  2. resistors x2: Nws nyob ntawm qhov sib txawv resistor hauv koj lub cav servo, nws feem ntau yog 5k, 10k, 20k lossis 50k. Rau feem ntau micro servos, zoo li TowerPro lossis kuv kis, TianKongRC, nws yog 5k ohms. Faib tus nqi los ntawm 2 thiab qhov ntawd yog qhov tsis kam rau servo. yog tias koj nrhiav tsis tau qhov kev tiv thaiv pes tsawg, nce qhov kev tiv thaiv uas koj xav tau. Hauv qab no yog qee cov lus qhia:

    • 5 kohm: 2.7 kohms x2
    • 10 kohms: 50 kohms x2
    • 20 hli: 10 hli x 2 hli
    • 50 hli: 27 hli x 2 hli

Rau cov cuab yeej, koj yuav xav tau:

  • Cov khoom siv Solder (Cov laug hlau, Cov laug, Lub tshuab nqus dej Desoldering, tsom iav kev nyab xeeb thiab lwm yam)
  • Ntsia Hlau
  • Ntev caj dab pliers
  • Hlau txiav thiab stripper
  • Cov khoom siv hluav taws xob
  • Multimeter

Kauj Ruam 2: Kauj Ruam 1: Tshem Tawm Npog thiab Gearbox

Kauj Ruam 1: Tshem Tawm Npog thiab Gearbox
Kauj Ruam 1: Tshem Tawm Npog thiab Gearbox
Kauj Ruam 1: Tshem Tawm Npog thiab Gearbox
Kauj Ruam 1: Tshem Tawm Npog thiab Gearbox
Kauj Ruam 1: Tshem Tawm Npog thiab Gearbox
Kauj Ruam 1: Tshem Tawm Npog thiab Gearbox

Qhov no yuav tsum yooj yim haum. Unscrew cov screws tuav lub servo, tom qab uas koj yuav tsum tau tshem tawm cov hauv qab rooj. Nyob ntawm tus neeg muag khoom, cov khoom siv hluav taws xob sab hauv tuaj yeem lossis tsis poob tawm. Rau kuv rooj plaub, nws tsis ua, uas xav tau kev ua haujlwm ntau dua.

Tom qab ntawd, tshem lub hau sab saum toj, nws yuav tsum tawm los xwb. Tshem lub zog thiab nco qab lawv qhov kev txiav txim rau koj yuav xav tau rov qab los tom qab.

Kauj Ruam 3: Kauj Ruam 2: Tshem DC Tsav Tsheb thiab Potentiometer

Kauj Ruam 2: Tshem DC Tsav Tsheb thiab Potentiometer
Kauj Ruam 2: Tshem DC Tsav Tsheb thiab Potentiometer
Kauj Ruam 2: Tshem DC Tsav Tsheb thiab Potentiometer
Kauj Ruam 2: Tshem DC Tsav Tsheb thiab Potentiometer
Kauj Ruam 2: Tshem DC Tsav Tsheb thiab Potentiometer
Kauj Ruam 2: Tshem DC Tsav Tsheb thiab Potentiometer

Tom ntej no, desolder qhov kev sib txuas ntawm DC lub cav me me sab hauv thiab sab hauv. Ua kom sov lub lauj kaub thiab tuav cov xaim nrog koj cov pliers thiab nws yuav tsum los ntawm qhov yooj yim haum. Hauv kuv qhov xwm txheej kuv tsis muaj cov khoom siv hluav taws xob tsim nyog, yog li kuv siv tus tuav lub xov tooj thiab nws ua haujlwm. Txawm hais tias qhov no txaus ntshai heev, peb yuav tsum tsis txhob yuav qee yam uas peb tsis siv ntau zaus. Kuv pom zoo kom nqis peev hauv cov khoom siv hluav taws xob zoo raws li koj xav tau ntau dua li koj xav. Rau qhov project luv luv txawm li cas los xij, qhov no yuav tsum ua haujlwm zoo ib yam

Tom qab ntawd, ua txhaum qhov kev sib txuas ntawm lub hwj chim thiab lub tshuab hluav taws xob sab hauv. potentiometer yog qhia los ntawm 3 pins ncaj qha hauv qab servo axis. Nyob ntawm koj tus qauv, koj tsuas yog xav tau desolder 2 xov hlau thiab koj ua tiav, tab sis rau servo zoo li kuv, qhov twg pins ntawm servo tau siv ncaj qha mus rau lub circuity, koj yuav xav tau cov cuab yeej los ntsaws lawv thiaj li tawg kev sib txuas Kuv qhov kev pabcuam thib ob yog qhov yooj yim dua li kuv tau tswj hwm lub zog potentiometer thiab lub rooj tsav xwm hauv Circuit Court nyuam qhuav tuaj

Cov kauj ruam xaiv tau yog desolder 3 lub xov hlau uas txuas rau koj lub arduino/microcontroller thiab lwm yam. Yog tias koj mus rau txoj kev ntawd, thov nco ntsoov yuav ua li cas cov xov hlau tau muab tso raws li kuv tau muaj 1 servo tsis ua haujlwm qhov twg lub nti tau hlawv thiab siv tsis tau

Kauj Ruam 4: Kauj Ruam 3: Hloov Potentiometer

Kauj Ruam 3: Hloov lub Potentiometer
Kauj Ruam 3: Hloov lub Potentiometer
Kauj Ruam 3: Hloov lub Potentiometer
Kauj Ruam 3: Hloov lub Potentiometer
Kauj Ruam 3: Hloov lub Potentiometer
Kauj Ruam 3: Hloov lub Potentiometer

Tau koj 2 resistors thiab khoov lawv kom haum rau ntawm koj lub rooj tsavxwm. Solder lawv raws li qhia, tawm 3 tus pin thiab muab lawv tso rau ntawm daim phiaj hluav taws xob.

Tam sim no rau qee qhov kev xav: Soldering 2 qhov zoo sib xws resistors qhia tias lub cev muaj zog ntawm 90 degrees. Hais yog tias koj ua haujlwm rau nws tig mus rau 0 degrees, nws yuav tig mus tas li ntawm lub moos raws; 180 degrees thiab nws yuav tig rov qab.

Qhov no tshem tawm thawj feem ntawm peb tus txwv. Tom ntej no, cia peb txav mus rau qhov feem ntau cov tshuab.

Kauj Ruam 5: Kauj Ruam 4: Tua Cov Limiters

Kauj Ruam 4: Ua txhaum Cov Limiters!
Kauj Ruam 4: Ua txhaum Cov Limiters!
Kauj Ruam 4: Ua txhaum Cov Limiters!
Kauj Ruam 4: Ua txhaum Cov Limiters!
Kauj Ruam 4: Ua txhaum Cov Limiters!
Kauj Ruam 4: Ua txhaum Cov Limiters!
Kauj Ruam 4: Ua txhaum Cov Limiters!
Kauj Ruam 4: Ua txhaum Cov Limiters!

Tam sim no rau qhov lom zem: Lub hwj chim yog qhov uas cov pliers taw tes. Tom qab kaw qhov kev tshuaj xyuas, koj tuaj yeem pom tias muaj 2 qhov sib txuas ntawm cov hlau nres lub tshuab thaum muaj kev sib hloov mus txog. Tshem tawm qhov ntawd thiab "potentiometer" tsuas yog ib txoj kab tig. Kev xaiv, koj tuaj yeem tsoo lub nres ntawm lub tog raj kheej yas hloov, tab sis kuv pom nws yooj yim dua tsuas yog siv cov yas thiab cov tshuab txiav hlau los txiav cov ntu ntawd. Hnav koj cov googles kev nyab xeeb, koj tsuas muaj ob lub qhov muag, saib xyuas lawv.

Tom ntej no, lub iav. Ntawm lub iav loj tshaj plaws nyob rau sab saum toj (saib cov duab dhau los), yuav tsum muaj lub pob qhov rooj me me hauv qab nws. Yog tias koj siv lub tshuab ua haujlwm zoo, muaj feem yuav ua los ntawm cov hlau, Hauv qhov xwm txheej twg koj yuav xav tau lub dremel los ua kom lub pob qhov rooj qis. Txij li thaum kuv tab tom siv tus nqi pheej yig micro servo, Kuv tuaj yeem siv cov tshuab txiav hlau kom huv huv txiav lub pob qhov rooj thiab tshem tawm.

Muab koj tus kheej rau sab nraub qaum, koj tau ua tiav nrog kev hloov kho!

Kauj Ruam 6: Kauj Ruam 5: Rov Sib Dua thiab Teeb Meem

Kauj Ruam 5: Rov Ua Dua Tshiab thiab Troubleshooting
Kauj Ruam 5: Rov Ua Dua Tshiab thiab Troubleshooting
Kauj Ruam 5: Rov Ua Dua Tshiab thiab Troubleshooting
Kauj Ruam 5: Rov Ua Dua Tshiab thiab Troubleshooting
Kauj Ruam 5: Rov Ua Dua Tshiab thiab Troubleshooting
Kauj Ruam 5: Rov Ua Dua Tshiab thiab Troubleshooting
Kauj Ruam 5: Rov Ua Dua Tshiab thiab Troubleshooting
Kauj Ruam 5: Rov Ua Dua Tshiab thiab Troubleshooting

Ua ntej, muab DC lub cav tso rau ntawm lub rooj tsav xwm hauv Circuit raws nraim li koj tshem nws li cas. Tom qab ntawd, muab lub hau hauv qab tso rau qhov chaw ib ntus. Tom ntej no, tso lub zog rov qab rau hauv qhov kev txiav txim raug thiab muab lub hau sab saum toj rov qab rau. Muab cov ntsia hlau rov qab thiab koj ua tiav. Koj tsim nyog tau txais txiaj ntsig txawm hais tias lub tshuab ua haujlwm ntawm qhov no.

Txhua yam uas tshuav yog kev daws teeb meem, hauv qab no yog qee qhov teeb meem kuv tau ntsib:

  1. Lub suab nrov nrov heev nyob rau hauv lub iav: 2 qhov laj thawj ua tau: cov iav tsis sib dhos tau zoo lossis DC lub cev muaj zog me me tso tsis raug. Txheeb xyuas tias lub zog nyob hauv qhov kev txiav txim raug thiab lub axis nruab nrab tuav lub 2 zog tau muab tso kom raug; xyuas seb lub zog puas huv si; xyuas tias lub tsev nyob ntawm DC lub cav tsis muaj cov khib nyiab vim nws tuaj yeem qaij lub cav me ntsis ua rau qhov kev tsis txaus ntseeg no.
  2. Lub cev tsis ua haujlwm, nws nyob ntsiag to: Txheeb xyuas tias DC lub cev muaj zog tau ruaj khov lawm; Txheeb xyuas tias 3 tus xov tooj txuas nrog koj lub microcontroller tau muab muag kom raug; Txheeb xyuas yog tias koj qhov kev sim hauv Circuit/program ua haujlwm tau zoo, Kuv pom zoo siv tus qauv servo code hauv Arduino IDE los sim. Cov xwm txheej phem tshaj plaws koj tau hlawv koj lub rooj tsav xwm hauv Circuit Court thiab yuav xav tau servo tshiab.
  3. Lub suab nrov, tab sis tsis txav mus: Lub suab nrov ntawm lub cav txhais tau tias lub cav tau tsav. Yog tias nws tsis txav mus, txheeb xyuas qhov sib txuas ntawm 3 tus xov tooj zoo li hauv 2.. Txawm li cas los xij, ceev faj kom ntev npaum li cas koj xav sim nws, nws tuaj yeem hlawv tau zoo ib yam li kuv tau ua.
  4. Tsis tuaj yeem rov sib sau ua ke/tsis nco qab tias txhua yam ua ntej disassembly!: Tsis tuaj yeem pab koj ntau dhau nyob ntawd …. Tab sis siv cov duab uas kuv tau siv los ua cov khoom siv. Rau cov khoom siv hluav taws xob nws yuav tsum yooj yim yooj yim, lossis koj tuaj yeem tshawb nrhiav koj tus qauv tshwj xeeb ntawm servo online.

Tsis txhob tso lwm cov lus nug hauv qab no thiab kuv yuav sim kuv qhov zoo tshaj plaws los pab.

Pom zoo: