Cov txheej txheem:

Arduino Lub Koob Yees Duab Stabilizer DIY: 4 Cov Kauj Ruam (nrog Duab)
Arduino Lub Koob Yees Duab Stabilizer DIY: 4 Cov Kauj Ruam (nrog Duab)

Video: Arduino Lub Koob Yees Duab Stabilizer DIY: 4 Cov Kauj Ruam (nrog Duab)

Video: Arduino Lub Koob Yees Duab Stabilizer DIY: 4 Cov Kauj Ruam (nrog Duab)
Video: DIY Slider for DSLR Camera - txua lub txhoj tso khiav koob thaij yees duab 2024, Hlis ntuj nqeg
Anonim
Arduino Lub Koob Yees Duab Stabilizer DIY
Arduino Lub Koob Yees Duab Stabilizer DIY

Kuv tau ua Lub Koob Yees Duab ruaj khov siv arduino rau lub tsev kawm ntawv txoj haujlwm.

Koj yuav xav tau:

1 x Arduino Uno

3 x Servo tsav

1 x Gyroscope MP6050

2x Khawm

1 x Potentiometer

1 x Breadboard

(1x Cov khoom siv hluav taws xob sab nraud)

Kauj Ruam 1: Kauj Ruam 1: Txhim Kho Circuit

Kauj Ruam 1: Tsim Circuit Court
Kauj Ruam 1: Tsim Circuit Court

Txuas cov xov hlau raws li hauv qab no

(Daim ntawv ceeb toom twg servo txuas nrog tus pin twg thiab khawm twg txuas nrog tus pin, vim qhov no yuav txiav txim siab nws txoj haujlwm tom qab)

MP6050:

SCL rau Analog Pin A5

SDA rau Analog Pin A4

INT rau Digital Pin 2

Servo 1: Tus Pin 9

Servo 2: Tus Pin 10

Servo 3: Tus Pin 11

Khawm 1: Digital Pin 7

Khawm 2: Digital Pin 8

Potentiometer: Analog Pin A0

Kauj ruam 2: Kauj ruam 2: Code

ua ntej koj siv cov cai no, xyuas kom koj muaj lub tsev qiv ntawv raug rau MP6050

(https://github.com/jrowberg/i2cdevlib/tree/master/…

cov cai no yuav teeb tsa nws kom 2 servo's yuav tawm tsam qhov kev hloov pauv, thiab qhov thib 3 servo yuav raug tswj los ntawm lub zog ntsuas. kuj nws yuav ntxiv 2 khawm. khawm 1 uas, thaum tuav, yuav tso tseg cov txheej txheem ruaj khov thiab ua rau txhua qhov kev pabcuam rov qab los rau lawv qhov chaw nruab nrab, thiab khawm 2, uas yuav teeb tsa qhov taw qhia tshiab. (tsuas yog siv khawm 2 thaum khawm 1 tseem raug nias txij li lwm qhov koj teeb tsa qhov chaw tam sim no raws li qhov chaw tshiab qhia.)

Kauj Ruam 3: Kauj Ruam 3: Lub Tsev

Kauj Ruam 3: Lub Tsev
Kauj Ruam 3: Lub Tsev

Kuv muaj tus qauv rau 3d qauv ntawm tus ncej, nrog txiav hauv qhov rau servo motors thiab lub taub hau servo txuas uas koj tuaj yeem rub tawm thiab luam tawm 3d. lossis koj tuaj yeem siv cov teeb tsa no los ua nws tawm ntawm lwm cov khoom, zoo li ntoo (nco ntsoov koj tsis txhob siv cov khoom hnyav dhau, txij li cov servo yuav tsis tuaj yeem tuav nws)

Cov ntaub ntawv Arduino:

2 x 11 x 8 cm thooj

2 x 8 x 4 cm cm

1 x 11 x 4 cm thooj

Handheld puag:

4x ib 15 x 3 cm

1 x 3 x 3 cm os

Caj npab 1:

1 x 15 x 4 cm thooj

1 x 12 x 4 cm thooj

Caj npab 2:

1 x 12 x 4 cm thooj

1 x 11 x 4 cm thooj

2 tus tuav lub cev:

4x ib 2,8 x 2,3 cm

2x ib 2.8 los ntawm 1.3 cm thooj

Kauj Ruam 4: Kauj Ruam 4: Txaus siab rau: D

Tam sim no koj tuaj yeem txaus siab rau koj tus kheej ua lub koob yees duab ruaj khov. Yog tias nws kaw lossis pib ua qhov tsis hloov pauv sai ntawm arduino yuav tsum txaus kom nws rov ua haujlwm dua.

Kuv vam tias qhov no muaj txiaj ntsig nyob rau hauv ib qho twg thiab koj yuav txaus siab rau txoj haujlwm koj tab tom ua haujlwm!: D

Pom zoo: