Cov txheej txheem:

Thaub qab! Virtual Reality Game Siv Arduino & Acclerometer: 9 Kauj Ruam
Thaub qab! Virtual Reality Game Siv Arduino & Acclerometer: 9 Kauj Ruam

Video: Thaub qab! Virtual Reality Game Siv Arduino & Acclerometer: 9 Kauj Ruam

Video: Thaub qab! Virtual Reality Game Siv Arduino & Acclerometer: 9 Kauj Ruam
Video: Saib Mis paub Poj niam (hluas nkauj) tus yam ntxwv lub siab 2024, Kaum ib hlis
Anonim
Image
Image

Hauv qhov kev qhia no peb yuav tsim kev ua si Virtual Reality siv Arduino thiab Acclerometer

Kauj Ruam 1: Taw Qhia Txog Txoj Haujlwm

Yam Yuav Tsum Tau
Yam Yuav Tsum Tau

Muaj ntau qhov qhib qhov software muaj nyob rau niaj hnub no uas tau ua rau muaj kev zoo siab rau cov nyiam ua haujlwm zoo li peb, thiab Kev Ua Haujlwm yog ib qho ntawm lawv. Nrog rau JAVA daim ntawv thov no peb tuaj yeem tsim tawm tus kheej software (.exe format) thiab tseem yog daim ntawv thov Android (.apk file). Yog li peb yuav siv cov software no los tsim peb cov game

Cov khoom siv khoos phis tawj yuav suav nrog cov arduino uas yuav nqa cov tswv yim los ntawm lub ntsuas ntsuas kom pub nws txuas mus rau peb lub khoos phis tawj / Laptop.

Kauj Ruam 2: Yam Yuav Tsum Tau

  1. Arduino (txhua version lossis qauv)
  2. Accelerometer [ADXL 345] yog
  3. Txuas xov hlau

Kauj Ruam 3: 1. Nruab Lub Tsev Qiv Ntawv

1. Install Lub Tsev Qiv Ntawv
1. Install Lub Tsev Qiv Ntawv

Rub tawm Lub Tsev Qiv Ntawv ntawm koj lub ntsuas cua (zoo li no peb tau siv ADXL 345). LINK rau ADXL 345 Acclerometer Library:

Kauj Ruam 4: Kev Sib Txuas

Kev sib txuas
Kev sib txuas

GND GND

VCC 3.3V

TSO 3.3V

SDD GND

SDA AW 4

SWB A5

Kauj ruam 5: Upload Arduino Code

Rub tawm Arduino Code
Rub tawm Arduino Code

Rub tawm Arduino Code & Upload nws & nco ntsoov USB Port koj siv raws li peb yuav siv tom qab cov kauj ruam.

Txuas Rau Arduino Code:

Kauj Ruam 6: Txhim Kho Txheej Txheem IDE

Txhim Kho Kev Ua Haujlwm IDE
Txhim Kho Kev Ua Haujlwm IDE

Rub tawm & Txhim kho kev ua IDE los ntawm nws lub vev xaib raug cai.

processing.org/

Kauj Ruam 7: Kho Cov Cai

Kho cov Cai
Kho cov Cai

Rub tawm & Khiav Cov Game Code & nco ntsoov kho qhov chaw nres nkoj koj siv koj tseem tuaj yeem tshawb xyuas los ntawm arduino IDE. kuj koj tuaj yeem hloov kho qhov kev ua si raws li qhov koj xav tau thiab xav tau.

Txuas rau game code:

Kauj ruam 8: Txaus siab rau !

Txaus siab rau !!!
Txaus siab rau !!!

Khiav qhov kev ua si thiab Txaus siab rau !! [Rov qab BACK]

Sau npe yuav M-Tib Neeg Hauv Youtube Rau NTAWV QHIA TUTORIALS

www.youtube.com/channel/UCKH2OtAg810x56O6lVDAMKQ

Pom zoo: