Cov txheej txheem:

Linefollower Nrog Bluetooth: 7 Kauj Ruam
Linefollower Nrog Bluetooth: 7 Kauj Ruam

Video: Linefollower Nrog Bluetooth: 7 Kauj Ruam

Video: Linefollower Nrog Bluetooth: 7 Kauj Ruam
Video: Casio G-SHOCK GBD800-1B | Black G Shock G-SQUAD Step Tracker GBD-800 Топ 10 вещей 2024, Hlis ntuj nqeg
Anonim
Linefollower Nrog Bluetooth
Linefollower Nrog Bluetooth
Linefollower Nrog Bluetooth
Linefollower Nrog Bluetooth
Linefollower Nrog Bluetooth
Linefollower Nrog Bluetooth

Cov lus qhia no tau tsim rau tsev kawm ntawv qhov haujlwm.

Peb yuav tsum ua tus linefollower nrog qee qhov tshwj xeeb:

- Nws yuav tsum pheej yig nrog lub hom phiaj tus nqi ntawm € 50.

- Kom sai li sai tau:> 0, 5m/s.

- Dav ntawm kab: 1, 5cm / radius ntawm txoj kab nkhaus: 10cm / kev sib tshuam ua tau (lub tsheb yuav tsum tsav ncaj).

- Tus linefollower yuav tsum ua haujlwm nyob rau ib txwm muaj teeb pom kev zoo (TL-teeb, hnub ci, lub koob yees duab nyem, …).

- Max. Medidas 12 mm x 12 mm.

-Kho vajtse yooj yim: 1 lub zog xa khoom, pheej yig DC-lub cav, H-choj, …

- Lub teeb pom kev zoo array (min. 6).

- PID-tswj.

- Kev sib txuas lus wireless (infrared, Bluetooth, …).

- 1 khawm pib/nres, linefollower pib nrog teeb tsa kawg (txawm tias thaum lub zog raug txiav tawm).

- Txhua qhov chaw tuaj yeem hloov pauv los ntawm qhov yooj yim siv pc program (Kp, Ki, Kd, debug, nrawm tshaj plaws, …).

- Cov khoom kawg yuav tsum yog tus kheej tsim PCB (tsim).

- Siv cov khoom siv smd qhov tsim nyog.

Cia peb pib.

Kauj Ruam 1: Cov Ntsiab Lus thiab Cov Cheeb Tsam

Koj pib qhov haujlwm no los ntawm kev xaiv ob peb yam. Cov no yog: kev tswj hwm, kev sib txuas lus, H-choj, lub zog xa khoom, cov ntsuas hluav taws xob thiab lub cev muaj zog. Cov kev xaiv no yuav nyob ntawm ib leeg.

Kuv xaiv yog:

Micro controller: atmega32u4 (arduino leonardo chip) xav tau 5VC kev sib txuas lus: RN-42 (Bluetooth) xav tau 3, 3VPower: Lio-ion 18650 2 x 4.2V 8, 4V3, 3V: UA78M33CDCYR5V: UA78M05CKVURG3H-choj: TB6612FNGMotors: Pol66 kuaj) thiab 30/1 (nrawm) Khawm: B3SN-3112PSensors: SHARP microelectronics GP2S700HCP

Kauj ruam 2: Ua Schematic

Ua Schematic
Ua Schematic

Txhawm rau ua cov lej, saib hauv cov ntawv teev tseg thiab koj yuav pom yuav ua li cas txhua yam yuav tsum tau txuas nrog. Qhov lej tuaj yeem ua hauv ntau qhov haujlwm sib txawv (DipTrace, Eagle, EasyEDA, …).

Yog tias koj xav siv kuv li koj tuaj yeem rub tawm lawv ntawm no.

Kauj Ruam 3: PCB

PCB
PCB
PCB
PCB
PCB
PCB

Thaum koj tau txais koj li PCB koj yuav xav tau txhua yam rau nws. Nco ntsoov tias koj tsis luv Circuit Court cov khoom.

Kauj ruam 4: Program (arduino)

Qhov program (arduino)
Qhov program (arduino)

Txhua qhov kev suav yog nyob hauv arduino thiab qhov txiaj ntsig tuaj yeem hloov pauv los ntawm lwm txoj haujlwm (saib cov kauj ruam tom ntej). Koj tuaj yeem rub tawm qhov program tag nrho.

Kauj Ruam 5: Txoj Haujlwm (Visual Basic)

Qhov Kev Kawm (Visual Basic)
Qhov Kev Kawm (Visual Basic)

Kuv tau sau qhov program sai hauv Visual Basic uas tuaj yeem sau qhov tseem ceeb rau kab ntawv, tseem muaj qee qhov tshwj xeeb ntxiv nyob rau ntawd.

Qhov kev zov me nyuam thiab tus lej tuaj yeem rub tawm ntawm no.

Kauj Ruam 6: Kuaj Txhua Yam ntawm PCB

Kuaj Txhua Yam ntawm PCB
Kuaj Txhua Yam ntawm PCB
Kuaj Txhua Yam ntawm PCB
Kuaj Txhua Yam ntawm PCB

Tam sim no koj yuav tau sim txhua yam.

Yog tias tsis muaj teeb meem koj tuaj yeem pib kho nws thiab ua kom nws mus sai dua.

Ua qhov no los ntawm kev hloov pauv PID, nrawm thiab lub voj voog.

Qhov no yuav hloov pauv nrog txhua tus neeg saib kab ntawv

Rau kuv, qhov tseem ceeb yog (rau qhov nrawm ntawm 0, 858 m/s lub cev muaj zog ntawm 30: 1):-Kp: 4, 00-Ki: 0, 00-Kd: 26, 00-Speed: 140-Cycletime: 2000

Yog tias koj qhov PID qhov tseem ceeb yog siab tus kab ntawv yuav khaws qhov cuam tshuam ntau dhau.

Kauj Ruam 7: Xaus Qhov Tseeb

Thaum kawg peb tau sau kab ntawv nrog txhua qhov kev qhia tshwj xeeb uas lawv tau muab rau peb thiab mus txog qhov nrawm ntawm 0, 858 m/s. Qhov ntawd yog qhov nrawm tshaj plaws hauv lub tsev kawm ntawv no., siv qhov txuas hauv qab no. (Qee tus ntawm lawv yog lus Dutch)

drive.google.com/drive/folders/169LRTWpR2k…

Kuv blog (tseem nyob hauv Dutch).

linefollower20182019syntheseproject.blogsp…

Yog tias koj muaj lus nug thov hu dawb.

Pom zoo: