Cov txheej txheem:
- Kauj Ruam 1: Cov Lus Qhia No Tau Xeem Zoo
- Kauj Ruam 2: Daim Ntawv Teev Npe
- Kauj Ruam 3: Txhim Kho Software ntawm Koj Lub PC
- Kauj ruam 4: Txuas Bluetooth Module
- Kauj Ruam 5: Rub tawm Software los Tswj Teeb Pom Kev Zoo
- Kauj Ruam 6: Tswj Lub Teeb Nrog Koj Lub Smartphone App
- Kauj Ruam 7: Kev Ruaj Ntseg Bluetooth
Video: Xim Hloov Teeb thiab Bluetooth Kev Ruaj Ntseg Demo: 7 Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:30
Hauv Cov Lus Qhia no, Kuv yuav piav qhia yuav ua li cas los tsim cov xim hloov pauv teeb pom kev uas tau tswj nyob deb ntawm Bluetooth siv Android (Samsung, Google, thiab lwm yam) lossis Apple smartphone lossis ntsiav tshuaj Qhov no yog qhov haujlwm pheej yig, zoo rau cov menyuam yaus, thiab cov yeeb yaj kiab ci ntsa iab tiag tiag nyiam mloog.
Tseem ceeb dua, txawm li cas los xij, txoj haujlwm yuav pab tus tsim kom nkag siab txog kev ruaj ntseg tsis muaj zog ntawm Bluetooth, thiab yog lub hauv paus rau lwm txoj haujlwm Bluetooth.
Txoj kev xa xov wireless nrov no yog ib txwm muaj rau "Tus Kheej Hauv Cheeb Tsam." Cov tes hauj lwm ntawm cov cuab yeej suav tau muab lub npe no vim tias lawv feem ntau yog tus kheej thiab nyob ze; suav nrog cov xov tooj ntawm tes, ntsiav tshuaj, hnav tau (saib lub dab teg thiab khoom siv rau kev noj qab haus huv), multimedia (ntse TV thiab Tsev Theatre), tsheb (tsis siv tes thiab tso nkauj), thiab tswj kev nkag mus (lub qhov rooj xauv thiab lub tswb nkag nkag).
Kauj Ruam 1: Cov Lus Qhia No Tau Xeem Zoo
Kaum tus tub ntxhais kawm theem siab los ntawm Tus Kws Qhia Ntawv Paul Lathrop's "Mechatronics" chav kawm tau tshuaj xyuas cov lus qhia no kom zoo thiab siv tau yooj yim. Qhov no tau ua tiav thaum mus ncig ua si mus rau ib lub tsev kawm qib siab nyob ze, uas cov tub ntxhais kawm tau kwv yees li ob teev los ua kom tiav kev tsim kho, ntsuas, thiab sau tseg.
"Mechatronics" yog kev sib txuas ntawm cov khoom siv hluav taws xob thiab cov khoom siv kho tshuab uas tswj los ntawm cov khoom siv hluav taws xob. Feem ntau cuam tshuam nrog kev tsim khoom thiab neeg hlau, cov ncauj lus kawm no tseem suav nrog kev sib txuas lus wireless vim nws tsim lub hauv paus ntawm Internet ntawm Yam (IoT). Qhov xav tau ntau ntxiv rau cov tub ntxhais kawm no yog kev kawm ntawm IIoT, lossis Kev Lag Luam Internet ntawm Yam.
Kauj Ruam 2: Daim Ntawv Teev Npe
Hauv daim duab no, koj tuaj yeem pom lub thawv ntawv me uas tsim rau txhua tus tub ntxhais kawm tsim lub phiaj xwm, thiab nws yog lub tswv yim zoo kom muaj phiaj xwm khaws cia rau cov khoom siv hluav taws xob zoo no.
Txawm hais tias koj tuaj yeem khaws tag nrho cov khoom siv hauv koj "txiab thiab kab xev kab xev" tub rau khoom hauv chav ua noj, cov khoom yuav yooj yim mus nrhiav thiab nyob ntev dua yog tias koj yuav ib lub thawv uas pheej yig muab faib los ntawm Walmart lossis Amazon.
Cov seem ntawm cov khoom yog los ntawm Italis https://Adafru.it lub vev xaib, thiab txhua yam muaj nqis heev. Lub vev xaib yooj yim mus tshawb, yog li kuv yuav tsis muab cov kev sib txuas sib sib zog nqus (txij li lawv zoo li ua txhaum lub sijhawm). Cov khoom no suav nrog:
Chaw Ua Si Hauv Circuit (Classic)
Flora Bluetooth LE Module
USB rau USB mini cable (rau Chaw Ua Si Hauv Circuit)
5 teeb tus nab npawb rau tus nab kuab txuas (txuas rau Bluetooth module)
Yeem: AA x 6 Lub Roj Teeb thiab 6 AA Roj Teeb.
Tsis teb los tau: Ob tus zauv rau tus nab kuab txuas txuas lub zog txawb.
Kauj Ruam 3: Txhim Kho Software ntawm Koj Lub PC
Cov lus qhia hauv qab no piav qhia cov kauj ruam rau ib puag ncig siv (Windows 10, tam sim no muaj cov software tsim tawm) tab sis koj tuaj yeem siv cov ntawv hloov tshiab tsis ntev los no raws li cov khoom txav mus rau tom ntej. Kev teeb tsa software yog raws li nws tau piav qhia ntau hauv Adafru.it "Kawm" nplooj ntawv muaj npe "Circuit Playground thiab Bluetooth Low Energy."
1-Txhim Kho Kev Txhim Kho Ib Leeg Ib puag ncig (IDE) Ntawm no peb siv arduino-1.8.4-windows, muaj los rub tawm los ntawm cov vev xaib tau hais tseg, nrog rau los ntawm Arduino.
2 - Txhim Kho Cov Tsav Tsheb Circuit Court Ntawm no peb siv adafruit_drivers_2.0.0.0 los ntawm cov vev xaib tau hais los saum no.
3 - Qhib IDE
IDE hu ua "Arduino", thiab hauv Cov Ntaub Ntawv-> Nyiam Nyiam ntxiv hauv qab no "Tus Thawj Saib Xyuas Haujlwm Ntxiv URL"
4 - Hais OK thiab tom qab ntawv kaw thiab rov qhib IDE
5 - Txuas lub Circuit Court Playground ntaus nrog Micro USB
• Pom tias nws muaj hwj chim thiab ua haujlwm tsis raug "Circuit Playground Firmata"
• Zaj sawv ntawm cov teeb
• hloov ze lub roj teeb fais fab jack thim rov qab
• ib qho ntawm cov nyees khawm ua cim rau txhua xim
6 - Unzip Circuit Court Chaw Ua Si Qiv
Unzip Circuit Court Playground Library rau hauv Cov Ntaub Ntawv -> Arduino -> cov tsev qiv ntawv nplaub tshev "Adafruit_CircuitPlayground -master"
Thaum unzipped, tshem cov ntawv ntxiv "-master" los ntawm lub npe nplaub tshev
7 - Unzip BlueFruitLE Library
Unzip BlueFruitLE Library rau hauv Cov Ntaub Ntawv -> Arduino -> cov tsev qiv ntawv nplaub tshev "Adafruit_BluefruitLE_nRF51 -master"
Thaum unzipped, tshem cov ntawv ntxiv "-master" los ntawm lub npe nplaub tshev
8 - Nres thiab rov pib dua IDE, thiab ntsaws Circuit Board Chaw Ua Si Hom
• Cov cuab yeej -> Boards -> Tus Thawj Saib Xyuas Haujlwm
• Tshawb nrhiav hom "Pab Txhawb" thiab cov ntsiab lus "Adafruit AVR"
• Nruab "Adafruit AVR Boards" (qhov hloov tshiab kawg)
• nres thiab rov pib dua IDE
9 - Xeem Circuit Court Chaw Ua Si nrog qhov program demo
Txuas mus rau Circuit Chaw Ua Si txuas nrog ntawm USB
• Cov cuab yeej -> Boards -> Chaw Ua Si Hauv Cheeb Tsam
• Cov cuab yeej -> Ports -> Tsim nyog COM chaw nres nkoj
• Rub tawm qhov program program
• Cov Ntaub Ntawv -> Piv txwv -> Adafruit Circuit PLayground -> demo
• Sib sau ua ke thiab rub tawm (tuaj yeem siv "txoj cai taw tes xub" khawm ua txhua yam)
10 - Xeem qhov kev qhia ua haujlwm demo, thiab koj ua tiav!
• Pom tias Chaw Ua Si Hauv Vaj Tsev tab tom ntsais muag ua kab zaj sawv
• Hloov ua cov ntawv sau ua si (thov tig nws rov qab)
• Liab rub LED ntsais muag lub sijhawm sib tham nrog Chaw Ua Si Hauv Circuit Court ntawm Cov Ntawv Sib Txuas
• Nyem rau ntawm "Serial Monitor" khawm hauv IDE
• Zoo li zoo li lub iav tsom iav nyob rau sab xis saum toj ntawm qhov program program qhov rai
• Tej zaum koj yuav xav kaw qhov pib pib kom tau zoo dua
Kauj ruam 4: Txuas Bluetooth Module
Txuas BlueFruitLE module rau Circuit Module Chaw Ua Si
Cov duab saum toj no qhia txog kev sib txuas tiav (roj teeb yog nyob ntawm yeem thiab tuaj yeem muab ntxiv rau tom qab). Cov kauj ruam tshwj xeeb yog raws li hauv qab no:
Tshem tawm los ntawm USB
• Txuas raws li hauv qab no [saib cov duab]
o Circuit Court Chaw Ua Si 3.3V rau Flora Bluefruit LE 3.3V (xaim liab).
o Circuit Court Chaw Ua Si GND rau Flora Bluefruit GND (xaim dub).
o Circuit Playground serial TX rau Flora Bluefruit serial RX (xaim daj). Txheeb ob zaug koj txuas TX rau RX thiab tsis yog TX rau TX!
o Circuit Playground serial RX rau Flora Bluefruit serial TX (ntsuab xaim). Rov ua dua ob zaug koj txuas RX rau TX thiab tsis RX rau RX!
o Circuit Court Chaw Ua Si #12 rau Flora Bluefruit MODE (xaim dawb). Koj tuaj yeem siv ib qho ntawm lwm tus lej lej ntawm Circuit Chaw Ua Si rau hom kev hloov pauv kev sib txuas, txawm li cas los xij koj yuav xav tau hloov cov piv txwv los siv tus lej tus lej. Rau qhov yooj yim lo nrog tus pin 12 yog li koj tsis tas yuav hloov kho txoj cai.
Txuas dua rau USB
Ob Qhov Chaw Ua Si Hauv Chaw thiab BLueFruitLE yuav tsum tau txhawb nqa (tom qab muaj lub teeb liab liab)
Kauj Ruam 5: Rub tawm Software los Tswj Teeb Pom Kev Zoo
Ib qho software koj yuav rub mus rau koj lub smartphone lossis ntsiav tshuaj (BlueFruit app), thiab lwm yam software koj yuav rub mus rau lub cuab yeej koj tau tsim (CPlay_NeoPixel_Picker).
1 - Rub tawm BlueFruit app
• Rub tawm BlueFruit app ntawm lub xov tooj uas txhawb nqa BlueToothLE kev sib txuas lus (piv txwv: iPhone, iPad, Samsung)
• Nov yog daim duab ntawm lub app thiab lo lus tshawb nrhiav siv los nrhiav nws ntawm Apple App Store. nws zoo ib yam hauv Google khw thiab lwm qhov.
2 - Thauj Neo -Pixel software ntawm Circuit Chaw Ua Si
• Cov Ntaub Ntawv -> Piv txwv -> Adafruit Bluefruit LE nRF51 -> cplay_neopixel_picker
• Upload rau koj ntaus ntawv
Kauj Ruam 6: Tswj Lub Teeb Nrog Koj Lub Smartphone App
Siv smartphone los txuas
· Tom qab txuas, hloov kho lub khoos phis tawj yog tias thov (xaiv qhov tseeb)
CEEB TOOM: Nov yog kev sib txuas lus ncaj qha rau Bluefruit LE
· Tej zaum yuav muaj lub npe coj txawv txawv thawj zaug rov txuas
· Siv "Tus Tswj" tom qab txuas (tsis yog NeoPixels)
· Ua si nrog Xim Picker (ntxoov ntxoo thiab ci ntsa iab) thiab Control Pad (tus lej ntawm cov teeb uas nyob)
YOOJ YIM: Txuas lub roj teeb siv lub zog USB (los ntawm PC) coj koj lub cuab yeej mus!
Kauj Ruam 7: Kev Ruaj Ntseg Bluetooth
Cov tub ntxhais kawm tau lom zem sim hack thiab raug nyiag. Ntau qhov kev tso dag tuaj yeem tsim nrog lub npov uas muaj kev sib txuas ntawm Bluetooth, tab sis nws kuj tseem tuaj yeem nkag mus rau hauv txhais tes ntawm cov neeg siv tsis zoo.
Sim cov "lom zem hacks" no seb lawv ua haujlwm li cas.
- Koj tuaj yeem nyob deb npaum li cas ua ntej lub teeb liab Bluetooth ploj? Hint: nws tuaj yeem mus txog 50 metres - lossis kwv yees li ib nrab ntawm kev ncaws pob - tab sis nyob ntawm seb lub zog xa hluav taws xob, lub kav hlau txais xov, kev cuam tshuam hluav taws xob thiab cov khoom siv tsim vaj tsev (tsis txhob hais tias cov npoj yaig ua paj kws hauv lub microwave) - koj cov txiaj ntsig yuav txawv: -)
- Leej twg yog "Quick-draw McGraw?" Saib seb koj puas tuaj yeem hla lub teeb xim ua ntej koj tus phooj ywg ua. Puas yog thawj tus neeg txuas tus tswj, lossis tuaj yeem muaj ntau dua ib tus neeg tswj lub teeb?
- Dab tsi lwm yam khoom siv Bluetooth nyob hauv thaj tsam ntawm koj tus tswj? Puas yog lub cuab yeej koj tau tsim lub cuab yeej Bluetooth pom? Hint: Tej zaum tsis yog!
Pom zoo:
ESP8266 - Lub Sijhawm thiab Chaw Taws Teeb Tswj (Cov Neeg Ruaj Ntseg Ruaj Ntseg): 6 Cov Kauj Ruam
ESP8266 - Lub Sij Hawm thiab Cov Chaw Taws Teeb Tswj (Cov Neeg Ruaj Ntseg Ruaj Ntseg): Cov ntaub ntawv: Lub rooj sib tham no yog kev tshuaj xyuas kom tsis txhob muaj cua sov, hluav taws kub thiab raug xwm txheej thaum tsis nco qab siv cov khoom siv (feem ntau yog cov neeg laus nrog Alzheimer's). Tom qab khawm tau pib, lub qhov (socket) tau txais 110/220 VAC rau 5 feeb (lwm qhov
DIY Cheep/Cov Dej Ruaj Ruaj Ruaj Ruaj Ruaj Ruaj Ruaj Ruaj Zoo rau Tsiaj: 7 Kauj Ruam
DIY Cheep/Cov Dej Rhaub Dej Zoo rau Cov Tsiaj Tsiaj: Yog li koj tab tom khaws aub/luav/miv/… sab nraum thiab lawv cov dej ua kom khov thaum lub caij ntuj no. Tam sim no ib txwm koj yuav coj lawv mus sab hauv lossis yuav cov tais diav ua kom sov, tab sis cov tsiaj no tej zaum muaj ntxhiab tsw, koj tsis muaj chav nyob, thiab koj tsis tuaj yeem them $ 4
Yuav Ua Li Cas Kom Ruaj Ntseg thiab Ruaj Ntseg Koj Lub Xov Tooj thiab Gadget: 4 Kauj Ruam
Yuav Ua Li Cas Kom Nyab Xeeb thiab Ruaj Ntseg Koj Lub Xov Tooj thiab Gadget: los ntawm ib tus neeg uas tau poob yuav luag txhua yam (hais lus ntxiag, tau kawg). Yog tias qee yam tsis txuas nrog kuv, muaj lub sijhawm loj heev uas kuv yuav ua rau nws tsis raug, hnov qab yog qhov chaw
Nab hab sej Kev Ruaj Ntseg Kev Ruaj Ntseg/Kev Txiav Txim Siab Software: 3 Kauj Ruam
Python Kev Nyab Xeeb Kev Nyab Xeeb/Kev Nyab Xeeb Kev Nyab Xeeb Software: Hauv Cov Lus Qhia Kuv yuav qhia koj li cas nrog qee qhov Python yooj yim, koj tuaj yeem khaws koj cov ntaub ntawv ruaj ntseg siv kev lag luam tus qauv AES.Requirements:- Python 3.7- PyAesCrypt library- hashlib libraryIf koj tsis muaj cov tsev qiv ntawv no, koj tuaj yeem teeb tsa tau yooj yim los ntawm
Tsho Ruaj Ntseg Ruaj Ntseg: Kev Ruaj Ntseg Ris Tsho LED Tsho: 11 Cov Kauj Ruam (nrog Duab)
Ris tsho Ruaj Ntseg Ruaj Ntseg: Kev Ruaj Ntseg Zoo LED Jacket: Txhim kho lub teeb yuag thiab siv tau cov khoom siv hluav taws xob tau qhib qhov muaj peev xwm tshiab rau kev siv thev naus laus zis mus rau hauv lub tebchaws thiab siv nws los ua kom muaj kev nyab xeeb ntawm cov neeg tshawb nrhiav. Txog rau qhov haujlwm no, Kuv kos kuv tus kheej kev paub nrog kev tawm sab nraud