Cov txheej txheem:

DIY Arduino 2d Motion Racing Simulator: 3 Kauj Ruam
DIY Arduino 2d Motion Racing Simulator: 3 Kauj Ruam

Video: DIY Arduino 2d Motion Racing Simulator: 3 Kauj Ruam

Video: DIY Arduino 2d Motion Racing Simulator: 3 Kauj Ruam
Video: Amazing arduino project 2024, Kaum ib hlis
Anonim
DIY Arduino 2d Motion Racing Simulator
DIY Arduino 2d Motion Racing Simulator

Hauv Cov Ntawv Qhia Kuv yuav qhia koj li cas los tsim kev lom zem tsav tsheb sim siv Arduino microcontroler thiab ob lub cav me me.

Kauj ruam 1: Kev piav qhia

Image
Image

SimTools yog lub suab nrov Simulator Software uas tuaj yeem tswj hwm ntau yam khoom siv cuam tshuam, suav nrog Arduino. Qhov kev sib xyaw no yog siv hauv qhov haujlwm nthuav tawm hauv video.

Kauj Ruam 2: Lub Tsev

Tsev
Tsev
Tsev
Tsev
Tsev
Tsev

Kho vajtse ib feem tsuas yog Arduino Nano microcontroller thiab ob qho pheej yig SG90 micro servo motors. Peb tsuas yog yuav tsum tau xa cov cai hauv qab no.

Cov ntaub ntawv game uas xav tau nrog kev pab ntawm Simtools software raug xa los ntawm cov chaw nres nkoj txuas mus rau Arduino. Tom ntej Arduino qhib cov servo motors uas txav lub simulation platform raws li. Nov yog qhov ntsuas me me ntawm ob-axis simulator. Txhawm rau ua qhov kev sim tiag tiag, koj yuav tsum tau ntxiv cov tsav tsheb tsav thiab cov cav loj loj. Muaj ntau qhov piv txwv ntawm xws li DIY simulators nrog rau kev kos duab tsim thiab cov lus qhia ntawm "https://www.xsimulator.net/" nplooj ntawv. Cov txheej txheem teeb tsa Simtools tau piav qhia hauv daim vis dis aus, tab sis koj tseem tuaj yeem rub tawm PDF phau ntawv qhia siv ntawm: https://simtools.us/wp-content/uploads/2019/06/SimToolsUserManual-v2.4.pdf SimTools yuav khiav hauv "Demo" hom kom txog rau thaum tau txais daim ntawv tso cai raug cai. Lub plugin rau Live rau Ceev tau ua haujlwm tiav rau kev sim thaum SimTools nyob hauv hom ua qauv qhia. (Qhov demo ntawm Live rau Ceev yuav ua haujlwm rau sim SimTools ib yam nkaus.) Koj tuaj yeem pom ntau ntxiv hauv kev tsim thiab rub tawm Live for Speed ntawm

Simtools rub tawm txuas:

Kauj ruam 3: Schematic thiab Code

Schematic thiab Code
Schematic thiab Code

Hauv qab no koj tuaj yeem pom daim duab shematic thiab Arduino Code

Pom zoo: