Cov txheej txheem:

Xim Taug Qab Neeg Hlau Raws Li Omnidirectional Log thiab OpenCV: 6 Cov Kauj Ruam
Xim Taug Qab Neeg Hlau Raws Li Omnidirectional Log thiab OpenCV: 6 Cov Kauj Ruam

Video: Xim Taug Qab Neeg Hlau Raws Li Omnidirectional Log thiab OpenCV: 6 Cov Kauj Ruam

Video: Xim Taug Qab Neeg Hlau Raws Li Omnidirectional Log thiab OpenCV: 6 Cov Kauj Ruam
Video: QHIA QHOV TSEEB - KUB VAJ LOOG TSUA NEW MUSIC VIDEO 2022 2024, Kaum ib hlis
Anonim
Image
Image

Kuv siv lub log log ib sab mus los txhawm rau siv kuv cov xim taug qab, thiab kuv siv lub xov tooj software uas hu ua OpenCVBot. Ua tsaug rau cov tsim tawm software ntawm no, ua tsaug.

OpenCV Bot tau tshawb pom lossis taug qab txhua yam khoom ntawm lub sijhawm tiag tiag los ntawm kev ua cov duab. Daim ntawv thov no tuaj yeem txheeb xyuas txhua yam khoom siv nws cov xim thiab tsim X, Y txoj haujlwm thiab thaj chaw hauv lub xov tooj screen, siv daim ntawv thov no, cov ntaub ntawv raug xa mus rau lub microcontroller ntawm Bluetooth. Nws tau raug sim nrog Bluetooth module thiab haum rau ntau yam khoom siv. Peb rub tawm APP no los ntawm lub xov tooj ntawm tes kom siv cov xim taug qab, thiab xa cov ntaub ntawv mus rau Arduino UNO ntawm Bluetooth rau kev tshuaj xyuas cov ntaub ntawv thiab ua cov lus txib.

Khoom siv

  1. Omnidirectional log chassis
  2. Arduino UNO R3
  3. Tsav tsav module
  4. Bluetooth, tus pin xbee (04,05,06)
  5. 3 SWB 18650 Stb
  6. Txawb xov tooj
  7. OpenCVBot software
  8. Koj kuj xav tau tus tuav lub xov tooj ntawm tes thiab lub pob uas pom tau yooj yim

Kauj Ruam 1: Nruab Lub Hauv Paus Chassis Kuv Taug Qab

Nruab Nruab Lub Hauv Paus Chassis Kuv Taug Qab
Nruab Nruab Lub Hauv Paus Chassis Kuv Taug Qab
Nruab Nruab Lub Hauv Paus Chassis Kuv Taug Qab
Nruab Nruab Lub Hauv Paus Chassis Kuv Taug Qab
Nruab Nruab Lub Hauv Paus Chassis Kuv Taug Qab
Nruab Nruab Lub Hauv Paus Chassis Kuv Taug Qab

Txhim kho GB37 lub cev muaj zog lossis GA25 lub cev muaj zog rau lub cev muaj zog. Them sai sai rau qhov kho qhov ntawm kev teeb tsa. Qhov no txawv vim tias lawv tsis yog thoob ntiaj teb.

Ob hom motors tuaj yeem siv tau. Ua tib zoo saib kom paub qhov txawv ntawm sab twg thiab sab twg yog nqes; lossis koj tuaj yeem siv lub log loj omnidirectional kom koj tsis tas yuav cais lawv …

Kauj Ruam 2: Lub cev muaj zog kho rau Chassis

Tsav Kho rau Chassis
Tsav Kho rau Chassis
Tsav Kho rau Chassis
Tsav Kho rau Chassis
Tsav Kho rau Chassis
Tsav Kho rau Chassis
Tsav Kho rau Chassis
Tsav Kho rau Chassis

Lub cav lub cev txuas yog xov, yog li peb tsis tas yuav siv cov txiv ntoo los kho lawv, uas ua rau nws yooj yim rau peb teeb tsa, vim tias qhov chaw rau txhim kho cov txiv ntoo me me dhau, peb tsis tuaj yeem ncav cuag los kho lawv. Ultrasonic modules tuaj yeem ntsia tau rau sab, thiab kuv tuaj yeem siv lawv kom tsis txhob muaj teeb meem, uas yog qhov muaj txiaj ntsig zoo rau kev taug kev ntawm lub tsheb.

Kev teeb tsa ultrasonic loj, sojntsuam nrug, chav mm.

Kauj Ruam 3: Ua kom tiav Chassis Assembly

Ua tiav Chassis Los Ua Ke
Ua tiav Chassis Los Ua Ke
Ua tiav Chassis Los Ua Ke
Ua tiav Chassis Los Ua Ke

Ua kom tiav kev txhim kho ntawm lub chassis, nws yog qhov tsim nyog los txuas ntxiv kho qhov tuav ntawm lub log hauv kev tswj hwm tom ntej. 4 cov ntsiab lus ua tiav yuav ua rau lub log tsis sib cuag tag nrho cov chassis, ua rau muaj kev plam thaum taug kev. Peb kho cov ntsia hlau ntawm lub chassis. Kho txoj haujlwm yuav tsum ua siab ntev.

Peb suav cov log kom ua raws kev tswj hwm ntawm cov npoo, Qhov laj thawj kuv siv 4 puag ncig yog vim kuv xav tias kev tswj hwm zoo yog tias 3 qhov sib tw ua tau zoo, tab sis tus nqi siab tsis zoo heev.

Kauj Ruam 4: Cov Qauv Hluav Taws Xob

Cov Qauv Hluav Taws Xob
Cov Qauv Hluav Taws Xob
Cov Qauv Hluav Taws Xob
Cov Qauv Hluav Taws Xob
Cov Qauv Hluav Taws Xob
Cov Qauv Hluav Taws Xob
Cov Qauv Hluav Taws Xob
Cov Qauv Hluav Taws Xob

Tsav tsheb Kuv siv 2 PM-R3, Kuv hloov pauv tus pin ntawm ib qho ntawm lawv, 4, 5, 6, 7 txog 8, 9, 10, 11 txhawm rau txhawm rau tuaj yeem tsav 4 lub cav ib tus zuj zus Muaj lub zog tswj hwm nti ntawm lub rooj tsavxwm, tab sis kuv tsis tau siv nws, Kuv hais ncaj qha los ntawm DC chaw nres nkoj ntawm Arduino UNO.

Tus tsav tsheb yog TB6612FNG nti. Qhov no yog ib tus neeg tsav tsheb feem ntau siv. Koj kuj tseem tuaj yeem siv L298N nti, uas yog qhov zoo ib yam. Hloov kho txoj cai kom ua tiav tib txoj kev taug kev.

  • 4, 5 yog lub cav txuas nrog hauv av , 5-pwm;
  • 6,7 yog lub cav thib ob, 6-pwm;
  • 8, 9 yog lub cav thib peb, 9-pwm;
  • 10, 11 yog plaub lub cav, 10-pwm;

Kauj ruam 5: Mobile Apps

Txawb Apps
Txawb Apps
Txawb Apps
Txawb Apps
Txawb Apps
Txawb Apps
Txawb Apps
Txawb Apps

APP: Nyem

Qauv Arduino Code: Clik

Tom qab rub tawm thiab teeb tsa, koj tuaj yeem siv Bluetooth rau ua khub. Nyem rau ntawm yam khoom uas xav tau los txheeb xyuas. Cov xim yog qhov zoo tshaj plaws los sib txawv ntawm ib puag ncig ib puag ncig kom tiv thaiv kev txheeb xyuas ntawm ib puag ncig ib puag ncig. Ib yam uas yuav tsum tau nco yog tias ntsib lub hnub yuav ua rau poob kev taug., Thiab tom qab ntawd peb tuaj yeem pom tus nqi hloov pauv hauv qhov chaw nres nkoj.

Hloov kho tus qauv coj ua kom haum rau koj lub tshuab tsav tsav. Yog tias koj siv PM-R3 kev nthuav dav ib yam li kuv, koj tuaj yeem siv tus lej kuv tau muab.

Kauj Ruam 6: Ua tiav Daim Duab

Ua tiav Daim Duab
Ua tiav Daim Duab

Tiav lawm, cia saib cov nyhuv.

Pom zoo: