Cov txheej txheem:
- Kauj ruam 1: Yees duab
- Kauj ruam 2: Cheebtsam
- Kauj Ruam 3: Tau Raspberry Pi nce thiab khiav
- Kauj Ruam 4: Pab Kom Nkag Mus Nkag Nkag Nkag Nkag rau Raspberry Pi
- Kauj Ruam 5: SAMBA
- Kauj Ruam 6: Kho SAMBA
- Kauj ruam 7: Ua tau
Video: Yuav Ua Li Cas Cov Neeg Siv Khoom Siv Raspberry Pi: 7 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
Tam sim no ib hnub nws yog qhov muaj ntau lub khoos phis tawj nyob hauv ib lub tsev nrog suab paj nruag thiab yeeb yaj kiab kis ntawm lawv. Lwm txoj hauv kev los npaj koj cov khoom yog khaws nws ntawm lub hauv paus server aka FILE SERVER.
Hauv cov lus qhia no, peb yuav tsim cov ntaub ntawv server siv raspberry pi.
Cia peb pib.
Kauj ruam 1: Yees duab
Ua tib zoo saib cov vis dis aus. Yog tias koj nyiam nws, tsis txhob hnov qab subscribe.
Kauj ruam 2: Cheebtsam
Txog rau qhov MiniProject no peb yuav xav tau cov khoom siv hauv qab no.
- Raspberry pi, nyiam dua raspberry pi 3 rau nws ua hauv wireless LAN,
- 5V USB fais fab mov,
- microSD daim npav thiab
- microSD daim npav nyeem ntawv.
Koj kuj tseem yuav xav tau lub khoos phis tawj/desktop los teeb raspberry pi.
Kauj Ruam 3: Tau Raspberry Pi nce thiab khiav
Thawj qhov kev txiav txim ntawm kev lag luam yog kom tau raspberry pi nce thiab khiav. Cov kauj ruam hauv qab no qhia koj kom ua raws qhov ntawd.
- Rub tawm raspbian tseeb los ntawm raspberrypi.org,
- Ntxig daim npav microSD rau hauv daim npav nyeem ntawv microSD,
- Txuas nws mus rau koj lub tshuab hauv tsev (laptop/desktop) thiab
- Nruab thiab qhib lwm yam kom hlawv raspbian ntawm daim npav microSD.
Kauj Ruam 4: Pab Kom Nkag Mus Nkag Nkag Nkag Nkag rau Raspberry Pi
Thaum raspbain tau hlawv rau daim npav microSD. Luam raspbian cov npe chaw nyob, qhib lub davhlau ya nyob twg ntawm lub tshuab hauv tsev, hloov cov npe mus theej cov npe hauv paus chaw nyob. Hloov kho cov ntaub ntawv npe cuam tshuam hauv lwm yam/network npe kom zoo li ib qho pom hauv cov duab txuas. Thaum ua tiav, tsim cov ntaub ntawv khoob hu ua 'ssh' hauv raspbian boot directory. Thaum kawg nqa daim npav microSD los ntawm daim npav nyeem ntawv thiab ntxig rau hauv raspberry pi. Tom qab ntawd tig rau koj tus raspberry pi.
Thaum Raspberry pi khau looj plab hlaub nrhiav pom IP chaw nyob ntawm raspberry pi siv network scanning daim ntawv thov zoo li npau taws IPScanner. Siv tau tus IP chaw nyob koj tuaj yeem nkag mus deb rau raspberry pi nrog ssh los ntawm davhlau ya nyob twg hauv linux thiab software zoo li putty hauv windows.
Kauj Ruam 5: SAMBA
Thaum koj nyob deb tus ID nkag mus rau raspberry pi tsim cov ntawv npe hu ua Qhia tawm uas muaj cov npe hu ua 'Test_folder' hauv cov npe hauv tsev. Peb yuav siv 'Test_folder' rau cov ntaub ntawv server server demo.
Samba yog lub npe ntawm cov software uas cia koj yooj yim faib cov ntaub ntawv hla lub network.
Ntawm raspberry pi peb tuaj yeem nruab samba nrog-
sudo apt-tau nruab samba samba-common-bin
Kauj Ruam 6: Kho SAMBA
Thaum SAMBA tau teeb tsa peb yuav tsum kho cov ntaub ntawv teeb tsa kom nws paub qhov twg los saib rau peb 'Test_folder'. Qhib cov ntaub ntawv teeb tsa nrog
sudo nano /etc/samba/smb.conf
thiab rau hauv qab ntawm cov ntawv no ntxiv cov chaw hauv qab no.
[Pi qhia tawm] tawm tswv yim = Pi sib qhia cov kab lus =/tsev/pi/Qhia tawm tuaj yeem nkag tau = yog sau tau = Yog tsuas yog qhua = tsis tsim daim npog ntsej muag = 0777 daim npog ntsej muag = 0777 pej xeem = yog qhua ok = yog
Thaum ua tiav, txuag thiab tawm.
Ua raws li qhov no peb yuav tsum rov pib dua SAMBA tus lej siv
sudo smbpasswd -a
Thaum kawg rov pib dua SAMBA nrog
sudo /etc/init.d/samba rov pib dua
thiab peb tau ua tiav.
Kauj ruam 7: Ua tau
Tam sim no qhib cov ntaub ntawv browser ntawm koj lub tshuab hauv tsev. Nyem rau 'txuas rau server' ntawm sab ntawv qhia zaub mov thiab ntaus
swb: //
Koj yuav tsum pom 'Test_folder' tshwm sim.
Qhov ntawd yog cov neeg.
Ua tsaug rau kev nyeem ntawv.
Pom zoo:
YUAV UA LI CAS YUAV UA LI CAS YUAV TSUM MUAJ KEV LAG LUAM CIRCUIT Siv D882 Tus Neeg Soj Ntsuam: 3 Kauj Ruam
YUAV UA LI CAS YUAV UA LI CAS YUAV TSUM TAU LWM YAM CIRCUIT Siv D882 Tus Kws Tshaj Lij: HELLO phooj ywg, Zoo siab txais tos rau kuv CHANNEL, Hnub no kuv yuav qhia koj li cas kom ua tau CIRCUIT ntawm kev siv hluav taws xob tsis siv neeg lub teeb pom kev siv D882
Kev teeb tsa Matrix LED hauv Cov Khoom Siv Hluav Taws Xob qub - Yuav Tsum Tau Cov Khoom Siv: 3 Cov Kauj Ruam (nrog Duab)
Kev teeb tsa Matrix LED hauv Cov Khoom Siv Hluav Taws Xob qub - Yuav Tsum Tau Siv Cov Khoom Siv: Lub teeb pom kev zoo los ntawm lub Windows PC dhau Bluetooth thiab LED cov txheej txheem nthuav tawm Ib co piv txwv ntawm pixel kos duab thiab cov duab ua haujlwm khiav ntawm LED Cov Ntsiab Lus ntawm PIXEL Guts Kit Hauv Cov Lus Qhia no, peb ' yuav
Kev Sib Txuas TCP/IP hla GPRS: Yuav Xa Cov Ntaub Ntawv Li Cas Rau Cov Neeg Siv Khoom Siv SIM900A Tus Qauv: 4 Kauj Ruam
Kev Sib Txuas TCP/IP hla GPRS: Yuav Ua Li Cas Xa Cov Ntaub Ntawv rau Server Siv SIM900A Module: Hauv qhov kev qhia no kuv yuav qhia koj txog yuav xa cov ntaub ntawv mus rau TCP server siv sim900 module li cas. Tsis tas li peb yuav pom yuav ua li cas peb tuaj yeem tau txais cov ntaub ntawv los ntawm server rau cov neeg siv khoom (GSM module)
Tswj Cov Khoom Siv Los Ntawm Arduino Nrog Cov Neeg Siv Khoom Hloov: 8 Cov Kauj Ruam (nrog Duab)
Kev Tswj Cov Khoom Siv Los Ntawm Arduino Nrog Kev Siv Hluav Taws Xob: Lub Arduino tuaj yeem siv los tswj cov cuab yeej los ntawm kev siv cov khoom siv yooj yim hloov pauv hloov chaw
Rov Siv Cov Khoom Siv Yas Zib Zib Zib Zib Hnab Rau Hauv Cov Chaw Muag Khoom Chaw Muag Khoom: 6 Kauj Ruam
Reuse Recycle Plastic Chewing Gum Cannister Into Solder Station Dispenser: Cov lus qhia no yuav qhia koj yuav ua li cas siv cov yas zom zom tuaj yeem ua kom khaws cov kab laug sab zoo thiab huv. Qhov no yuav ua haujlwm ntawm lwm yam khoom siv spooled thiab; Txoj hlua, Hlau, Cables