Cov txheej txheem:

Smartphone Controlled Smart Shopping Cart: 7 Kauj Ruam
Smartphone Controlled Smart Shopping Cart: 7 Kauj Ruam

Video: Smartphone Controlled Smart Shopping Cart: 7 Kauj Ruam

Video: Smartphone Controlled Smart Shopping Cart: 7 Kauj Ruam
Video: 20 MOMENTS YOU WOULDN'T BELIEVE IF NOT FILMED 2024, Kaum ib hlis
Anonim
Smartphone Tswj Ntse Lub Khw Muag Khoom
Smartphone Tswj Ntse Lub Khw Muag Khoom

Mus ntsib cov khw yuav lom zem. Tab sis rub lub Khw Laub Nrog thaum koj sau nws nrog cov khoom yog qee yam uas tsis txaus ntseeg kiag li. Qhov mob ntawm kev thawb nws hla cov kev nqaim nqaim, ua rau cov ntse tig! Yog li, ntawm no (yam) qhov kev thov uas koj tsis tuaj yeem tsis lees paub - yuav ua li cas 'hloov pauv qhov ntawd tas mus li, Khw Laub Laub mus rau hauv txias txias DIY ntse lub laub yuav khoom uas koj tuaj yeem tswj nrog ob peb lub kais ntawm koj lub xov tooj?

Suab zoo li qhov koj xav tau, txoj cai?

Cia peb pib ua ntej!

Kauj Ruam 1: Yam Koj Yuav Tsum Tau:

Yam Koj Yuav Tsum Tau
Yam Koj Yuav Tsum Tau
  • evive
  • Khw Laub
  • HC05 Bluetooth Module
  • Log
  • DC Tsav
  • Castor Log
  • Qhov ntswg Plier
  • Hlau Cutter
  • Cov hlua khi

Txhua yam khoom siv hluav taws xob saum toj no muaj nyob hauv Cov Khoom Pib. Raws li muaj ntau txoj haujlwm tau teev tseg ntawm Cov Lus Qhia uas tau ua nrog kev pab ntawm nws.

Kauj Ruam 2: Ua Lub Khw Muag Khoom

  • Nqa lub laub thiab tshem nws lub log siv Nose Plier.

    Duab
    Duab
    Duab
    Duab
  • Tam sim no, txhua yam koj muaj yog lub laub tsis muaj lub log.

    Duab
    Duab
  • Txuas ob lub tshuab DC, ib qho ntawm txhua sab ntawm lub nraub qaum ntawm lub laub siv txoj hlua khi.

    Duab
    Duab

Tam sim no, nws yog lub sijhawm los muab lub log rau lub laub.

  • Txuas cov log ntawm DC Tsav.

    Duab
    Duab
  • Tam sim no, txuas lub log castor rau ntawm lub hauv ntej kawg ntawm lub laub nrog kev pab ntawm cov hlua txuas. Thaum kawg, txiav cov hlua txuas ntxiv uas siv cov hlau txiav.

    Duab
    Duab

Tam sim no, txhua yam koj xav tau los ua pov thawj rau lub laub siv cov hlua txuas.

    Duab
    Duab
  • Txuas HC-05 Module ntawm evive ntawm nws qhov kev mob siab rau muab. Koj tuaj yeem pom qhov kev sib txuas los ntawm Tshooj Kev Sib Txuas Hauv qab no.
  • Peb tab tom siv Bluetooth HC-05 module rau kev sib txuas wireless.
  • Yog li, koj lub laub yuav khoom tam sim no npaj tau.
Duab
Duab

Kauj Ruam 3: Logic thiab Flowchart

Hauv qhov no, peb tab tom sib tham wirelessly. Tus neeg siv muab cov lus qhia los ntawm nias lub pob ntawm gamepad hauv qhov evive app, uas koj tuaj yeem rub tawm los ntawm qhov txuas hauv qab no:

Neeg hlau ua haujlwm raws li lub pob nyem.

Piv txwv li, yog tias Down tau nias tus neeg hlau yuav txav rov qab; yog tias tsis muaj cov nyees khawm raug nias, tus neeg hlau yuav nres.

Hauv qab no yog daim ntawv qhia ua tiav:

Duab
Duab

Kauj ruam 4: Circuitry:

Txog Lub Khw Muag Khoom, peb yuav tsum txuas lub Bluetooth module (HC05). Hauv daim duab hauv qab no, koj tuaj yeem soj ntsuam qhov twg Bluetooth module's 6 tus pin txuas tau txuas rau ntawm qhov muaj tseeb.

Duab
Duab

Nco tseg: Bluetooth tus lej RX tus pin yuav mus rau TX3V3 tus pin ntawm evive thiab lwm yam sib xws. Nco ntsoov tias ntawm kev ua kom pom tseeb, LED liab yuav pib ntsais muag ntawm tus qauv. Yog tias koj tsis txuas tus qauv kom raug, nws yuav raug puas tsuaj.

Kauj Ruam 5: Kos Daim Ntawv

Scratch Script
Scratch Script

Cov duab hauv qab no qhia txog Scratch Script uas koj xav tau txhawm rau txhawm rau tswj hwm Lub Khw Laub los ntawm peb lub xov tooj. Peb yuav muab cov kev ua nrog kev hwm rau txhua lub khawm ntawm lub app.

Duab
Duab
Duab
Duab
Duab
Duab
Duab
Duab
Duab
Duab

Xav paub ntau ntxiv txog Scratch mus ntsib ntawm no:

thestempedia.com/tutorials/getting-started…

Kauj Ruam 6: Txuas HC05

Txuas HC05
Txuas HC05

Pair HC05 Bluetooth module hauv koj lub Smartphone (Android nkaus xwb). Tus password tsis raug yog "1234". Mus rau evive App thiab nyem rau SCAN. Koj yuav pom cov khoom siv ua ke ntawm no. Xaiv lub cuab yeej tsim nyog. Tom qab ua tiav kev sib txuas, nws yuav qhia txuas nrog. Mus rau GamePad thiab xaiv Gamepad li qub raws li kev tswj hwm.

Kauj Ruam 7: Xaus

Xaus
Xaus

Nrog rau qhov no, koj lub DIY Smart Khw Laub tau npaj lawm! Lwm zaus koj mus ntsib lub khw, npaj kom tau txais kev saib xyuas vim nws ua rau lub taub hau tig thaum koj hla los ntawm lwm tus!

Txhawm rau tshawb nrhiav ntau txoj haujlwm, mus ntsib:

Pom zoo: