Cov txheej txheem:

Cov Khoom Siv Tsheb Robotic Sib Sau thiab Tswj los ntawm PS2 Wireless Chaw Taws Teeb: 6 Cov Kauj Ruam
Cov Khoom Siv Tsheb Robotic Sib Sau thiab Tswj los ntawm PS2 Wireless Chaw Taws Teeb: 6 Cov Kauj Ruam

Video: Cov Khoom Siv Tsheb Robotic Sib Sau thiab Tswj los ntawm PS2 Wireless Chaw Taws Teeb: 6 Cov Kauj Ruam

Video: Cov Khoom Siv Tsheb Robotic Sib Sau thiab Tswj los ntawm PS2 Wireless Chaw Taws Teeb: 6 Cov Kauj Ruam
Video: Plab Plab Ntswg..(Pluav Pluav Ntswg) Maiv Twm New Song 2023-2024 2024, Hlis ntuj nqeg
Anonim
Image
Image
Kho vajtse sib txuas
Kho vajtse sib txuas

Txoj Haujlwm no cuam tshuam nrog cov theem pib hauv ntiaj teb neeg hlau, koj yuav kawm ua ke 4WD Robotic tsheb khoom siv, tso khoom kho vajtse rau nws thiab tswj nws nrog wireless PS2 chaw taws teeb.

Kauj Ruam 1: Tsheb Chassis thiab Sib dhos

Image
Image

Yo tuaj yeem siv txhua lub tsheb uas muaj neeg hlau rau lub phiaj xwm no, tsuas yog koj yuav tsum tau hloov pauv hloov kho vajtse thiab program raws li koj lub chassis. Kuv tab tom siv 4WD Robotic Car Kit rau txoj haujlwm no.

Txheeb cov vis dis aus txuas ntxiv kom paub sib dhos.

Kauj ruam 2: Cheebtsam

  1. Arduino UAS
  2. L298N Tsav Tsav Tsheb
  3. PS2 Wireless Chaw Taws Teeb thiab Txais
  4. 18650 Rechargeable 3.7 V Cells x 2
  5. Roj teeb/Xov Tooj Ntawm Tes
  6. Jumper Hlau

Txog Lub Roj Teeb Them/Kev Tiv Thaiv Lub Hom Phiaj koj tuaj yeem ntxiv cov khoom ntxiv

  1. BMS Rau 2S
  2. BMS rau 3S

Kauj Ruam 3: Kev Sib Txuas Kho Vajtse

Kho vajtse sib txuas
Kho vajtse sib txuas

Kuv tsis tau pom PS2 Tus Txais Txais ib feem hauv fritzing, yog li kuv tshem tawm qee cov xov hlau los ntawm Arduino Pins, thiab kuv yuav piav qhia nws qhov kev sib txuas, nws yooj yim heev.

Raws li koj tuaj yeem pom cov duab txuas nrog, peb tab tom siv 6 tus pin los ntawm PS2 Tus Txais (DATA, COMMAND, +3.3V, GND, HNUB NYOOG, NYIAJ).

Arduino Pin ---------------------- PS2 Txais Tus Pin

DATA ---------------------------------- Pin 12

COMMAND -------------------------- Pin 11

+3.3V ---------------------------------- 3.3V tus pin ntawm Arduino

GND ---------------------- GND

NCO NTSOOV ------------------------- Tus Pin 10

NYIAJ -------------------------------- Tus Pin 9

Kauj Ruam 4: Tshooj Lus Qhia

Ntxiv cov ntawv txuas PS2 tus tswj hwm hauv koj li Arduino IDE software, tom qab ntawd xa cov cai hauv koj li Arduino Board.

Kauj ruam 5: Nco tseg

Thov txheeb xyuas cov vis dis aus txuas nrog qhov project kom ua tiav cov txheej txheem.

Koj tuaj yeem siv ob lub joysticks ntawm PS2 chaw taws teeb los tswj lub tsheb, nias L1 siv sab laug joystick, thiab R1 siv txoj cai joystick.

Debugging

  1. Ua kom ntseeg tau tias ob lub tshuab sab xis tau khiav zoo ib yam thiab sab laug lub cav tseem ua haujlwm zoo ib yam. Hloov qhov polarity ntawm ib lub cav los ntawm ib sab yog tias ob lub cav tsis ua haujlwm tib yam.
  2. Yog tias koj thawb lub joystick rau pem hauv ntej thiab lub tsheb tig rov qab, hloov pauv qhov sib txawv ntawm lub cav, lossis hloov pauv yooj yim ntawm Arduino tus pin.

Kauj Ruam 6: Ua tib zoo thov

Vam tias cov txheej txheem no pab koj qee txoj hauv kev kom ua tiav koj lub hom phiaj, thov sau npe yuav peb cov channel youtube txhawm rau txhawb peb kom ua kev qhia ntau ntxiv.

Ua Tsaug

Pom zoo: