Cov txheej txheem:

2 Wheeled Self Balancing Robot: 4 Kauj Ruam
2 Wheeled Self Balancing Robot: 4 Kauj Ruam

Video: 2 Wheeled Self Balancing Robot: 4 Kauj Ruam

Video: 2 Wheeled Self Balancing Robot: 4 Kauj Ruam
Video: #010 Self Balancing Robot iOS App 2024, Hlis ntuj nqeg
Anonim
Image
Image
Daim Ntawv Khw
Daim Ntawv Khw

Hauv kuv lub tswv yim txo hwj chim koj tsis yog Tus Tsim Txom Nyem, tshwj tsis yog koj tsis tsim koj tus kheej 2 lub log uas tus kheej tuav tus neeg hlau.:-)

Yog li, ntawm no nws yog… thiab, qhov tseem ceeb tshaj plaws, nws ua haujlwm !!!

Txoj haujlwm no zoo li yooj yim heev. Hloov chaw, nws xav kom muaj kev paub zoo txog kev siv lub cev (rov qab pendulum), lej lej (Kalman Lim) thiab kho tshuab (PID).

Cov no yog cov tib neeg uas tau xaiv txoj haujlwm no ua cov lus piav qhia kom tau txais Kev Kawm Qib Siab hauv engineering, yog li tsis txhob saib tsis dhau nws. Thaum txhua yam tau sib sau ua ke, koj yuav tsum ua me ntsis ntawm kev kawm paub txog kev tswj hwm PID (Sib piv, Sib xyaw thiab Derivative) ua haujlwm li cas.

Kuv tau sib sau ua ke no bot hauv 3 kev teeb tsa sib txawv, ua ntej ua tiav kev ruaj ntseg zoo nrog tus neeg hlau tsis sib txuas.

Thaum kuv pom hauv Internet tus neeg hlau nqa lub khob dej, Kuv tau txaus siab tam sim thiab kuv tau txiav txim siab muab nws mus.

CEEB TOOM !

Thov nco ntsoov tias Lipo Roj teeb yog qhov txaus ntshai.

Yog tias koj sim qhov "stunt" tsis muaj dej tsis zoo tag nrho cov khoom siv hluav taws xob siv qee qhov CorrosionX.

Yog tias koj nchuav cov dej rau ntawm tus neeg hlau, koj yuav rhuav tshem nws, tsis hais qhov tseeb qhov luv Circuit Court tuaj yeem ua rau lub roj teeb Lipo. Kev thav duab kuv siv qee qhov Oxford zoo ib yam-Lego-seem.

Tus bot tau siv los ntawm Arduino Uno clone.

Kauj Ruam 1: Daim Ntawv Khw Muag Khoom

Lego (sib xws) ntu

DC Motorshttps://www.banggood.com/DC12V-100RPM-Mini-Metal-Ge …

Arduino Clone

www.banggood.com/Txhob Muag Khoom-Arduino-Compati…

NPE-6050

www.banggood.com/6DOF-MPU-6050-3-3Axis-Gyro-…

Tsav Tsheb L298N

www.banggood.com/Qhov muag khoom-Dual-H-Bridge-D…

Roj teeb

www.banggood.com/ZOP-Power-11_1V-850mah-7…

Jumper Wire 20cm Poj Niam rau Txiv Neej

www.banggood.com/120pcs-20cm-Male-To-Femal…

JST Txuas

www.banggood.com/10-Pairs-2-Pins-JST-Femal…

*Log

* (hauv ib qho ntawm kev teeb tsa yav dhau los uas kuv tau tsim, Kuv tau tswj kom hlawv ib lub cav, yog li kuv ditched lub motors, khaws lub log)

www.ebay.co.uk/itm/191788063498?_trksid=p2…

2 zip sib

www.banggood.com/100-Pcs-White-Nylon-Cable…

Kauj Ruam 2: Tsim Tus Qauv Siv Qee Lego (sib xws) Qhov Chaw

Tsim Tus Ncej Siv Qee Qhov Lego (sib xws) Qhov Chaw
Tsim Tus Ncej Siv Qee Qhov Lego (sib xws) Qhov Chaw
Tsim Tus Ncej Siv Qee Qhov Lego (sib xws) Qhov Chaw
Tsim Tus Ncej Siv Qee Qhov Lego (sib xws) Qhov Chaw
Tsim Tus Ncej Siv Qee Qhov Lego (sib xws) Qhov Chaw
Tsim Tus Ncej Siv Qee Qhov Lego (sib xws) Qhov Chaw

Nov yog ib txoj haujlwm yooj yim heev. Kuv ntseeg tias yog Lego yuav pib ua cov khoom siv (zoo li no), sib tov cov cib nrog cov khoom siv hluav taws xob hloov kho tshiab, lawv yuav ua tau zoo dua li hais txog kev muag khoom (tam sim no lawv tab tom ua).

Xijpeem, thov nco ntsoov tias kuv tau tsiv lub Lego platform rau Arduino Uno mus rau txoj haujlwm siab dua txhawm rau txhim kho qhov sib thooj pendulum.

Txhawm rau txuas lub cav, ua 4 qhov hauv paus, hla lub zip khi (rau txhua lub cav) hauv nws.

Kuv tau ntxiv cov kua nplaum me me kom ntseeg tau tias lub cav tsis txav mus.

Kauj Ruam 3: Teeb Duab & Coding

Teeb Kab Duab & Coding
Teeb Kab Duab & Coding

Ua raws li cov txheej txheem saum toj no, xaim mus rau Arduino Uno clone, lub cev muaj zog tiv thaiv L298N, MPU-6050 thiab roj teeb.

Hais txog kev sau tus lej, koj tuaj yeem nrhiav tau yooj yim hauv Is Taws Nem tus lej rau txoj haujlwm no, uas ua tsaug rau Kalman Lim thiab rau PID (Kev sib piv, sib xyaw thiab Derivative) tswj, txhim kho kev ruaj ntseg ntawm koj tus bot.

Yog tias koj tsis pom nws, thov sau npe yuav rau kuv tus Youtube channel thiab kuv yuav xa rau koj tam sim ntawd.

Kauj ruam 4: Txaus siab rau nws

Nrog koj zoo siab, koj tau tsim koj lub log 2 tus kheej ntsuas tus neeg hlau!

Pom zoo: