Cov txheej txheem:
- Kauj Ruam 1: Qhov Tsim Nyog
- Kauj Ruam 2: Tus Qauv Minecraft
- Kauj Ruam 3: Txoj Cai (Python Castle)
- Kauj Ruam 4: Txoj Cai (NodeRED)
- Kauj Ruam 5: Txoj Cai hauv Intel Edison (Tsis teb los tau)
- Kauj Ruam 6: Dashboard
- Kauj Ruam 7: Qhov tshwm sim
Video: IoT Minecraft Castle: 7 Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
IoT yog lub ntiaj teb txaus nyiam tiag tiag kom pom thiab siv qee yam cuab yeej zoo xws li minecraft thiab node-RED tuaj yeem yog txoj hauv kev zoo
Kauj Ruam 1: Qhov Tsim Nyog
Yam uas koj xav tau yog:
- Raspberry Pi 2 nrog NodeRED thiab Minecraft PI
- Intel Edison
Raspberry Pi 2 nrog NodeRED
Feem ntau ntawm Raspberries muaj Node-RED teeb tsa, thiab koj yuav tsum hloov kho nws li ntawd
Tsis tas li, koj yuav xav tau Node-RED Dashboard, ntawm no koj tuaj yeem pom yuav ua li cas rau nruab nws thiab qee cov ntaub ntawv muaj txiaj ntsig
Hauv Minecraft ib feem nws yog qhov tseem ceeb uas koj muaj Jessie version ntawm Raspbian thiab rub tawm nws los ntawm no thiab MQTT txuas, ntawm no koj muaj phau ntawv qhia zoo rau nruab MQTT hauv Python hauv koj li Raspberry thiab qee qhov piv txwv
Kauj Ruam 2: Tus Qauv Minecraft
Hauv qhov no, lub tsev fuabtais tau tsim los ntawm Matt Hawkins thiab qhov chaws tuaj yeem pom ntawm no
Kauj Ruam 3: Txoj Cai (Python Castle)
Zoo li koj pom hauv cov kauj ruam dhau los, txhua lub tsev fuabtais tsim kho yog nyob hauv Python, tab sis kuj koj yuav xav tau MQTT txuas
Yog thawj zaug koj ua haujlwm nrog MQTT, hauv kev taw qhia muaj cov lus qhia zoo los pib nrog.
MQTT ua haujlwm nrog qee cov cim npe npe cov ncauj lus, thawj qhov koj xav tau yog nyeem qhov raug, tom qab ntawd koj yuav tsum txheeb xyuas cov ntaub ntawv twg xa los ntawm lub dashboard (Cov ntaub ntawv ntawd yog them nyiaj). Cov chij hauv txhua lub ncauj lus yog vim tias ib zaug qhov kev zov me nyuam tau txais qhov kev xaiv, nws yuav tsis paub tib qho kev xaiv kom txog thaum lwm qhov kev xaiv tau khiav lossis lwm yam lus, nws yuav tsis paub zoo ib yam txhua lub sijhawm nws tau txais cov nyiaj them poob haujlwm.
Kauj Ruam 4: Txoj Cai (NodeRED)
Node-RED yog txoj hauv kev zoo rau txoj haujlwm IoT
- Koj yuav tsum rub thiab xa cov khoom koj xav tau.
- Txog kev txuas kuv tau siv MQTT, thiab nws yog qhov tseem ceeb teeb tsa tus broker, qhov no, tus tswv lag luam uas ua rau Eclipse Foundation, nws yog pub dawb tab sis ua tib zoo saib xyuas tsis qhia tawm cov ntaub ntawv rhiab.
- Thaum koj tau teeb tsa tus broker, koj yuav tsum tsim lub ncauj lus koj yuav ua haujlwm nrog, ntawm no koj tuaj yeem pom qee cov lus qhia yog thawj zaug koj ua haujlwm nrog MQTT
Kauj Ruam 5: Txoj Cai hauv Intel Edison (Tsis teb los tau)
Intel Edison muaj ntau yam khoom txias, ib ntawm lawv, suav nrog bluetooth txuas.
Kuv tau siv qhov ntawd, kom paub txog thaum kuv lub xov tooj smartphone nyob ze, tsuas yog koj xav tau txuas lub bluetooth ntaus ntawv lossis hauv qhov no xa qee qhov echoes hu rau lub chaw nyob
Kauj Ruam 6: Dashboard
Nws zoo dua yog tias koj tsim lub dashboard los cuam tshuam nrog.
Txhua yam koj yuav tsum ua yog rub thiab tso cov khoom hauv qhov chaw ua haujlwm (Zoo li hauv Kauj Ruam) thiab mus rau theNodeREDIP: 1880/ui thiab koj yuav pom nws
Kauj Ruam 7: Qhov tshwm sim
Hauv kuv li GitHub koj tuaj yeem pom cov cai, thiab tsis txhob yig tau xa kuv yog tias koj muaj lus nug
Pom zoo:
Castle Planter (nrog Tinkercad Code Blocks): 25 Kauj Ruam (nrog Duab)
Castle Planter (nrog Tinkercad Code Blocks): Qhov kev tsim ntawm no coj kuv mus ib ntus kom ua tiav, thiab txij li kuv cov txuj ci coding yog, txwv tsis pub hais tsawg, Kuv vam tias nws ua tau zoo :) Siv cov lus qhia uas koj yuav tsum muaj peev xwm ua tau rov ua dua txhua qhov ntawm kev tsim no yam tsis muaj
Kev Tsim Qauv Duab Duab/Duab Duab Duab: 4 Kauj Ruam
Kev Tsim Qauv Duab Duab/Duab Duab Duab: Nyob zoo txhua tus, Hauv qhov kev qhia no, Kuv yuav qhia koj cov txheej txheem ntawm yuav ua li cas thiaj tsim 3D qauv siv cov duab digital. Cov txheej txheem hu ua Photogrammetry, tseem hu ua Image-Based Modeling (IBM). Tshwj xeeb, hom txheej txheem no tau siv los rov ua dua
Cov Duab Duab Duab thiab Cov Duab 1: 4 Cov Kauj Ruam (nrog Duab)
Cov Duab Duab Cubes thiab Cov Duab 1: Thaum sim nrog qee cov ntoo ntoo thiab cov duab los qhia, kuv pom ob peb txoj hauv kev los ua cov voos thiab lwm yam duab los ntawm cov khoom siv yooj yim. Los ntawm kev muab cov no los ua Cov Ntawv Qhia, Kuv vam tias yuav txhawb nqa kev ua si thiab kev kawm. Kev hloov pauv ntawm qhov kev qhia no
Yuav Ua Li Cas Thiaj Li Tshem Tawm Lub Computer Nrog Cov Kauj Ruam Yooj Yim thiab Duab: 13 Kauj Ruam (nrog Duab)
Yuav Tsum Tshem Tawm Lub Khoos Phis Tawj Li Cas Nrog Cov Kauj Ruam Yooj Yim thiab Duab: Nov yog cov lus qhia txog yuav ua li cas tshem lub PC. Feem ntau ntawm cov khoom siv yooj yim yog hloov pauv thiab tshem tawm tau yooj yim. Txawm li cas los xij nws yog ib qho tseem ceeb uas koj tau koom nrog nws. Qhov no yuav pab tiv thaiv koj kom tsis txhob poob ib feem, thiab tseem ua rau kev rov ua dua tshiab
Cov Duab Duab Duab Duab, WiFi Txuas - Raspberry Pi: 4 Cov Kauj Ruam (nrog Duab)
Cov Duab Duab Duab Duab, WiFi Txuas - Raspberry Pi: Nov yog txoj hauv kev yooj yim heev thiab tus nqi qis mus rau cov duab thav duab digital - nrog qhov zoo ntawm kev ntxiv /tshem cov duab hla WiFi ntawm 'nyem thiab luag' siv (pub dawb) xa cov ntaub ntawv . Nws tuaj yeem siv tau los ntawm qhov me me ยฃ 4.50 Pi Zero. Koj tseem tuaj yeem hloov pauv