Cov txheej txheem:

IoT Minecraft Castle: 7 Kauj Ruam (nrog Duab)
IoT Minecraft Castle: 7 Kauj Ruam (nrog Duab)

Video: IoT Minecraft Castle: 7 Kauj Ruam (nrog Duab)

Video: IoT Minecraft Castle: 7 Kauj Ruam (nrog Duab)
Video: The best way to fill up your pool ๐Ÿ˜Ž๐Ÿ”ฅ 2024, Kaum ib hlis
Anonim
IoT Minecraft Tsev fuabtais
IoT Minecraft Tsev fuabtais
IoT Minecraft Tsev fuabtais
IoT Minecraft Tsev fuabtais
IoT Minecraft Tsev fuabtais
IoT Minecraft Tsev fuabtais
IoT Minecraft Tsev fuabtais
IoT Minecraft Tsev fuabtais

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

Tus Qauv Minecraft
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)

Txoj Cai (Python Castle)
Txoj Cai (Python Castle)
Txoj Cai (Python Castle)
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)

Txoj Cai (NodeRED)
Txoj Cai (NodeRED)
Txoj Cai (NodeRED)
Txoj Cai (NodeRED)
Txoj Cai (NodeRED)
Txoj Cai (NodeRED)

Node-RED yog txoj hauv kev zoo rau txoj haujlwm IoT

  1. Koj yuav tsum rub thiab xa cov khoom koj xav tau.
  2. 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.
  3. 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)

Cov Cai hauv Intel Edison (Tsis teb los tau)
Cov 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

Lub Dashboard
Lub 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

Qhov tshwm sim
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: