Cov txheej txheem:

EBot Teeb Tom Qab Neeg Hlau: 5 Kauj Ruam (nrog Duab)
EBot Teeb Tom Qab Neeg Hlau: 5 Kauj Ruam (nrog Duab)

Video: EBot Teeb Tom Qab Neeg Hlau: 5 Kauj Ruam (nrog Duab)

Video: EBot Teeb Tom Qab Neeg Hlau: 5 Kauj Ruam (nrog Duab)
Video: Freak Nasty - Megan Thee Stallion 2024, Kaum ib hlis
Anonim
EBot Teeb Tom Qab Neeg Hlau
EBot Teeb Tom Qab Neeg Hlau

Lub Teeb hauv qab cov neeg hlau tau tsim nrog qee yam khoom siv yooj yim thiab nws tuaj yeem muaj kev cuam tshuam zoo rau ntawm qhov chaw tsaus ntuj heev. Cia saib yuav ua li cas tam sim no!

Kauj Ruam 1: Sau cov Khoom

Sau Cov Khoom
Sau Cov Khoom
Sau Cov Khoom
Sau Cov Khoom
Sau Cov Khoom
Sau Cov Khoom

Cov ntaub ntawv siv hauv txoj haujlwm no yog:

  • Ebot8 microcontroller
  • Poj Niam-Poj Niam Jumper Cables
  • Lub teeb sensor
  • Log
  • EBot Blocky (Software)
  • Chassis (Lego) {Xaiv tau}
  • Programming Cable

Kauj ruam 2: Debugging

Debugging
Debugging

Tam sim no kom ntseeg tau tias peb lub teeb pom kev zoo ua haujlwm zoo peb yuav tsum tau debug nws uas txhais tau tias txheeb xyuas thiab tshem tawm qhov ua yuam kev los ntawm (khoos phis tawj khoos phis tawj lossis software).

  • Qhib koj li EBot Blocky app hauv koj lub computer.
  • Xaiv Kev Nyeem Ntawv Nyeem/Debug.
  • Xaiv los ntawm daim ntawv teev npe- 'Lub Teeb Sensor' thiab tseem xaiv tus pin uas koj thawj lub teeb Sensor tau haum rau.

PS koj tuaj yeem tshawb xyuas ib qho sensor ib zaug xwb.

  • Nyem 'Debug'.
  • Tom qab rub tawm tiav.

Kauj Ruam 3: Cia Peb Sib Sau

Cia peb sib sau ua ke
Cia peb sib sau ua ke
Cia peb sib sau ua ke
Cia peb sib sau ua ke
Cia peb sib sau ua ke
Cia peb sib sau ua ke

Peb tau ua lub hauv paus zoo li lub Teeb Pom Kev Pom Zoo muaj qhov chaw txaus rau lub teeb nkag mus. Tom ntej no, peb tau ua lwm txheej rau lub microcontroller zaum saum thiab hauv nruab nrab peb tau kho nws nrog qee lub roj teeb.

Kev thaiv kab mob yog ib qho yooj yim heev rau qhov no. Yog li peb tsuas tuaj yeem ua tiav qhov ntawd thiab.

Kauj ruam 4: Coding

Coding
Coding

Lub sijhawm no cia peb pib nrog coding.

  1. Tua tawm koj li Ebot Blockly app ntawm koj lub computer.
  2. Tam sim no koj tuaj yeem luam cov thaiv los ntawm cov duab saum toj no.
  3. Los yog; koj tuaj yeem yooj yim luam & paste peb cov lej los ntawm no hauv qab.
  4. Tom qab koj tau ua coding. Cia peb ua tam sim no ua nws!

Thov txim rau qhov qeeb, tab sis muaj teeb meem sim upload cov cai. Peb yuav sim upload Txoj Cai sai li sai tau.

// Txoj Cai

// Yuam Kev Tso Cai. Thov sim dua tom qab

Kauj ruam 5: Ib qho Demo Me

Zoo, Txhua yam nws los txog qhov kawg. Vam tias koj nyiam peb tes num thiab yog tias koj muaj kev ua xyem xyav, thov nug hauv nqe lus.

Pom zoo: