Cov txheej txheem:
- Khoom siv
- Kauj ruam 1: Kho vajtse
- Kauj Ruam 2: Software: Blynk App
- Kauj Ruam 3: Software: Arduino IDE
- Kauj Ruam 4: Software: IFTTT
- Kauj Ruam 5: Kev Xav Thaum Kawg
Video: IoT Laser Tsiaj Qho Khoom Ua Si: 5 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
Qee lub sij hawm, kuv chav ua noj poob rau tus dev dhuav. Thaum tsis muaj neeg saib xyuas, cov laug cam, cov txaj dev, cov phuam da dej hauv chav ua noj, cov txee hauv chav ua noj thiab cov xim pleev xim tau raug kev txom nyem tag nrho. Txhawm rau pab ua kom kuv tus menyuam lom zem thaum kuv ua haujlwm, Kuv tsim IoT laser tsiaj cov khoom ua si kom nws nyob. Hauv hom pib, lub laser yuav txav ib puag ncig hauv pem teb hauv qhov qauv tsis raug rau lub sijhawm, tom qab uas cov khoom lag luam raug tso tseg kom muab nqi zog rau tus tsiaj. Cov nqi zog yog qhov tseem ceeb yog li lawv tsis poob siab los ntawm cov teeb meem laser thiab nws txhawb kom lawv ua si!
Nws tuaj yeem tswj tau ntawm tus kheej ntawm lub xov tooj smartphone, lossis teeb tsa rau hom pib. Nws kuj tseem tuaj yeem qhib tau los ntawm lub suab siv Google Assistant (hom pib nkaus xwb).
Khoom siv
Txhawm rau tsim txoj haujlwm no, koj yuav xav tau:
- 2mg995 wb
- yias thiab qaij sensor mount cov khoom siv
- 1 micro servo SG90
- protein ntau los yog sib npaug
- 650nm Liab Laser Diode Module
- nodeMCU
- xaim
- pcb xab
- fais fab mov (12v 5A)
- DC-DC 24V/12V Rau 5V 5A Kauj Ruam Down Buck Converter
- laug
- cam khwb cia hlau
- smartphone/Google lub cuab yeej hauv tsev
- phom phom
- kab xev/kua nplaum
Cov software hauv qab no tseem xav tau:
- Arduino IDE thiab esp8266 lub tsev qiv ntawv
- IFTTT
- Blynk app thiab tsev qiv ntawv
- Google Pabcuam
Kauj ruam 1: Kho vajtse
- Sib dhos cov khoom siv servo mount. Kuv kaw lub hauv paus ntawm nws mus rau pcb, lub sijhawm ntev, kuv yuav kho nws mus rau saum kuv chav ua noj nrog cov ntsia hlau.
- Xa mus rau daim duab qhia chaw rau thaiv. Kuj pom cov duab ntawm kuv qhov kev sim tsis zoo ntawm kev siv lub tshuab:)
- Kaw lub laser mus rau sab saum toj ntawm lub lauj kaub/qaij servos thiab tseem muab cov kua nplaum rau kho qhov kev pabcuam (Kuv kuj tseem siv lub duav thib ob los ua sawv rau kev kho servo tab sis koj tuaj yeem siv txhua yam).
Sau ntawv:
Cov servos kuv siv yog qhov hnyav heev, koj yuav tau txais tsawg dua vim tias cov haujlwm me me.
Txhua qhov kev pabcuam tuaj yeem kos txog 1200mA (qhov me dua qhov kos tsawg dua), ntxiv lwm ~ 700mA rau nodeMCU thiab koj tau txais qhov siab tshaj ntawm ~ 3100mA. Qhov no yog vim li cas kuv thiaj siv 5A khoom. Kuv xub siv lub khob cij thiab 1A mov, thaum kuv qhib nws, nodeMCU khaws cia rov pib dua. Yog tias koj ntsib teeb meem no, rov txheeb xyuas ob zaug tias koj teeb tsa tuaj yeem muab khoom txaus tam sim no.
Kauj Ruam 2: Software: Blynk App
- Nruab Blynk App:
- Ua raws cov kauj ruam los tsim ib tus as khauj, ib qhov haujlwm tshiab thiab tau txais daim ntawv lees paub
- Xaiv lub hom phiaj ntaus ntawv thaum tsim qhov project (nodeMCU)
-
Sab hauv qhov haujlwm koj yuav ntxiv 5 cov cuab yeej:
-
Khawm kom qhib/tua lub laser
- map rau D0
- teeb kom hloov hom
- Slider los kho lub kaum sab xis (V0, thaj tsam 0-180)
- Slider los kho lub kaum sab xis (V1, thaj tsam 0-180)
- Slider los kho kho servo (V3, thaj tsam 0-180)
-
Khawm kom qhib/tua hom pib
- map rau V2
- teeb kom hloov hom
-
Kauj Ruam 3: Software: Arduino IDE
- Nruab Arduino IDE:
-
Ntxiv blynk thiab esp8266 cov tsev qiv ntawv
- Blynk: Yuav ua li cas rau nruab Blynk lub tsev qiv ntawv
- esp8266: Yuav Ua Li Cas Nruab ESP8266 Rau Hauv Arduino IDE credit rau mybotic
-
Code
- Rub tawm lossis luam cov cai los ntawm Github (cov ntaub ntawv hauv qab no kuj)
- Hauv txoj cai, koj yuav tsum teeb tsa ssid thiab tus password rau koj lub router (wifi).
- Koj kuj tseem yuav tsum teeb tsa tus cim token uas tau tsim rau Blynk. Koj tuaj yeem thov lub cim cim ntawm email los ntawm app.
- Koj kuj tseem yuav xav kho lub min thiab max kaum ntawm cov servos, cov no tau teeb tsa kom lub laser ib txwm taw tes rau hauv pem teb, thaum thawj qhov kev sim kuv pom tias cov dev yuav caum lub laser nce ntawm phab ntsa:) Khaws nws mus rau hauv pem teb tshwj tsis yog tias koj xav rov kho dua tshiab!
- Nco tseg: cov timers tau siv hauv txoj haujlwm no txhawm rau txo tus naj npawb ntawm kev thov mus rau Blynk huab, yog tias muaj kev thov ntau dhau ib pliag, koj yuav raug txiav tawm. Nws tseem yog ib qho tseem ceeb kom ua kom cov lej ua tiav hauv lub voj () ua haujlwm kom tsawg. Xa mus rau kab lus no kom paub ntxiv. Hom pib yuav txav cov servos randomly txhua 2 vib nas this, 10 zaug thiab tom qab ntawd tso qhov kho, koj tuaj yeem kho qhov no rau koj tus kheej xav tau.
- Txuas lub nodeMCU rau koj lub khoos phis tawj ntawm usb.
- Ua kom ntseeg tau tias lub rooj tsavxwm raug thiab chaw nres nkoj raug xaiv nyob hauv cov cuab yeej.
- Tshaj tawm cov cai rau nodeMCU (txoj cai xub khawm nyob rau sab saum toj toolbar).
Kauj Ruam 4: Software: IFTTT
Txhawm rau qhib cov khoom ua si siv Google Assistant, koj yuav tsum tsim daim ntawv thov siv IFTTT.
- Tsim ib tus account
- Mus rau "Kuv Applets"> "Applet Tshiab"
- Nyem rau ntawm "Qhov no" thiab tshawb rau Google tus pab
- Xaiv "Hais cov kab lus yooj yim"
- Sau rau hauv cov teb raws li koj pom zoo thiab xaiv "tsim ua"
- Nyem rau ntawm qhov ntawd thiab tshawb rau webhooks
- Xaiv "Ua lub vev xaib thov"
-
teeb url rau BLYNK_IP/AUTH_TOKEN/hloov tshiab/V2? tus nqi = 1
- Txhawm rau kom tau blynk IP los ntawm koj lub tebchaws tsuas yog mus rau kab hais kom ua thiab nkag mus: ping cloud.blynk.cc
- Hloov kho tus IP thiab daim ntawv lees paub token hauv qhov url. Nws yuav tsum zoo li:
- Thaum lub applet tau txais kev cawmdim, koj tuaj yeem kuaj lub laser siv Google Assistant!
Kauj Ruam 5: Kev Xav Thaum Kawg
Thiab nyob ntawd koj muaj nws, lub suab lossis xov tooj tswj IoT cov khoom ua si tsiaj. Txhawm rau txhim kho txoj haujlwm ntxiv, Kuv yuav ntxiv rooj plaub rau kev sib txuas, thiab tseem muaj lub vev xaib kom koj tuaj yeem saib koj tus tsiaj ua si thaum koj tsis nyob. Kev tswj lub suab tuaj yeem txhim kho los ntawm kev tuaj yeem hais qhia qhov ntev npaum li cas cov khoom ua si khiav rau piv txwv li "tig lub laser rau 5 feeb". Ib txoj hauv kev rov qab kho kho daus yuav zoo ib yam thiab. Txaus siab rau kev tsim thiab tshaj tawm koj qhov kev nce qib hauv qab no!
Pom zoo:
Hloov-Hloov Kho Cov Khoom Ua Si: Nce Qaum Qaum Taug Kev Qho Khoom Ua Si: 7 Kauj Ruam
Hloov-Hloov Cov Khoom Ua Si: Nce Qaum Taug Kev Qho Khoom Ua Si: Qho khoom ua si hloov pauv qhib txoj hauv kev tshiab thiab kev daws teeb meem kom tso cai rau menyuam yaus uas muaj peev xwm txwv lub cev muaj zog lossis kev xiam oob khab kev loj hlob los cuam tshuam nrog cov khoom ua si ntawm nws tus kheej. Hauv ntau qhov xwm txheej, cov menyuam yaus uas xav tau cov khoom ua si hloov pauv tsis tuaj yeem nkag mus
Tuchless Hloov rau Cov Khoom Siv Hauv Tsev -- Tswj Koj Cov Khoom Siv Hauv Tsev Tsis Muaj Tuch Ib qho Hloov: 4 Cov Kauj Ruam
Tuchless Hloov rau Cov Khoom Siv Hauv Tsev || Tswj Koj Cov Khoom Siv Hauv Tsev Tsis Muaj Tuch Ib qho Hloov: Nov Yog Qhov Tuchless Hloov Rau Cov Khoom Siv Hauv Tsev. Koj Siv Tau Qhov No Mus Rau Txhua Qhov Chaw Hauv Pej Xeem Kom Pab Tau Tawm Tsam Ib Yam Kab Mob. Lub Circuit Court Raws Li Tsaus Sensor Circuit Ua Los Ntawm Op-Amp Thiab LDR. Qhov Tseem Ceeb Thib Ob Ntawm Qhov Circuit Court SR Flip-Flop Nrog Sequencell
Sib tham sib Ntiaj Teb Plush thiab Phau Ntawv Tsiaj Tsiaj Zoo Tshaj Plaws: 14 Kauj Ruam
Sib tham sib Globe Plush thiab Phau Ntawv Tsiaj Tsiaj Zoo: Hauv kuv li Kev Kawm Txuj Ci thiab Kawm Hauv chav kawm, qhov haujlwm kawg tau ua haujlwm rau kuv nrog tsim cov khoom siv ib qho ntawm cov thev naus laus zis uas peb tau kawm txog hauv chav kawm. Txog rau txoj haujlwm no, txawm li cas los xij, peb yuav tsum tau siv thev naus laus zis ntau dua li qhov peb tau ua nrog nws befo
Minion Cubecraft Qho Khoom Ua Si (Lub Teeb Qho Khoom Ua Si): 4 Kauj Ruam
Minion Cubecraft Toy (Lub Teeb Qho Khoom Ua Si): Txij li ntev los kuv xav ua lub teeb kom siv nws hauv qhov tsaus ntuj, tab sis lub tswv yim ntawm tsuas yog cov khoom siv cylindrical zoo li tsuas yog qhib-tawm ua rau kuv tsis ua nws. Nws yog qhov tseem ceeb heev. Tom qab ntawd muaj ib hnub kuv tus nus coj ib qho PCB me me nrog
Qho khoom ua si khoom plig Tshuab: 6 Kauj Ruam
Qho khoom ua si khoom plig tshuab: Taw qhia ntawm lub tshuab: Nov yog khoom ua si khoom plig khoom plig tshuab. Yog koj muab cov khoom ua si tso rau hauv lub thawv khoom ua si. Lub tshuab khoom plig yuav nkag siab tias qee yam raug muab tso rau hauv lub thawv thiab tom qab ntawd muab lub teeb pom kev thiab lub suab tawm tswv yim rau nqi zog. Cov tub ntxhais kawm yuav raug txhawb los ntawm