Cov txheej txheem:

16 Channel Servo Tester Nrog Arduino thiab 3D Printing: 3 Cov Kauj Ruam (nrog Duab)
16 Channel Servo Tester Nrog Arduino thiab 3D Printing: 3 Cov Kauj Ruam (nrog Duab)

Video: 16 Channel Servo Tester Nrog Arduino thiab 3D Printing: 3 Cov Kauj Ruam (nrog Duab)

Video: 16 Channel Servo Tester Nrog Arduino thiab 3D Printing: 3 Cov Kauj Ruam (nrog Duab)
Video: Dab neeg. Ua neej nrog hlua dai tuag 6/14/2017 2024, Hlis ntuj nqeg
Anonim
16 Channel Servo Tester Nrog Arduino thiab 3D Luam Ntawv
16 Channel Servo Tester Nrog Arduino thiab 3D Luam Ntawv
16 Channel Servo Tester Nrog Arduino thiab 3D Luam Ntawv
16 Channel Servo Tester Nrog Arduino thiab 3D Luam Ntawv
16 Channel Servo Tester Nrog Arduino thiab 3D Luam Ntawv
16 Channel Servo Tester Nrog Arduino thiab 3D Luam Ntawv

Zoo nkauj npaum li txhua txoj haujlwm kuv tau ua tsis ntev los no tau xav kom kuv sim tawm qee qhov kev pabcuam thiab sim nrog lawv txoj haujlwm ua ntej lawv mus rau hauv kev sibtham. Kuv feem ntau ua qhov ntsuas ntsuas servo nrawm ntawm lub khob cij thiab siv lub ntsuas saib hauv arduino IDE kom tau txais txoj haujlwm servo, tab sis lub sijhawm no kuv txiav txim siab kuv yuav kho kuv tus kheej thiab tsim ib qho kaw, kaw lus ruaj khov los sim kuv cov servos!

Tus qauv tsim tuaj yeem tswj tau 16 servos ib txhij, siv Adafruit PCA9685 servo tsav tsav. Txhawm rau kom txuag tau qhov chaw, nws tsuas muaj 4 lub hwj chim rau kev hloov kho thiab cov teeb sib cais tau siv los xaiv cov txheej ntawm plaub uas koj xav tau los tswj. Ib qho teeb meem kuv tau ntsib hauv cov ntawv thaum ntxov yog qhov tsim qauv zoo nkauj nyuaj rau cov laug thiab tom qab ntawd cram rau hauv lub thawv me me, yog li qhov kev tsim qauv tshiab tshaj plaws no tau luam tawm tiaj tus, sib dhos thiab sib dhos, ua rau nws yooj yim heev rau sib dhos!

Kuv siv lub zog ntsuas qhov ntsuas tau zoo nrog M9 mounting qhov, tab sis yog tias koj xav hloov kho Fusion 360 sib dhos kom haum rau koj cov kev xav tau, xav kom rub tawm cov ntawv: https://a360.co/2Q366j4 (lossis tsuas yog xyaum nws loj dua)).

Kuv vam tias koj yuav txaus siab rau txoj haujlwm nrawm no, Kuv paub tias kuv yuav tau txais ib tuj ntawm kev siv tawm ntawm kuv!

NCO TSEG: Kuv muaj teeb meem rub tawm lub download pob mus rau cov ntawv qhia, yog li yog tias koj tsis tuaj yeem tau txais nws ntawm no tau los ntawm kuv lub vev xaib.

Khoom siv

  • Arduino Uno:
  • Adafruit PCA9685 16-Channel Servo Driver:
  • 5.5mm DC vaj huam sib luag input -
  • 5V Fais fab mov (5A hauv qhov no kom tso cai rau ntau servos tsav) -
  • 10K Potentiometer (Nco ntsoov tias muaj chav nyob hauv kev tsim rau ntau hom potentiometer sib txawv raws li koj muaj) -
  • 10K Resistor x 2:
  • SainSmart 1.8 "TFT Xim LCD Zaub Module:
  • Push-to-make switch:
  • Hlau rau cov laug (ib leeg tub ntxhais tau muaj txiaj ntsig vim tias nws yooj yim ntsaws rau hauv arduino)

Kauj Ruam 1: Luam Ntawv thiab Sib Dhos

Luam Ntawv thiab Los Ua Ke
Luam Ntawv thiab Los Ua Ke
Luam Ntawv thiab Los Ua Ke
Luam Ntawv thiab Los Ua Ke
Luam Ntawv thiab Los Ua Ke
Luam Ntawv thiab Los Ua Ke

Tsis muaj qhov xav tau tiag tiag rau 3D luam ntawv, tsis muaj laj thawj uas koj tsis tuaj yeem luam qhov no nrog kev daws teeb meem qis. Yog tias koj tau txais lub tshuab luam ntawv loj nws tuaj yeem luam tag nrho txhua yam hauv ib qho, tab sis yog tias koj tau txais lub tshuab luam ntawv ntau dua nrog lub txaj luam tawm ntawm ib ncig 200mm x 200mm, koj tuaj yeem luam tawm lub hauv paus hauv peb qhov sib cais. Thaum koj muaj txhua qhov luam tawm, ob lub hauv paus ntawm lub hauv paus tuaj yeem koom nrog 8 * M2 x 4mm ntsia hlau.

Tam sim no koj tuaj yeem tso tag nrho cov khoom siv - lub zog thiab cov hloov pauv tuaj yeem ntsia tau rau hauv lawv cov vaj huam sib luag siv cov txiv ntoo uas lawv tuaj nrog, thiab cov laug cam tuaj yeem ntsia tau yooj yim nrog M2 x 6mm -10mm screws. Nws yuav tsum tau hais meej li cas cov laug cam mus raws li tus qauv ntawm lub qhov. Tsuas yog ib feem uas ua rau me ntsis dag zog yog tus saib, vim tias tus qauv tshwj xeeb tsis muaj kev daws teeb meem yooj yim. Kuv siv qee daim kab xev kom ruaj khov rau ntawm lub vaj huam sib luag, tab sis koj tuaj yeem siv cov kua nplaum lossis qee yam zoo sib xws.

Kauj ruam 2: Kev thaiv kab

Thaiv
Thaiv
Thaiv
Thaiv
Thaiv
Thaiv

Txoj hauv kev zoo tshaj plaws yog xaim txhua lub vaj huam sib luag kom zoo li sai tau, tom qab ntawd ua txhua qhov kev sib tshuam hla vaj huam sib luag thaum koj kaw rooj plaub. Kuv siv superglue los tuav qee cov xov hlau nyob hauv qhov chaw thiab ua kom zoo tswj cov kab hluav taws xob, thiab koj yuav tsum siv heatshrink tubing qhov twg tuaj yeem cais cov neeg sib cuag.

Kauj ruam 3: Arduino Programming

Arduino Txoj Haujlwm
Arduino Txoj Haujlwm
Arduino Txoj Haujlwm
Arduino Txoj Haujlwm
Arduino Txoj Haujlwm
Arduino Txoj Haujlwm

Muaj ob peb qhov txawv nrog lub tsev qiv ntawv uas tuaj nrog lub vijtsam, yog li kuv xav kom koj teeb tsa lub tsev qiv ntawv suav nrog hauv kuv rub tawm. Lub khoos phis tawj rau lub vijtsam no nyuaj me ntsis ntau dua li cov ntxaij vab tshaus kuv tau sim nrog, tab sis tag nrho cov phiaj xwm tseem yooj yim heev.

Txhawm rau muab koj cov ntsiab lus ntawm txoj cai ua haujlwm li cas, txoj haujlwm pib nrog tus nqi nruab nrab ntawm 350 rau txhua qhov kev pabcuam, uas zoo li yog kev nyab xeeb thawj koom ruam. Tom qab ntawd nws pib, sau tag nrho lub vijtsam nrog dub kom ua rau keeb kwm yav dhau, tom qab ntawd sau cov npe ntawm txhua qhov kev pabcuam ("Servo 3:" thiab lwm yam) thiab lawv qhov txiaj ntsig thawj zaug ntawm 350. Qhov tseeb looping ntawm txoj haujlwm ua ntej kuaj xyuas seb puas yog cov nyees khawm tau raug nias, thiab yog li ntawd txav xub thiab sau npe tam sim no xaiv servo teeb. Nws tom qab ntawd sau qhov tseem ceeb ntawm qhov dav ntawm lub plawv dhia rau txhua plaub qhov kev pabcuam hauv txheej raws li kev txheeb xyuas qhov nyeem ntawm lub hwj chim, sau cov no rau lub vijtsam daj, thiab thaum kawg teeb tsa servos rau txoj haujlwm no los ntawm servo tsav tsav. Ib qho servos uas tsis tau tsav tam sim no yuav khaws lawv txoj haujlwm raws li cov lus qhia zaum kawg.

Pom zoo: