Cov txheej txheem:

Hacking Servos Ua Haujlwm Rau Koj Txoj Kev: 9 Kauj Ruam
Hacking Servos Ua Haujlwm Rau Koj Txoj Kev: 9 Kauj Ruam

Video: Hacking Servos Ua Haujlwm Rau Koj Txoj Kev: 9 Kauj Ruam

Video: Hacking Servos Ua Haujlwm Rau Koj Txoj Kev: 9 Kauj Ruam
Video: 6 Nqi Lus Qhia Kev Ua neej ( leej twg mloog lub neej yuav zoo tuaj) 2024, Hlis ntuj nqeg
Anonim
Hacking Servos Ua Haujlwm Rau Koj Txoj Kev
Hacking Servos Ua Haujlwm Rau Koj Txoj Kev

Servos yog qee qhov siv tau zoo tshaj plaws hauv cov neeg hlau. Lawv muaj lub zog loj, me me, sib xyaw H-choj, PWM tswj, thiab lwm yam. Lawv tuaj yeem siv nrog RC systems, Arduino, thiab ntau txoj hauv kev. Tab sis qee zaum nws tuaj yeem nyuaj rau siv lawv lub zog. Tej zaum koj xav tau nws kom tig ntau dua 360 degrees (kev sib hloov tas li), koj xav xa nws mus rau koj li phiaj xwm Lego, lossis koj tsis tuaj yeem sawv nrog peb lub xov hlau ua ke thiab ib txwm muaj siv qee lub xov hlau txuas los txuas nws. Cov tshuaj: cia li hack nws!

Kauj ruam 1: Cov ntaub ntawv

Khoom siv
Khoom siv
Khoom siv
Khoom siv
Khoom siv
Khoom siv
Khoom siv
Khoom siv
  1. Ua ntej tshaj plaws, koj yuav tsum xav tau servo. Kuv tau loj hlob nyiam cov SG90 me me, vim tias lawv pheej yig heev thiab tau tsim rau cov haujlwm me me zoo li kuv. Hauv daim duab thib ob koj tuaj yeem pom ib qho ntawm kuv, nrog txhua ntu suav nrog.
  2. Qhov thib ob, tau txais qee qhov me me Phillips lossis lub hau ntswj taub hau. Peb yuav siv lawv los qhib lub tsev pabcuam.
  3. Thib peb, tau txais lub tshuab txiav lossis X-Acto riam. Nws tsis yog qhov tsis tseem ceeb, tab sis nws tuaj yeem yooj yim los hloov qee qhov ntawm qhov chaw pabcuam.
  4. Plaub, nrhiav qee yam superglue.
  5. Koj kuj tseem xav tau txais cov ntawv lossis qee cov ntawv xuab zeb los pab koj nrog cov npoo tsis sib xws rau gluing.
  6. Kuv kuj tau ntxiv Arduino, txij li kuv ib txwm siv nws los cuam tshuam cov kev pabcuam. Koj tuaj yeem siv lwm qhov pwm uas koj nyiam.
  7. Qhov no yog qhov xaiv tau ntau dua: ua kom lawv muaj peev xwm txuas nrog Legos rau koj cov phiaj xwm sib txawv (hauv kuv qhov teeb meem bluetooth neeg hlau (yuav ua Ible rau qhov sai sai!)), Koj yuav xav tau ob 2x1 tiaj Lego daim, => 6x4 platform (qhov loj me lossis loj dua), 1x (ib qho me me) tiaj tus, Technic hla-qag (txhua qhov loj me) thiab 1x1 Technic cib. Muaj cov duab ntawm lawv txhua tus thaum pib ntawm cov kauj ruam no.

Kauj Ruam 2: Thawj Mod: Tshem Tawm Cov Stickers

Thawj Mod: Tshem Tawm Cov Stickers
Thawj Mod: Tshem Tawm Cov Stickers

Thawj qhov peb yuav ua yog, qhov tseeb, tsis muaj dab tsi lav qhov servo tuaj yeem muaj. Koj puas tau nug koj tus kheej vim li cas kuv cov servo tsis muaj ib qho hauv Cov Khoom Siv kauj ruam? Zoo, tsis tuaj yeem sawv pom kuv cov servo nrog nws, yog li kuv tsuas yog yuav tsum ua nws. Yog tsis yog, koj yuav tsis tuaj yeem qhib lub servo lub tsev thiab txuas ntxiv nrog txoj haujlwm.

Kauj Ruam 3: Cais Peb-Hlau Txuas Txuas

Cais Peb-Hlau Txuas Txuas
Cais Peb-Hlau Txuas Txuas
Cais Peb-Hlau Txuas Txuas
Cais Peb-Hlau Txuas Txuas
Cais Peb-Hlau Txuas Txuas
Cais Peb-Hlau Txuas Txuas
Cais Peb-Hlau Txuas Txuas
Cais Peb-Hlau Txuas Txuas

Ib yam uas ua rau kuv ntxhov siab heev thawj zaug kuv yuav ib qho ntawm cov kev pabcuam no yog tias peb lub xov tooj tau koom nrog thiab kuv tsis muaj ib tus poj niam-txiv neej cable txuas rau lawv. Tsis tas li ntawd, qhov ntawd tsuas yog nkim chaw. Yog li kuv txiav txim siab ua dab tsi? Kuv yooj yim tshem tawm peb tus pin txuas thiab hloov nws ib tus zuj zus nrog ib tus pin txuas. Qhov tshwm sim? Kuv tuaj yeem txuas nws ncaj qha rau kuv Arduino thiab txuag qhov chaw tseem ceeb.

  1. Thawj qhov koj yuav tsum ua yog tau txais peb tus poj niam yas tus pin txuas. Lob rab koob lossis rab taub hau me me thiab nqa lub hnab yas me me (sim tsis txhob tsoo lawv!) Thiab rub lub cable tawm (saib cov duab). Ua tib yam rau peb qhov txuas thiab rau cov xov hluav taws xob.
  2. Tam sim no txhua yam koj yuav tsum ua yog thawb txhua qhov ntawm koj lub xov tooj cua servo rau hauv lawv lub tsev tshiab. Cov ntawv yas yuav tsum poob rau hauv qhov chaw thiab tsis pom cov hlau kov yuav tsum pom. Nrog cov sib txuas ua ke peb-kab koj tuaj yeem ua lwm txoj haujlwm, tsuas yog haum rau hauv cov hlua thiab siv lawv raws li koj xav tau.

Kauj Ruam 4: Tshem Tawm Qee Cov Ntsia Hlau

Tshem qee Cov Ntsia Hlau
Tshem qee Cov Ntsia Hlau
Tshem qee Cov Ntsia Hlau
Tshem qee Cov Ntsia Hlau
Tshem qee Cov Ntsia Hlau
Tshem qee Cov Ntsia Hlau

Txhawm rau kom yooj yim disassembling, kuv txiav txim siab tshem qee cov ntsia hlau uas tuav lub tsev nyob ua ke. Yog tias cov servos muaj plaub ntawm cov ntsia hlau ntev, tsuas yog tshem tawm ob ntawm lawv thiab khaws lwm tus nyob hauv qhov chaw. Yog tias, ntawm qhov tod tes, qhov servo tsuas muaj ob qho, txheeb xyuas seb nws puas muaj qee lub studs nyob rau sab saud thiab qis dua ntawm lub tsev. Txheeb xyuas cov duab saum toj no. Yog tias, ua tau zoo, servo muaj lub pob, koj tuaj yeem tso nws yam tsis muaj cov ntsia hlau thiab nws yuav tsum tuav hauv qhov chaw. Yog tias, txawm li cas los xij, nws tsis yog, koj tsuas yog yuav tsum tso lawv rau hauv qhov chaw.

Kauj Ruam 5: Txiav Ib Feem Ntawm Qhov Tawm

Txiav Ib Feem Ntawm Qhov Tawm
Txiav Ib Feem Ntawm Qhov Tawm
Txiav Ib Feem Ntawm Qhov Tawm
Txiav Ib Feem Ntawm Qhov Tawm
Txiav Ib Feem Ntawm Qhov Tawm
Txiav Ib Feem Ntawm Qhov Tawm

Hauv theem no, peb yuav hloov kho qee qhov kom lawv tsis txhob thab plaub.

  1. Ua ntej tshaj plaws, cais qhov chaw nyob hauv servo. Lob lub sab saud (raws li pom hauv thawj daim duab) thiab txiav cov sab uas muaj qhov rau qee qhov ntsia hlau. Txheeb cov duab kom paub tseeb tias koj tsis txiav qhov tsis raug. Cov tsev nyob sab saud yuav tsum zoo li qhov pom hauv thawj daim duab ntawm sab xis.
  2. Qhov thib ob, tuav lub iav loj (loj nrog lub taub ntev) thiab txiav, nrog qhov tseeb, cov yas me me nres hauv qab nws (tsis yog lub taub hau!). Nws tau tshwm sim rau kuv ib zaug tias qee cov hniav ntawm lub iav tseem ceeb tau tawg, yog li kuv yuav tsum tshem lub iav tawm, txav nws 90 degrees lossis qee yam thiab tom qab ntawd muab nws rov qab dua, dag cov servo rau hauv kev xav nws tseem nyob hauv qhov chaw raug (tus ncej muaj cov duab plaub fab nyob hauv ib feem uas nws txuas rau lub zog ntsuas. Nws tuaj yeem tig nws 90 lossis 180 degrees thiab nws tseem haum rau hauv cov kab sib dhos). Yog tias kuv tsis tau tshem daim me me uas tau hais yav dhau los, Kuv tsis tuaj yeem ua nws vim nws yuav tau daig. Raws li koj tuaj yeem pom hauv cov duab, tsis muaj ib qho ntawm kuv lub zog muaj daim me me hauv qab lawv.
  3. Qhov kev hloov pauv thib ob no yuav yog rau cov uas xav ua lawv cov kev pabcuam txuas mus tas li. Raws li koj tuaj yeem pom hauv cov duab, muaj cov duab ntawm ob lub zog sib txawv. Lawv yog cov tseem ceeb. Hauv kev ua haujlwm zoo ib yam, tus ncej hla dhau lub iav thib ob, tus ncej tuav thiab lub hwj chim. Txhawm rau kom nws tig ntau dua 180 degrees, peb yuav tsum ua kom lub qag luv dua, yog li nws tsis txav lub hwj chim lub zog tso tseem haum rau hauv tus tuav. Saib cov duab thiab ntsuas koj cov servo thiab cov ncej kom zoo zoo, tom qab ntawv txiav. Ib feem me me ntawm nws yuav tsum haum rau hauv tus tuav, kom nws tsis txhob tawm ntawm qhov chaw thaum siv.
  4. Kuv yuav ua rau ncua sijhawm tam sim no. Hauv Feem ntau Cov Lus Qhia rau kev hloov kho servos mus rau qhov sib hloov tas mus li, koj pom tias lub zog ntsuas tau raug tshem tawm thiab ob qhov sib npaug tiv thaiv tau ntxiv rau hauv nws qhov chaw. Kuv yuav tsis ua qhov no, txij li cov neeg tawm tsam ib txwm muaj qhov yuam kev me ntsis. Hloov chaw, Kuv yuav tawm ntawm lub zog thiab, hauv txhua qhov haujlwm, Kuv yuav tshem tag nrho lub zog thiab kho nws tus kheej. Kuv nyiam qhov kev xaiv no txij li, piv txwv li, Arduino joystick kuv muaj tsis yog ib qho zoo kawg nkaus, yog tias kuv tau tshwm sim los tso ob tus tiv thaiv, kuv yuav tau hloov kho software, uas nyuaj dua. Tam sim no kuv tsuas yog yuav tsum tau disassemble cov servo (ua kom yooj yim dua los ntawm kev tshem tawm qee cov ntsia hlau) thiab kho lub wiper nrog lub taub hau me me.

Kauj Ruam 6: Ntxiv Lego Parts

Ntxiv qhov Lego Parts
Ntxiv qhov Lego Parts
Ntxiv qhov Lego Parts
Ntxiv qhov Lego Parts
Ntxiv qhov Lego Parts
Ntxiv qhov Lego Parts

Hauv cov kauj ruam no, peb yuav lo ob daim 2x1 tiaj rau ob sab ntawm qhov kev pabcuam (yog tias koj yuav tsum ua kom tiaj tiaj 2x1 vuas, koj tuaj yeem siv lawv hloov lwm yam. Qhov tshwm sim zoo ib yam nkaus).

  1. Ua ntej, txiav cov studs tawm ntawm ob 2x1 daim siv X-Acto. Koj yuav tsum tso lawv tiaj tus. Siv cov ntawv txhuam los yog cov ntawv ua rau lawv qhov chaw.
  2. Sib sau ua ke lub platform thiab 1x1 Technic thooj raws li qhia. Ntxiv cov pobzeb tiaj tus tshiab raws li pom hauv cov duab.
  3. Ntxiv qee qhov superglue rau ib nrab ntawm 2x1 daim uas nyob deb tshaj ntawm 1x1 Technic cib. Qhov no yog txhawm rau tiv thaiv lub tsev nyob sab saud ntawm servo kom tsis txhob nyam mus rau qhov nruab nrab. Txoj kev no, nws tuaj yeem raug tshem tawm tag nrho tom qab.
  4. Muab lub servo hla lub superglue, haum lub qag rau hauv Technic cib. Nws yuav tsum haum snugly. Saib los ntawm saum toj no thiab txheeb xyuas tias sab ntawm servo ntau dua lossis tsawg dua ua ke nrog Lego studs. Txawm hais tias nws tsis yog tus lej ntawm lawv qhov dav, nws yuav tsum ntau dua lossis tsawg dua rau lawv. Nias rau ib pliag.
  5. Nqa cov servo (nrog daim nplaum) tawm ntawm lub platform. Sib sau ua ke lub platform dua tab sis sab laug. Ntxiv cov pobzeb 2x1 thiab muab qee qhov superglue nyob rau tib yam li tau hais los yav dhau los. Mount lub servo rau nws thiab nias nws nyuaj.
  6. Koj yuav tsum tau sab laug nrog servo glued rau ob daim. Txheeb xyuas yog tias lawv ntau dua lossis tsawg dua hauv tib txoj haujlwm ntawm servo sab los tiv thaiv lawv los ntawm qhov chaw thaum tso lawv rau ntawm koj Lego. Yog tias koj glued lawv kom raug, koj yuav tsum muaj peev xwm cais qhov sab saud los ntawm ib nrab. Yog tias nws tsis siv koj X-Acto los txiav me ntsis, tab sis tsis ntau dhau.

Kauj Ruam 7: Hloov Kho Qag

Hloov Kho Qag
Hloov Kho Qag
Hloov Kho Qag
Hloov Kho Qag

Hauv cov kauj ruam no, peb yuav hloov kho lub qag servo kom nws tuaj yeem haum Lego zog, lub log, thiab lwm yam.

  1. Ua ntej tshaj plaws, tau txais koj Lego hla-qag. Siv nws los kos tus ntoo khaub lig ntawm lub qag servo nrog tus cim lossis tus cwj mem. Sim ua ntawm "caj npab" ntawm tus ntoo khaub lig taw tes ntawm 90 degree txoj haujlwm ntawm servo (lwm tus ntawm 0, 180 thiab "270). Qhov no tsuas yog rau cov khoom muag.
  2. Yog tias koj xav tias lub qag tsis muaj txiaj ntsig, tsuas yog tuav lub servo qag thiab pom lub qhov ntsia hlau me me nws muaj nyob hauv nruab nrab. kos kab ib sab saum toj ntawm lub qag uas kov lub voj voog no tab sis tsis hla nws. Ua txoj kab sib luag ntawm lwm sab. Koj yuav tsum muaj kab txaij dav ib yam li lub qhov ntsia hlau. Tam sim no ua lwm txoj hlua loj tib yam tab sis nyob ib puag ncig rau yav dhau los, tsim tus ntoo khaub lig. Txheeb nws qhov loj nrog qhov ntawm koj lub qag thiab sib piv nws.
  3. Tam sim no txiav raws kab (sim tawm qee qhov npoo) thiab tshem tawm ntawm plaub lub ces kaum no. Kuv ua raws txoj kev no thiab nws ua haujlwm tau zoo heev. Sim txiav tsawg dua qhov xav tau thiab tom qab ntawd txiav nws nrog koj rab riam. Saib seb nws haum rau sab hauv lub iav lossis lub log. Sim ua kom nws haum ntau dua lossis tsawg dua nruj, yog tias tsis yog, nws yuav sib cais thaum siv. Tsis txhob txiav qhov rugged sab nrauv ntawm tus ntoo khaub lig uas tseem tshuav, cov grooves tau siv los tuav cov khoom qub (lub suab raj). Raws li koj tuaj yeem pom hauv cov duab, lawv tseem ua haujlwm tom qab tus qauv.

Kauj Ruam 8: Lo Lus Qhia Tawm

Lo lus ntawm Tswv yim
Lo lus ntawm Tswv yim
Lo lus ntawm Tswv yim
Lo lus ntawm Tswv yim
Lo lus ntawm Tswv yim
Lo lus ntawm Tswv yim
Lo lus ntawm Tswv yim
Lo lus ntawm Tswv yim
  1. Ua ntej tshaj plaws, paub txog koj cov servos. Kawm paub yuav ua li cas sib cais thiab rov ua lawv dua, yuav kho lub wiper li cas, thiab lwm yam.
  2. Qhov thib ob, muaj kev saib xyuas nrog peb txoj kab hluav taws xob. Kuv qhov kev paub qhia rau kuv tias nws yog qhov pom zoo kom rov muag lawv tom qab yuav lawv, vim nws tshwm sim qee zaum tias lawv yuav pib tawg thiab ua luv luv.
  3. Qhov thib peb, thaum sib dhos lawv, sim tsis txhob xoob ib daim. Saum toj no yog daim duab ntawm plaub lub zog loj thiab lub qag, nrog rau cov servo yam tsis muaj lub hau sab saud (koj tuaj yeem pom txhua ntu hauv nws). Kawm paub yuav ua li cas lawv mus ua ke thiab sim tsis ua txhaum ib qho ntawm lawv. Yog tias qee qhov hniav loj tshaj plaws ua, qhov tseeb, tawg, nco ntsoov tias koj tuaj yeem tuaj yeem khaws nws me ntsis los ntawm kev txo qhov siab thiab min kaum (tshwm sim rau kuv!), Tshwj tsis yog, tau kawg, nws tau txuas ntxiv mus tas li ib. Pom tseeb, tsis txhob hla txhua qhov kev pabcuam tawm (H-choj tseem muaj txiaj ntsig!).

Kauj Ruam 9: Xaus

Zoo, uas yog txhua yam! Vam tias koj txaus siab rau Cov Lus Qhia no thiab nws tau muaj txiaj ntsig zoo rau koj. Yog tias muaj qee yam tsis raug lossis koj xav tau kev pab, tsis txhob ua siab deb nug! Cov Haujlwm Zoo thiab Zoo Los Ntawm!

Pom zoo: