Cov txheej txheem:

SimpleWalker: 4-legged 2-servo Walking Robot: 7 Cov kauj ruam
SimpleWalker: 4-legged 2-servo Walking Robot: 7 Cov kauj ruam

Video: SimpleWalker: 4-legged 2-servo Walking Robot: 7 Cov kauj ruam

Video: SimpleWalker: 4-legged 2-servo Walking Robot: 7 Cov kauj ruam
Video: Simple Arduino robot|Servo motor Robot| Arduino project |arduino robot 2024, Hlis ntuj nqeg
Anonim
SimpleWalker: 4-legged 2-servo Walking Robot
SimpleWalker: 4-legged 2-servo Walking Robot

Arduino (tus kheej tsim nrog atmega88) tswj cov neeg taug kev, ua nrog ob lub RC servo's thiab 1 A4 ntawm cov khoom siv

Kauj Ruam 1: Tau Cov Khoom

Tau Cov Khoom
Tau Cov Khoom

cov ntaub ntawv xav tau: 1 daim ntawv ntawm cov ntoo plywood (4mm) ntawm 21 x 29.7 cm (A4) (qhov no tuaj yeem yog cov khoom siv, tiag tiag. Koj kuj tseem tuaj yeem siv cov khoom seem, thiab txiav ib feem ntawm lawv) 2 RC servo's (tus qauv loj) nrog cov khoom siv txuas 8 screws m2 x 8 suav nrog txiv ntseej 8 screws m3 x 12 suav nrog txiv ntseej 2 screws m3 x 101 lub roj teeb ntim nrog cov xov, xov hlau 4 niMh roj teeb (nyiam dua rechargeable..since servo siv lub zog me ntsis) 1 arduino lossis sib xws microcontroller board (cheapduino)

Kauj Ruam 2: Ua Qhov

Ua Qhov Chaw
Ua Qhov Chaw
Ua Qhov Chaw
Ua Qhov Chaw
Ua Qhov Chaw
Ua Qhov Chaw

Cov ntu tuaj yeem txiav lossis pom tawm ntawm ib daim ntawv ntawm 4mm cov khoom tuab, xws li iav polycarbonate lossis ntoo. Hauv qhov piv txwv no kuv tau siv 4 hli ntoo plywood, uas tau raug txiav siv lub tshuab txiav laser hauv Fablab. Cov pdf nrog ntu tuaj yeem tau txais los ntawm nplooj ntawv hais txog qhov yooj yim Walker ntawm kuv qhov blog. Rau cov polycarbonate version ntawm blog kuv tau siv cov saw pom tsis siv lub tshuab txiav laser.

Kauj Ruam 3: Mount RC Servo's

Mount RC Servo tus
Mount RC Servo tus
Mount RC Servo tus
Mount RC Servo tus

Cov servo tuaj yeem ntsia tau siv 4 screws txhua. Siv ntoo, tus kheej tapping screws yuav txaus. Txwv tsis pub siv cov txiv ntoo thiab ntsia liaj qhov rooj.

Kauj Ruam 4: Sib dhos Ob txhais ceg

Sib dhos ob txhais ceg
Sib dhos ob txhais ceg
Sib dhos ob txhais ceg
Sib dhos ob txhais ceg
Sib dhos ob txhais ceg
Sib dhos ob txhais ceg

Mount lub servo-daim hlau rau ntawm daim phiaj-phaj siv m2 ntsia hlau. Tej zaum koj yuav tsum tau nthuav cov qhov drilled me ntsis. M2 screws tsis tas yuav siv zog ntau, lawv feem ntau yog siv ua chaw tso khoom. Lub hauv paus m3 ntsia hlau uas ntsia liaj qhov rooj mus rau lub tog raj kheej yuav nqa lub nra. Tsis txhob zawm lub hauv paus m3 screws tsis tau. Ua ntej koj yuav tsum nrhiav pom qhov servo qhov chaw nruab nrab hauv software. Tom qab nruab nrab qhov servo's (hauv cov lej arduino nrog ntau qhov kev pabcuam ntawm [0-180] nws txhais tau tias sau tus nqi '80' rau servo) koj tuaj yeem txhim kho ob txhais ceg ntawm lub kaum ntse ntse.

Kauj Ruam 5: Ntxiv Cov Khoom Siv Hluav Taws Xob thiab Roj Teeb

Ntxiv Cov Khoom Siv Hluav Taws Xob thiab Roj Teeb
Ntxiv Cov Khoom Siv Hluav Taws Xob thiab Roj Teeb
Ntxiv Cov Khoom Siv Hluav Taws Xob thiab Roj Teeb
Ntxiv Cov Khoom Siv Hluav Taws Xob thiab Roj Teeb

Lub roj teeb tuav thiab lub microcontroller board tau teeb tsa nrog ob daim nplaum nplaum. (ib qho nrog ua npuas ncauj-tub ntxhais). Lub rooj tswj hwm lub microcontroller uas tau siv yog daim ntawv qhia zaub mov ntawm cov qauv tsim los ntawm arduino uas kuv tau hu ua 'ottantotto' txij li nws siv mega88. Koj tuaj yeem siv txhua lub microcontroller board koj nyiam (Ib txwm Arduino lossis Arduino nano lossis mini yuav ua haujlwm zoo). Koj kuj tseem tuaj yeem sim tsim cov ottantotto tsim ntawm daim ntawv qhia zaub mov, raws li tau piav qhia hauv ottantotto wiki

Kauj Ruam 6: Tshaj Tawm Txoj Haujlwm

Rub tawm Txoj Haujlwm
Rub tawm Txoj Haujlwm

Arduino program yog qhov nyuaj heev. Kuv tau siv RS232 dongle ua rau ntawm lub khob cij kom tso cov program. Ib zaug ntxiv schematic, bootloader qhov chaw thiab lwm yam tuaj yeem pom ntawm wiki. Arduino duab kos:

#suav nrog Servo frontservo, backservo; char rau tom = {60, 100, 100, 100, 100, 100, 60, 60, 60}; tsis muaj teeb meem teeb tsa () {frontservo.attach (9); backservo.attach (10);} void loop () {rau (int n = 0; n <4; n ++) {frontservo.write (rau pem hauv ntej [2*n]); backservo.write (rau pem hauv ntej ((2*n) +1]); ncua (300);}} Ib

Kauj ruam 7: Tam sim no Qhib thiab tso nws mus…

Tam sim no qhib rau thiab Cia Nws Mus…
Tam sim no qhib rau thiab Cia Nws Mus…

Pom tus neeg hlau ua hauv youtube: txhua qhov peev txheej siv hauv cov lus qhia no tuaj yeem pom ntawm kuv qhov blog ntawm

Pom zoo: