Cov txheej txheem:

Pib Nrog Qoopers: 3 Kauj Ruam
Pib Nrog Qoopers: 3 Kauj Ruam

Video: Pib Nrog Qoopers: 3 Kauj Ruam

Video: Pib Nrog Qoopers: 3 Kauj Ruam
Video: Plab Plab Ntswg..(Pluav Pluav Ntswg) Maiv Twm New Song 2023-2024 2024, Kaum ib hlis
Anonim
Pib Nrog Qoopers
Pib Nrog Qoopers

Qoopers yog cov khoom siv neeg hlau los ntawm Robobloq. Nws yog lub tuam txhab tshiab; lawv nyuam qhuav ua tiav phiaj xwm phiaj xwm nyiaj txiag ntawm Indiegogo. Kuv txaus siab txhawb lawv cov phiaj xwm vim tias kuv ntseeg tias Qoopers yog cov khoom ua si zoo rau menyuam yaus nrog rau cov cuab yeej siv tshuab muaj zog rau cov neeg laus nyiam ua haujlwm.

Tam sim no, tsis muaj kev tshuaj xyuas ywj pheej ntawm lub vev xaib, yog li kuv vam tias kev sib qhia kuv cov kev paub yuav muaj txiaj ntsig rau zej zog.

Kauj Ruam 1: Cov Khoom thiab Cov Cuab Yeej

Ua ntej tshaj plaws, peb xav tau Qoopers (cov khoom siv neeg hlau). Cov khoom siv suav nrog:

  • pawg tswj hwm;
  • lub roj teeb tuav;
  • LED matrix (neeg hlau lub ntsej muag);
  • ultrasonic sensor;
  • ob DC motors;
  • log, uas koj tuaj yeem siv nrog cov log tsheb lossis nrog cov ciav hlau;
  • ib txheej hlau daim hlau thiab ib txheej ntsia hlau thiab txiv ntseej.

Ntxiv mus, peb xav tau:

  • Android ntsiav tshuaj (OS version 4.1+) rau kev khiav hauj lwm app;
  • Rau rau AA roj teeb kom muaj zog rau tus neeg hlau.

Kauj Ruam 2: Tus Txheej Txheem Txheej Txheem

Hauv Cov Lus Qhia no, Kuv tsom mus rau lub rooj tswj hwm ua lub hauv paus tseem ceeb ntawm tus neeg hlau. Ib lub hnab yas kaw lub rooj tswj hwm. Lub npog zoo li muaj kev nyab xeeb rau menyuam cov kev ua si. Tsis tas li, kuv vam tias daim npog yuav tiv thaiv tus tswj yog tias kuv khiav cov neeg hlau sab nraum zoov.

Duab
Duab

Sab nraub qaum ntawm lub npog, muaj ob qhov qhib rau lub cav M1 thiab M2, DC cov tswv yim thiab qhib/tua khawm.

Duab
Duab

Ntawm sab laug thiab sab xis, qee tus poj niam RJ25 txuas nyob. Ib khub ntawm lawv yog txiv kab ntxwv, thiab rau lwm tus yog xim av. Tsis muaj cov ntaub ntawv raug cai, tab sis kuv tuaj yeem kwv yees tias cov txiv kab ntxwv tau npaj rau lub tshuab txuas ntxiv, qhov uas cov khoom sib txuas grey tuaj yeem ua haujlwm li Kev Tawm Tswv Yim/Tawm Tawm.

Duab
Duab

Ntawm sab laug, muaj Bluetooth module pib dua khawm. Ntawm sab xis, muaj USB txuas.

Txhawm rau qhib lub hau, nyem qee qhov nyem nrog tus ntsia hlau. Thov, daws nrog kev saib xyuas, cov nyem tau yooj yim.

Duab
Duab
Duab
Duab
Duab
Duab
Duab
Duab

Ntawm lub rooj tswj hwm, koj tuaj yeem pom:

  • ATMEGA 2560 microcontroller (zoo heev!);
  • ob lub RGB LED ntawm lub nkoj (peb tuaj yeem ntsais!);
  • buzzer (peb tuaj yeem ua suab nrov!);
  • khawm, lub hau npog hloov pauv tau hauv qab lub pob, yog li peb tuaj yeem nias lub pob txawm tias thaum lub hau kaw;
  • Bloototh module;
  • ntau CH340G USB-serial.

Ib qho tseem ceeb ntawm tus tswj hwm yog lub roj teeb.

Duab
Duab
Duab
Duab

Koj xav tau 6 lub roj teeb AA tso rau hauv tus tuav thiab kom lub zog tswj.

Tus tuav lub roj teeb muaj qhov loj ib yam li tus tswj hwm, thiab lawv npaj siab yuav zoo li cov qhaub cij txuas los ntawm plaub tus ntsia hlau.

Duab
Duab

Kauj Ruam 3: Software Hauv paus

Image
Image
  • Kuv siv daim ntawv thov raug hauv Android. Koj tuaj yeem tso nws rau hauv Google ua si, ntxiv rau ntawm lub vev xaib raug cai. Muaj peb hom tseem ceeb hauv app:
  • cov lus qhia sib tham hauv tsev;
  • tswj vaj huam sib luag;
  • block-based coding.

Ntawm lub vaj huam sib luag tswj, koj tuaj yeem tsav tus neeg hlau ua lub tsheb RC, ua si piano los ntawm lub suab nrov lossis kos rau ntawm lub vijtsam dot matrix.

Duab
Duab

Nws yog qhov pom tseeb, qhov coding hom xav tau qee qhov kev piav qhia. Ok, cia peb pib coding!

Raws li ib txwm muaj, Peb yuav pib nrog LED ntsais muag, qhov no yog "Nyob Zoo Ntiaj Teb" rau cov tswj.

Block-based coding zoo ib yam li Scratch. Tsuas yog rub thiab tso cov block thiab txuas cov block rau hauv qhov program.

Koj tuaj yeem pib koj txoj haujlwm nrog thaiv thaum tus chij tau nyem lossis thaum nias rau hauv vaj huam sib luag neeg hlau.

  • Thaum nias tus chij txhais tau tias qhov haujlwm yuav pib thaum koj nyem rau ntawm ib pawg tshwj xeeb ntawm cov thaiv.
  • Thaum nias hauv vaj huam sib luag neeg hlau txhais tau hais tias txoj haujlwm yuav pib thaum koj nias lub khawm khoos phis tawj ntawm lub rooj tswj hwm ntawd.

Hauv kev sib piv rau Kos, nws tsis tas yuav pib nrog thaum chij nyem. Yog tias koj nyem TXHUA pab pawg ntawm cov thaiv, lawv yuav khiav. Kuv tsis paub, puas yog kab laum lossis tus yam ntxwv, tab sis kuv pom nws tsis yooj yim. Yog li kuv hais kom khaws kev sib txuas tawm thaum koj tab tom teev npe. Txuas rau tus neeg hlau tsuas yog thaum koj tau ua tiav txhua txoj cai.

Qhib Cov ntawv qhia zaub mov kom pom qee qhov kev tswj hwm.

Duab
Duab

Hauv qhov no, kuv xaiv lub voj txheej txheem.

Duab
Duab

Kuv hloov tus naj npawb ntawm rov ua dua.

Duab
Duab

Qhib Lub Teeb ntawv qhia zaub mov kom pom ntau yam lus txib rau LED's, ntxiv rau Dot matrics thiab sensor's LED.

Duab
Duab

Lub teeb teeb nyob rau hauv LED vaj huam sib luag muaj ob qhov ntsuas: ntsuas rau LED (sab laug, sab xis lossis ob qho tib si) thiab xim.

Duab
Duab

Kuv poob tib lub thaiv rau txoj cai LED thiab ntxiv tos 1 sec thaiv los ntawm Tswj cov ntawv qhia zaub mov.

Duab
Duab

Tom qab ntawd kuv rov hais dua txhua qhov kev ua rau hloov LEDs lub xeev. Nov yog qhov tshwm sim!

Duab
Duab

Yog tias koj nyiam cov lus qhia no, tsis txhob yig tau tawm tswv yim, thiab kuv yuav qhia ntxiv:

  • yuav ua li cas ntxiv cov motors thiab ua rau cov neeg hlau txav mus;
  • txog kev tiv thaiv kev zam;
  • yuav ua li cas teev dot matrix.

Pom zoo: