Cov txheej txheem:

Arduino Robot Arm: 4 Kauj Ruam
Arduino Robot Arm: 4 Kauj Ruam

Video: Arduino Robot Arm: 4 Kauj Ruam

Video: Arduino Robot Arm: 4 Kauj Ruam
Video: Arduino Robot arm with Computer Vision 2024, Kaum ib hlis
Anonim
Arduino Neeg Hlau Caj Npab
Arduino Neeg Hlau Caj Npab

Puas tau xav kom koj tus kheej neeg hlau caj npab tuaj nqa cov xaum thiab muab lawv rau koj? Zoo saib tsis muaj ntxiv! Cov lus qhia no yuav coj koj los ntawm kev tsim qauv thiab sib dhos koj tus kheej lub caj npab zoo nkauj! Ua ntej peb yuav pib nrog kev sib sau ua ke los tsim nws, tom qab ntawv tsim kho, thiab txuas xov, thiab tom qab ntawd ua tiav thiab muaj koj tus kheej Robot Arm!

Kauj Ruam 1: Tau Txais Qhov Yuav Tsum Tau Ua

Txhawm rau tsim caj npab koj yuav tsum tau txais qee cov qauv txheej txheem:

-5mm MDF lub rooj tsavxwm lossis lwm yam 5mm tuab ntoo ntoo uas hnyav dua (Ua npuas ncauj-ua haujlwm ib yam nkaus yog tias koj tsis muaj cov cuab yeej tsim nyog los txiav ntoo kom raug)

5 x 9 Gram servos

-Arduino muaj peev xwm tswj tau yam tsawg 5 servos thiab tau txais cov tswv yim los ntawm 2 joysticks (Nyiam thiab UNO)

-Solder-tsawg breadboard

-2x 2 Axis Joysticks (lossis 4 Potentiometers, yog tias koj tsis muaj joysticks lossis qhov chaw kom tau txais lawv los ntawm)

-Wire lossis cov pas hlau muaj peev xwm siv tau ua thawb-pas nrig (Txheeb xyuas qhov tuab) (Cov tub ntxhais hlau tsis zoo, tso tseg tsis yog)

-6x qhov loj 8 ntsia hlau (Yam tsawg kawg yog 18 hli ntev) thiab cov txiv ntseej sib txuas

-1x roj teeb lossis tsuas yog txuas nws rau koj lub khoos phis tawj kom muaj zog

-Hot kua nplaum phom

-Ntau cov xov hlau (nyiam dua tso tseg) uas tuaj yeem txuas cov xov hlau txuas rau lawv txoj haujlwm thiab xaim hlua khawm.

-(Yeem tau) me me tab sis hnyav hnyav hnyav. (kwv yees li 1 kg yog qhov zoo tshaj)

* Cov lus ceeb toom tseem ceeb* koj kuj xav tau cov ntsia hlau uas tuaj nrog ntau lub servos txhawm rau txhawm rau txhim kho lawv kom nyab xeeb

Kauj Ruam 2: Txiav Tawm thiab Sib Koom Tes

Txiav Tawm thiab Sib Sau Lub Cev
Txiav Tawm thiab Sib Sau Lub Cev
Txiav Tawm thiab Sib Sau Lub Cev
Txiav Tawm thiab Sib Sau Lub Cev
Txiav Tawm thiab Sib Sau Lub Cev
Txiav Tawm thiab Sib Sau Lub Cev

Txhawm rau kom muaj caj npab ua haujlwm peb xav tau qee yam muaj peev xwm txhawb nqa servos thiab lwm yam khoom siv thiab ua haujlwm li caj npab. Rau peb tes num peb siv 5 hli tuab MDF pawg thawj coj thiab tau txiav nws nrog lub tshuab txiav laser kom ua tau raws li qhov tseeb. Yog tias koj tsis muaj peev xwm txiav ntoo, ib daim ntawv ua npuas dej-board los ntawm koj lub khw duas hauv ib cheeb tsam yuav ua ib yam nkaus. (Peb pom zoo siv qee yam hnyav heev xws li ntoo Balsa txij li 5mm MDF Thaum koj tau xaiv cov khoom siv los txiav nws los ntawm, koj yuav yog rub tawm cov ntawv txuas. Ai txiav nws ntawm lub tshuab txiav laser, lossis rub tawm-p.webp

Rau kev teeb tsa cov servos, koj ntxig rau lawv rau hauv 5 square slots thiab ntsia hlau cov servos nqes mus rau hauv qhov sib dhos. Tsis txhob txuas ib qho pushrods tseem tsis tau raws li koj xav tau kom nws muaj zog txhawm rau txhawm rau kho qhov ntev. Muaj qee cov kua nplaum kub npaj yog tias koj xav txuas cov servos mus tas li (Qhov 2 ntawm lub hauv paus yuav xav tau qee yam)

Kauj Ruam 3: Cov Khoom Siv Hluav Taws Xob

Cov Electronics
Cov Electronics
Cov Electronics
Cov Electronics
Cov Electronics
Cov Electronics
Cov Electronics
Cov Electronics

Thawj kauj ruam ntawm qhov no yog qhov pom tseeb programming Arduino. Yog tias koj xav tau kev sib tw lossis tab tom kawm yuav ua li cas, ua siab dawb ua qhov no ntawm koj tus kheej. Tsuas yog cov lus qhia koj xav tau tiag tiag yog tias koj yuav tsum khi txhua lub zog potentiometer lub teeb liab tso tawm raws li kev tso tawm rau kev tswj hwm servos. Yog tias koj tsis paub yuav ua li cas lossis tsis xav tau, koj tuaj yeem rub tawm qhov program los ntawm no ncaj qha thiab teeb tsa sai dua.

Thaum koj tau npaj qhov program nws yog lub sijhawm rau cov khoom siv hluav taws xob, ntu no yuav raug faib ua ob ntu nyob ntawm seb koj puas tau ua nws tus kheej lossis rub tawm qhov program.

Programmed nws koj tus kheej

Txuas koj lub xov tooj hluav taws xob cov xov hluav taws xob mus rau qhov kev tso tawm uas koj tau xaiv, thiab lub zog thiab hauv av siv lub lauj kaub me-ham tsawg dua los faib lub zog rau txhua 5 servos. Ua ib yam nrog txuas Joysticks, ua kom muaj zog thiab txuas lawv mus rau lub teeb liab uas koj tau xaiv.

Rub tawm qhov program

Thaum koj tau tshaj tawm Arduino, nws yog lub sijhawm los xaim nws. Siv daim duab saum toj no los xaim koj ob lub joysticks. (Pins A0, A1, A2, thiab A3. Txuas koj lub hauv paus caj npab nqa lub cev muaj zog rau tus pin 5 thiab 10, txuas rau Forearm nqa servo rau tus pin 9, txuas lub claw servo rau tus pin 6, thiab thaum kawg kab rov tav tig servo rau tus pin 11. Siv cov laug cam tsawg dua los faib lub zog los ntawm arduino (5v tus pin thiab gnd pin) rau lub zog thiab hauv av txhua qhov kev pabcuam nrog rau lub joysticks.

Thaum txhua yam txuas nrog thiab Arduino muaj qhov program tso tawm, muab txhua yam kev xeem khiav. Nco ntsoov tias koj yuav tsum muaj ib khub servos (pins 5 thiab 10) txav mus rau tib lub sijhawm tab sis nyob hauv cov lus qhia rov qab. yog li ntawd thaum rub rau ntawm lub thawb-pas lawv tuaj yeem nqa caj npab tuaj.

Kauj Ruam 4: Ua tiav

Image
Image
Arduino Kev Sib Tw 2017
Arduino Kev Sib Tw 2017

Thaum koj muaj caj npab ua tiav, nws yog lub sijhawm rau theem kawg. Yog tias koj tseem tsis tau muaj, txuas koj cov servos rau sab caj npab thiab siv zog rau lawv, Kho koj lub laub pas nrig ntev kom haum raws li qhov max/min yuav tso lub caj npab li cas. Nco ntsoov tias koj muaj qee cov hlau ntxiv thaum koj ua nws kom koj tsis txhob xaus nrog tus pas nrig luv kom ncua qhov ntev. Thaum koj muaj txhua yam txuas nrog, muab nws mus! Thaum koj tau kho txhua yam rau koj nyiam, koj ua tiav. Txaus siab rau koj lub caj npab Robot tshiab!

Pom zoo: