Cov txheej txheem:

Raspberry Pi Display Access Over Internet: 7 Kauj Ruam
Raspberry Pi Display Access Over Internet: 7 Kauj Ruam

Video: Raspberry Pi Display Access Over Internet: 7 Kauj Ruam

Video: Raspberry Pi Display Access Over Internet: 7 Kauj Ruam
Video: Move Over Raspberry Pi 2024, Kaum ib hlis
Anonim
Raspberry Pi Zaub Access Hauv Internet
Raspberry Pi Zaub Access Hauv Internet

Hauv Cov Lus Qhia no peb yuav kawm paub siv lub khoos phis tawj zaub rau raspberry pi (txhua tus qauv). Peb tuaj yeem yuav raspberry pi zaub daim ntawv lag luam tab sis qhov ntawd yuav raug nqi koj hloov ntawm lwm cov zaub peb tuaj yeem siv lub laptop tso tawm hauv is taws nem (los ntawm lwm lub network).

Yog li ntawm no hauv Cov Lus Qhia Kuv tau sim suav tag nrho cov ntsiab lus feeb uas xav tau rau txoj haujlwm no. Txawm li cas los xij yog tias koj pom tias qee yam tsis raug lossis tsis ua haujlwm raws li lub siab xav thov qhia rau nws hauv nqe lus lus thiab kuv yuav ua kom ntseeg tau tias nws raug kho.

Kauj Ruam 1 txog 3 suav nrog raspberry pi kev teeb tsa

Kauj Ruam 4 suav nrog tsim cov nyiaj thiab ua haujlwm ntawm RealVNC

Kauj Ruam 5 suav nrog teeb tsa RealVNC rau raspberry pi thiab laptop

Kauj Ruam 6 suav nrog kev nkag mus ntawm raspberry pi screen

Kauj Ruam 7 xaus cov qhab nia

Kauj Ruam 1: Daim Ntawv Teev Npe thiab Cov Khoom Siv

Cov Cheeb Tsam thiab Cov Khoom Siv Softwares
Cov Cheeb Tsam thiab Cov Khoom Siv Softwares
Cov Cheeb Tsam thiab Cov Khoom Siv Softwares
Cov Cheeb Tsam thiab Cov Khoom Siv Softwares
Cov Cheeb Tsam thiab Cov Khoom Siv Softwares
Cov Cheeb Tsam thiab Cov Khoom Siv Softwares

Cheebtsam yuav tsum tau:

  • Raspberry Pi 2
  • MicroSD daim npav (ntau dua 4GB)
  • SD daim npav nyeem ntawv
  • HDMI rau VGA adapter
  • Ethernet cable

Cheebtsam yuav tsum tau teeb tsa nws thawj zaug:

  • HDMI Zaub lossis PC Saib nrog VGA cable
  • Keyboard thiab Nas

Software yuav tsum tau:

  • SDFormatter
  • Win32DiskImager
  • RealVNC Server thiab Viewer

Kauj ruam 2: Txhim kho OS ntawm SD Card rau Koj Raspberry Pi

Txhim kho OS ntawm SD Card rau Koj Raspberry Pi
Txhim kho OS ntawm SD Card rau Koj Raspberry Pi
Txhim kho OS ntawm SD Card rau Koj Raspberry Pi
Txhim kho OS ntawm SD Card rau Koj Raspberry Pi
Txhim kho OS ntawm SD Card rau Koj Raspberry Pi
Txhim kho OS ntawm SD Card rau Koj Raspberry Pi

Thawj 2 softwares hais xws li SDFormatter thiab Win32DiskImager tau siv los txhim kho OS hauv SD daim npav.

SDFormatter tau siv los ua daim npav MicroSD qhov Win32DiskImager tau siv (hauv peb cov ntaub ntawv) los sau cov duab khau raj (Raspbian Jessie OS IMG file) rau SD Flash ntaus ntawv, ua rau nws bootable.

Koj tseem tuaj yeem siv tus nom NOOBS OS nruab rau koj daim npav SD. NOOBS yog ib qho yooj yim operating system installer uas muaj Raspbian Jessie. Raspbian los ua ntej teeb tsa nrog ntau lub software rau kev kawm, kev ua haujlwm thiab kev siv dav. Nws muaj Python, Kos, Sonic Pi, Java, Mathematica thiab ntau dua. Koj tuaj yeem rub tau Raspbian Jessie lossis Raspbian ncab ntawm no.

Rub tawm Raspbian Jessie lossis Raspbian ncab los ntawm qhov txuas muab saum toj no thiab unzip cov ntsiab lus. Nco ntsoov tias koj muaj Raspbian Jessie IMG cov ntaub ntawv hauv daim nplaub tshev unzipped.

Txawm li cas los xij rau txoj haujlwm no peb yuav mus nrog Win32DiskImager hloov qhov NOOBS installer.

Cov kauj ruam rau kev teeb tsa OS:

  1. Ntxig daim npav MicroSD rau hauv daim npav nyeem ntawv thiab ntsaws lub cuab yeej rau hauv koj lub laptop lossis PC.
  2. Qhib SDFormatter software. Xaiv qhov tseeb tsav. Xaiv hom ntawv ceev. Nyem rau hom ntawv.
  3. Thaum cov ntawv ua tiav qhib Win32DiskImager rau nruab OS rau hauv koj daim npav SD.
  4. Hauv Win32DiskImager taw qhia thiab xaiv Raspbian ncab IMG cov ntaub ntawv los ntawm daim nplaub tshev unzipped thiab tom qab ntawd xaiv lub cuab yeej tsim nyog nyob rau qhov twg OS yuav tsum tau teeb tsa (koj daim npav SD chaw nyob).
  5. Thaum qhov no ua tiav nyem rau ntawm Sau. Koj daim npav SD tam sim no npaj nrog Raspbian OS.

Kauj Ruam 3: Teeb Raspberry Pi thawj zaug

Teeb tsa Raspberry Pi thawj zaug
Teeb tsa Raspberry Pi thawj zaug
Teeb tsa Raspberry Pi thawj zaug
Teeb tsa Raspberry Pi thawj zaug
Teeb tsa Raspberry Pi thawj zaug
Teeb tsa Raspberry Pi thawj zaug

Thaum OS tau teeb tsa rau hauv koj daim npav SD ntxig daim npav rau hauv koj li Raspberry Pi.

Yam tom ntej koj xav tau yog HDMI zaub lossis PC Saib nrog VGA cable (daim duab 1).

Kuv tau siv lub PC saib nrog VGA cable. Raspberry Pi muaj HDMI chaw nres nkoj thiab yog li koj yuav xav tau HDMI rau VGA adapter txuas koj li Raspberry Pi mus rau PC Saib. Kuj txuas cov keyboard thiab nas rau koj Raspberry rau kev teeb tsa thawj zaug.

Thaum qhov no ua tiav lub zog ntawm koj li Raspberry Pi.

Nco tseg: Tsis txhob siv lub Raspberry Pi los ntawm koj lub khoos phis tawj li USB chaw nres nkoj tsis muab tam sim no txaus thaum koj muaj zaub, keyboard thiab nas txuas rau nws. Hloov chaw siv lub 2 Ampere lub xov tooj txawb.

Thaum lub zog ntawm Raspberry Pi yuav tsum thauj OS cov duab teeb duab raws li qhia hauv daim duab 2 thiab 3.

Thawj qhov tseem ceeb tshaj plaws ua tom qab qhov no yog txhawm rau pab SSH thiab VNC server ntawm koj li Raspberry Pi.

Kawm paub ntau ntxiv txog SSH thiab VNC ntawm no.

Muaj 2 txoj hauv kev los ua qhov no:

  1. Los ntawm cov ntawv qhia zaub mov pib.
  2. Los ntawm Raspberry Pi lub davhlau ya nyob twg.

Cov kauj ruam los pab SSH thiab VNC:

1. Los ntawm cov ntawv qhia zaub mov pib.

  • Nyem rau ntawm lub pob pib.
  • Mus rau Preferences Raspberry Pi Configuration (daim duab 5, 6 thiab 7).
  • Lub dialog box yuav qhib. Mus rau Interfaces
  • Pab kom SSH thiab VNC (Koj tuaj yeem tshawb xyuas lwm yam kev xaiv ib yam nkaus tab sis rau txoj haujlwm no peb xav tau tsuas yog 2)

2. Los ntawm Raspberry Pi lub davhlau ya nyob twg.

  • Mus rau Terminal los ntawm toolbar (Icon nrog "<_" cim).
  • Ntaus "sudo raspi-config".
  • Koj yuav tau txais lub npov sib tham raws li qhia hauv daim duab 6 (siv cov keyboard los nrhiav cov kev xaiv).
  • Mus rau Interfacing xaiv thiab pab SSH (daim duab 8, 9, 10 thiab 11).
  • Ib yam li pab VNC (daim duab 12, 13 thiab 14).

Ua !!!!!

Tam sim no koj lub khoos phis tawj tuaj yeem siv txuas rau koj li Raspberry Pi ntawm SSH lossis VNC.

Kauj Ruam 4: Tsim Tus Kheej thiab Ua Haujlwm ntawm RealVNC Viewer

Tsim Tus Kheej thiab Ua Haujlwm ntawm RealVNC Viewer
Tsim Tus Kheej thiab Ua Haujlwm ntawm RealVNC Viewer

VNC siv RFB cov txheej txheem xa cov ntaub ntawv tshuaj ntsuam pixel los ntawm ib lub computer mus rau lwm lub network, thiab xa cov xwm txheej tswj hwm rov qab. Nws yog cov txheej txheem yooj yim tab sis muaj zog tsim los ntawm RealVNC.

Koj xav tau VNC Server app rau lub khoos phis tawj uas koj xav tswj, thiab VNC Viewer app rau lub khoos phis tawj lossis lub xov tooj ntawm tes uas koj xav tswj los ntawm. Koj tuaj yeem nruab thiab tso cai cov apps no ua ntej, lossis rub tawm thiab khiav lawv ntawm qhov xav tau, hauv txoj kev uas haum rau koj tshaj plaws. Los yog ua ob qho tib si, hauv qhov xwm txheej sib txawv.

VNC Server ntes lub desktop ntawm lub computer hauv lub sijhawm tiag tiag thiab xa nws mus rau VNC Viewer rau zaub. VNC Viewer sau koj cov tswv yim (nas, keyboard, lossis kov) thiab xa nws rau VNC Server los txhaj thiab ua tiav kev tswj chaw taws teeb.

Txhawm rau nkag mus rau RealVNC server thiab saib koj yuav tsum tsim tus account

  • Qhib RealVNC lub vev xaib raug cai
  • Nyem Sau npe khawm
  • Sau koj tus email id
  • Hauv lub qhov rai tom ntej koj yuav raug nug tus password tsim koj tus password thiab sau txhua yam uas tau qhia hauv daim duab

Nrog koj zoo siab tus account yog tsim

Kauj Ruam 5: Teeb tsa RealVNC Server ntawm Raspberry thiab RealVNC Viewer ntawm Laptop

Teeb tsa RealVNC Server ntawm Raspberry thiab RealVNC Viewer ntawm Laptop
Teeb tsa RealVNC Server ntawm Raspberry thiab RealVNC Viewer ntawm Laptop
Teeb tsa RealVNC Server ntawm Raspberry thiab RealVNC Viewer ntawm Laptop
Teeb tsa RealVNC Server ntawm Raspberry thiab RealVNC Viewer ntawm Laptop
Teeb tsa RealVNC Server ntawm Raspberry thiab RealVNC Viewer ntawm Laptop
Teeb tsa RealVNC Server ntawm Raspberry thiab RealVNC Viewer ntawm Laptop

Tam sim no koj paub ua haujlwm ntawm RealVNC server peb yuav nruab nws hauv Raspberry pi.

Siv cov lus txib hauv qab no los teeb tsa RealVNC server

  • Qhib davhlau ya nyob twg los ntawm lub cuab yeej
  • Ntaus "sudo apt-tau hloov tshiab"
  • Ntaus "sudo apt-tau nruab realvnc-vnc-server realvnc-vnc-viewer"
  • Ntaus "sudo reboot" kom rov pib dua raspberry pi (daim duab 1, 2, 3 thiab 4)

Thaum raspberry pi nyob, nws yuav thauj cov duab nraaj raws li qhia hauv duab

  • Ntawm sab xis-sab xis ntawm lub vijtsam hauv tsev koj tuaj yeem pom VNC logo (duab 5)
  • Nyem rau ntawm lub logo
  • Koj yuav tau txais lub vijtsam tshiab (daim duab 6)
  • Nyem qhov kos npe rau hauv kev xaiv
  • Sau koj li Email thiab password (Tus lej Realvnc) (daim duab 8)
  • Tom qab ntawd hauv lub qhov rai tom ntej xaiv qhov kev xaiv thib peb raws li kev tso npe hauv tsev (daim duab 9)
  • Hauv lub qhov rai tom ntej koj yuav tau xaiv Ncaj thiab Huab (daim duab 10)
  • Yog tias ua raws cov theem saum toj no kom raug, koj yuav nkag rau hauv (daim duab 12)

Nruab RealVNC tus saib rau koj lub khoos phis tawj

  • Mus rau lub vev xaib raug cai ntawm RealVNC
  • Rub tawm RealVNC tus saib rau lub khoos phis tawj (windows lossis mac lossis ubuntu)
  • Nruab RealVNC hauv laptop
  • Ntawm sab xis-sab xis koj yuav tsum kos npe nkag los ntawm kev siv koj li peev txheej RealVNC
  • RealVNC tuaj yeem nug koj li email lees paub
  • Yog tias ua raws cov theem saum toj no kom raug, koj yuav nkag rau hauv RealVNC tus saib

Ua !!!

Koj tau teeb tsa RealVNC server thiab saib.

Kauj Ruam 6: Nkag Mus Raspberry Pi Zaub hauv Laptop

Nkag Mus Raspberry Pi Zaub hauv Laptop
Nkag Mus Raspberry Pi Zaub hauv Laptop
Nkag Mus Raspberry Pi Zaub hauv Laptop
Nkag Mus Raspberry Pi Zaub hauv Laptop
Nkag Mus Raspberry Pi Zaub hauv Laptop
Nkag Mus Raspberry Pi Zaub hauv Laptop

Koj tau npaj kom tau txais koj cov raspberry pi zaub ntawm koj lub laptop screen

  • Qhib vnc saib hauv lub laptop
  • Mus rau koj pab neeg thiab nrhiav raspberry pi
  • Nyem rau ntawm raspberry pi koj yuav raug nug kom txuas nrog koj li Raspberry pi, nyem rau txuas mus ntxiv raws li qhia hauv duab
  • Sau koj lub npe siv rau raspberry pi lub npe siv tsis raug yog:- pi
  • Tus password tsis raug yog:- raspberry
  • Nkag mus ok

Nrog koj zoo siab koj tau txais koj cov zaub hauv koj lub laptop.

Kauj Ruam 7: Xaus cov qhab nia

Kuv paub tias qhov no tau tshaj tawm ntev heev thiab kuv thov txim ntau rau qhov ntawd. Ua tsaug ntau rau kev coj ua qee qhov ua yuam kev thiab kev sau ntawv tsis raug (txawm hais tias kuv tau sim ntau los txo lawv) thiab tseem nyeem qhov no deb. Qhov laj thawj kab ntawv no ntev npaum li cas yog vim nws tau tsom mus rau BEGINNERS. Thaum kuv tau pib nrog Raspberry Pi Kuv muaj teeb meem ntau sib sau ua ke cov peev txheej kawm txawm tias ua haujlwm yooj yim. Kuv vam tias tsab ntawv no yuav pab koj. Zoo tshaj plaws.

Pom zoo: