Mundarija:

Oson oyoqli robot: 4 qadam
Oson oyoqli robot: 4 qadam

Video: Oson oyoqli robot: 4 qadam

Video: Oson oyoqli robot: 4 qadam
Video: 3 odamni birlashtirgan doktor ularning umriga zomin bo`ldi. 2024, Noyabr
Anonim
Oson Biped robot
Oson Biped robot
Oson oyoqli robot
Oson oyoqli robot
Oson Biped robot
Oson Biped robot

Men bu robotni o'tgan yili robototexnika o'rgatish platformasi sifatida ishlab chiqdim.

Bu robot yordamida men "FOR" yordamida servolarni to'g'ridan -to'g'ri va boshqariladigan harakatlar bilan qanday harakat qilishni o'rgataman.

Robot raqsga tushishi, yurishi va hatto yugurishi mumkin.

Sizga kerak bo'ladi:

Arduino Nano

14 erkak va erkak simlari

kichik protobard

4 ta SG90 servo

1 9V batareya

1 9V batareya ulagichi

2 ta rezina bant

1 -qadam: Ushbu robot bajarishi mumkin bo'lgan tartiblarga ba'zi misollar

Image
Image

2 -qadam: Chop etish uchun 3D model

Modelni yuklab olish uchun ushbu havolaga o'ting.

U SG90 Servos -ga moslashtirilgan. Yelim kerak emas. Hammasi zudlik bilan.

3 -qadam: Robotni birlashtirish

Robotni qanday yig'ishni o'rganish uchun videoni o'ynang.

Servo vallar holatiga alohida e'tibor bering. Robotni yig'ishdan oldin vallar to'liq markazlashtirilgan bo'lishi kerak.

Servolarni markazlashtirish uchun siz simlarni ulash tugagandan so'ng ushbu dasturni ishga tushirishingiz mumkin:

#qo'shing

O'ng oyoqli servo;

O'ng tomondagi servo;

Chap oyoqli servo;

Chap tomondagi servo;

bo'sh o'rnatish ()

{

rightfoot.attach (9);

o'ng tomonda. qo'shish (5);

leftfoot.attach (3);

chap son. qo'shish (11);

leftfoot.write (90);

leftthigh.write (90);

rightthigh.write (90);

rightfoot.write (90);

}

bo'sh halqa ()

{

kechikish (500);

}

4 -qadam: Kod namunasi

#qo'shing

O'ng oyoqli servo;

O'ng tomondagi servo;

Chap oyoqli servo;

Chap tomondagi servo;

bo'sh o'rnatish ()

{

rightfoot.attach (9);

o'ng tomonda. qo'shish (5);

leftfoot.attach (3);

chap son. qo'shish (11);

leftfoot.write (90);

leftthigh.write (90);

rightthigh.write (90);

rightfoot.write (90);

}

bo'sh halqa ()

{

// primer movimiento pata derecha

leftfoot.write (90);

rightfoot.write (110);

rightthigh.write (90);

leftthigh.write (90);

kechikish (500);

// segundo movimento pata derecha

leftfoot.write (90);

rightfoot.write (90);

rightthigh.write (90);

leftthigh.write (90);

kechikish (500);

// tercer movimiento pata derecha

leftfoot.write (90);

rightfoot.write (90);

rightthigh.write (110);

leftthigh.write (90);

kechikish (500);

// kuarto movimento pata derecha

leftfoot.write (90);

rightfoot.write (90);

rightthigh.write (70);

leftthigh.write (90);

kechikish (500);

// boshlang'ich qismi

leftfoot.write (70);

rightfoot.write (90);

rightthigh.write (90);

leftthigh.write (90);

kechikish (500);

// segundo movimento pata izda

leftfoot.write (90);

rightfoot.write (90);

rightthigh.write (90);

leftthigh.write (90);

kechikish (500);

// tercer movimiento pata izda

leftfoot.write (90);

rightfoot.write (90);

rightthigh.write (90);

leftthigh.write (70);

kechikish (500);

// eng muhimi

leftfoot.write (90);

rightfoot.write (90);

rightthigh.write (90);

leftthigh.write (110);

kechikish (500);

}

Tavsiya: