Cov txheej txheem:

Yooj Yim Biped Neeg Hlau: 4 Kauj Ruam
Yooj Yim Biped Neeg Hlau: 4 Kauj Ruam

Video: Yooj Yim Biped Neeg Hlau: 4 Kauj Ruam

Video: Yooj Yim Biped Neeg Hlau: 4 Kauj Ruam
Video: More Strange Humanoids: 15 True Cases 2024, Lub Xya hli ntuj
Anonim
Yooj Yim Biped Neeg Hlau
Yooj Yim Biped Neeg Hlau
Yooj Yim Biped Neeg Hlau
Yooj Yim Biped Neeg Hlau
Yooj Yim Biped Neeg Hlau
Yooj Yim Biped Neeg Hlau

Kuv tau tsim kho cov neeg hlau no rau xyoo dhau los los siv nws ua lub platform qhia cov neeg hlau.

Nrog tus neeg hlau no kuv qhia yuav ua li cas txav servos nrog kev txav ncaj qha thiab nrog kev txav txav siv "FOR"

Tus neeg hlau tuaj yeem seev cev, taug kev thiab txawm tias khiav.

Koj yuav xav tau:

Arduino Nano Cov

14 txiv neej-txiv neej xov hlau

protoboard me me

4 SG90 servos

Roj teeb 19V

19V roj teeb txuas

2 txoj hlua roj hmab

Kauj Ruam 1: Qee Qhov Piv Txwv ntawm Cov Txheej Txheem Uas Tus Neeg Hlau no Ua Tau

Image
Image

Kauj Ruam 2: 3D Qauv Luam

Ua raws li qhov txuas no mus rub tus qauv.

Nws tau ntsuas kom haum SG90 Servos. Tsis xav tau kua nplaum. Txhua yam yog snap-on.

Kauj Ruam 3: Tso Ua Ke Cov Neeg Hlau

Ua si cov vis dis aus kom kawm paub yuav ua li cas sib dhos cov neeg hlau.

Ua tib zoo saib xyuas rau txoj haujlwm ntawm cov khoom siv servo. Cov shafts yuav tsum yog qhov ncaj nraim ua ntej sib dhos cov neeg hlau.

Txhawm rau nruab nrab koj cov servos, koj tuaj yeem ua haujlwm qhov program no thaum koj cov xov txuas tiav:

#suav nrog

Servo txoj cai taw;

Servo txoj cai;

Servo sab laug;

Servo sab laug;

void teeb tsa ()

{

rightfoot.attach (9);

rightthigh.attach (5);

leftfoot.attach (3);

leftthigh.attach (11);

leftfoot.write (90);

leftthigh.write (90);

rightthigh.write (90);

rightfoot.write (90);

}

void lub voj ()

{

ncua (500);

}

Kauj Ruam 4: Piv Txwv

#suav nrog

Servo txoj cai;

Servo txoj cai;

Servo sab laug;

Servo sab laug;

void teeb tsa ()

{

rightfoot.attach (9);

rightthigh.attach (5);

leftfoot.attach (3);

leftthigh.attach (11);

leftfoot.write (90);

leftthigh.write (90);

rightthigh.write (90);

rightfoot.write (90);

}

void lub voj ()

{

// primer movimiento pata derecha

leftfoot.write (90);

rightfoot.write (110);

rightthigh.write (90);

leftthigh.write (90);

ncua (500);

// segundo movimento pata derecha

leftfoot.write (90);

rightfoot.write (90);

rightthigh.write (90);

leftthigh.write (90);

ncua (500);

// tercer movimiento pata derecha

leftfoot.write (90);

rightfoot.write (90);

rightthigh.write (110);

leftthigh.write (90);

ncua (500);

// cuarto movimento pata derecha

leftfoot.write (90);

rightfoot.write (90);

rightthigh.write (70);

leftthigh.write (90);

ncua (500);

// primer movimiento pata izda

leftfoot.write (70);

rightfoot.write (90);

rightthigh.write (90);

leftthigh.write (90);

ncua (500);

// ua raws li cov lus qhia hauv qab no

leftfoot.write (90);

rightfoot.write (90);

rightthigh.write (90);

leftthigh.write (90);

ncua (500);

// tercer movimiento pata izda

leftfoot.write (90);

rightfoot.write (90);

rightthigh.write (90);

leftthigh.write (70);

ncua (500);

// cuarto movimento pata izda

leftfoot.write (90);

rightfoot.write (90);

rightthigh.write (90);

leftthigh.write (110);

ncua (500);

}

Pom zoo: