Cov txheej txheem:

EBot8 IR Piano: 6 Kauj Ruam (nrog Duab)
EBot8 IR Piano: 6 Kauj Ruam (nrog Duab)

Video: EBot8 IR Piano: 6 Kauj Ruam (nrog Duab)

Video: EBot8 IR Piano: 6 Kauj Ruam (nrog Duab)
Video: Sib Hawm Dhau (Time Passed) Music Video by: Deeda/Dib Xwb 2024, Kaum ib hlis
Anonim
EBot8 IR Piano
EBot8 IR Piano
EBot8 IR Piano
EBot8 IR Piano

Nws yuav txias npaum li cas los ua koj tus kheej piano uas koj tsuas yog yuj koj tus ntiv tes saum IR Sensors!

Thiab yog, nws yog qhov tseeb Qhov no yog EBot (micro-controller tsim los ntawm CBits) tswj Piano nrog qee qhov ntsuas hluav taws xob kom pom peb cov ntiv tes ntawm qhov deb. Tsis tas nkim sijhawm ntxiv; cia peb mus nrog nws!

Kauj Ruam 1: Cov Ntaub Ntawv Xav Tau

Cov Ntaub Ntawv Xav Tau
Cov Ntaub Ntawv Xav Tau
Cov Ntaub Ntawv Xav Tau
Cov Ntaub Ntawv Xav Tau
Cov Ntaub Ntawv Xav Tau
Cov Ntaub Ntawv Xav Tau
Cov Ntaub Ntawv Xav Tau
Cov Ntaub Ntawv Xav Tau

Peb tau siv cov khoom siv hauv qab no rau txoj haujlwm no txhua yam uas tuaj yeem pom nyob ntawm no.

EBot8 micro-maub los

7 Infrared senors

Buzzer

Programming Cable

Jumper Cables

Roj teeb pob rau lub hwj chim

Npog (peb siv lub thawv)

Tam sim no cia peb xaim nws:

Kauj ruam 2: Cia Txuas

Yuav kom ncaj ncees, qhov no yog txoj hlua yooj yim tshaj plaws uas koj yuav tau pom dua.

Tsuas yog txuas 7 IR Sensors kom raug raws li lub teeb liab (S), Hauv av (G), Voltage (V) mus rau Dawb, Liab & Dub pins feem ntawm micro-tus tswj hwm sab laug [{A0> A1> A2> A3> A4> A5> A6} 7 tus pin rau txhua 7 IR sensors].

Kawg tab sis tsis tsawg kawg; txuas lub buzzer rau sab xis raws li tib txoj kev piav qhia yav dhau los (Teeb liab (S), Hauv av (G), Voltage (V) rau Dawb, Liab & Dub pins feem)

Qhov ntawd yog qhov thaiv tau ua tiav. yog! Nws tau yooj yim heev. Tsis muaj cia txav mus nrog debugging.

Kauj ruam 3: Debugging

Debugging
Debugging

Tam sim no kom ntseeg tau tias peb lub Infrared sensors ua haujlwm tau 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).

  1. Qhib koj li EBot Blockly app ntawm koj lub computer.
  2. Xaiv Kev Nyeem Ntawv Nyeem/Debug.
  3. Xaiv los ntawm daim ntawv teev npe- 'Infrared Sensor'.
  4. Xaiv tus pin uas koj thawj Infrared Sensor haum rau. (PS koj tuaj yeem tshawb xyuas ib qho sensor ib zaug xwb.)
  5. Nyem 'Debug'.
  6. Ua tib yam rau lub sensor thib ob.
  7. Tom qab rub tawm tiav thiab qhia qhov muaj txiaj ntsig los ntawm ob qho tib si, peb tuaj yeem txuas ntxiv nrog coding.

(Nco tseg: Yog tias kev debugging tau ntsib nrog qhov ua yuam kev, sim dua, txheeb xyuas qhov txuas. Yog tias tsis yog, tom qab ntawd hloov lub sensor thiab sim dua.)

Kauj Ruam 4: Tsim

Tsim
Tsim
Tsim
Tsim

Tom qab dong tag nrho lwm cov kauj ruam, ua kom haum txhua qhov kev hloov pauv hauv lub thawv yooj yim raws li koj xav tau.

Kauj ruam 5: Coding

Cias luam theej duab blockly los ntawm cov duab saum toj no thiab koj tau teeb tsa tag nrho.

Kauj ruam 6: Demo Video

Image
Image

Xav tias dawb nug ib qho kev ua xyem xyav hauv nqe lus thiab peb yuav teb tiag. Muab tswv yim ntxiv thiab peb yuav sim peb qhov zoo tshaj plaws!

Pom zoo: