Cov txheej txheem:

3D Maze Game Siv Arduino: 8 Kauj Ruam (nrog Duab)
3D Maze Game Siv Arduino: 8 Kauj Ruam (nrog Duab)

Video: 3D Maze Game Siv Arduino: 8 Kauj Ruam (nrog Duab)

Video: 3D Maze Game Siv Arduino: 8 Kauj Ruam (nrog Duab)
Video: Can water solve a maze? 2024, Hlis ntuj nqeg
Anonim
3D Maze Game Siv Arduino
3D Maze Game Siv Arduino
3D Maze Game Siv Arduino
3D Maze Game Siv Arduino
3D Maze Game Siv Arduino
3D Maze Game Siv Arduino
3D Maze Game Siv Arduino
3D Maze Game Siv Arduino

Nyob zoo cov phooj ywg, yog li hnub no peb yuav ua qhov kev tshawb nrhiav siv ARDUINO UNO.

Raws li Arduino Uno yog pawg thawj coj saib feem ntau nws txias heev los ua si nrog nws. Hauv Cov Lus Qhia no ua rau kev ua si tshawb nrhiav uas yog tswj siv joysticks.

Tsis txhob hnov qab Pov npav thiab qhov no yog kuv thawj qhov kev qhia.

Khoom siv:

1. Cardboard (MDF Board)

2. Joystick Module*2

3. SG90 Servo Tsav*4

4. Arduino Uno

5. Breadboard

6. Ceev

7. Ntsia tus pin

8. Jumper xov hlau

9. Txuas cov xov hlau

10. Some daim duab los qhia

Kauj ruam 1: Koom nrog Joystick

Koom nrog Joystick
Koom nrog Joystick

Ua ntej tshaj plaws peb yuav ua tus tswj chaw taws teeb los tswj peb cov teeb tsa kev ua si

Qhov no ua tiav tau yooj yim los ntawm kev siv joystick module. Muab lub joystick module tso rau ntawm daim duab los qhia thiab ntxiv ob sab daim ntawv los ua kom zoo li lub caj npab jostick. Qhov kev tswj hwm wo no tau pab tswj hwm 4 servo motors tau zoo thiab nws ua rau kev tswj tau txias heev txawm tias. Txawm hais tias yog koj xav ua kom muaj kev nyuaj ntawm peb cov kev ua si koj tuaj yeem ua kev sib txuas ntawm servo nrog jostick module hauv qhov tsis sib xws yooj yim.

Kauj ruam 2: Daim

Tej daim
Tej daim
Tej daim
Tej daim

Nqa cov duab los qhia thiab ua qee daim raws li qhov loj ntawm servo motors.

Cov ntawv los ntawm daim ntawv no tuaj yeem txuas cov servo motors sib npaug rau ib leeg.

Kauj ruam 3: Koom nrog Servos

Koom nrog Servos
Koom nrog Servos
Koom nrog Servos
Koom nrog Servos

Siv ob lub cav servo thiab txuas lawv ib leeg rau ib leeg kom lawv tuaj yeem tswj tau X thiab Y axis tig ntawm qhov tshawb nrhiav thaum tswj nrog tus joystick.

Muab ob khub no tso rau ntawm daim duab los tuav lub tshawb nrhiav nws.

Txhawm rau ua kom lub hauv paus ruaj khov peb tseem tuaj yeem siv MDF pawg ntau dua li cov duab los qhia.

Kauj Ruam 4: Txuas Qhov Chaw

Txuas Qhov Chaw
Txuas Qhov Chaw

Muab lub khob cij thiab Arduino Uno tso rau ntawm daim duab los qhia ntawv thiab txuas nws nrog lub joysticks siv rab yaj phom.

Kauj Ruam 5: Txiav

Txiav
Txiav
Txiav
Txiav
Txiav
Txiav

Nqa cov duab los qhia thiab ua qhov nyuaj tshawb nrhiav nws.

Tom qab ntawd siv daim ntawv duab los ua kom pom 3D yooj yim thiab puag ncig nws nrog ciam teb.

Kauj Ruam 6: Kev Sib Txuas

Kev sib txuas
Kev sib txuas

1. Txuas s1, s2, s3 thiab s4 rau arduino digital pins (ib yam raws li koj)

2. Txuas cov jostick modules rau cov pins analog A0, A1, A1 THIAB A3 sib txuas ua ke.

NCO TSEG:-

1. Nco ntsoov thaum rub tawm qhov program muab rau hauv arduino tias koj tus pin txuas nrog thiab tus pin analog yuav tsum zoo ib yam yog li qhov haujlwm tsis ua haujlwm.

2. Hloov tus pin no. nyob rau hauv txoj cai programming raws li koj qhov kev sib txuas.

Kauj ruam 7: Programming

Programming
Programming

docs.google.com/document/d/1Rnvig5YBqGpCQB…

Cia peb xa cov cai.

Kauj Ruam 8: Qhov tshwm sim

Qhov tshwm sim
Qhov tshwm sim

Peb 3D MAZE GAME tau npaj los ua si.

Pom zoo: