Cov txheej txheem:
- Kauj Ruam 1: Cov Khoom Siv
- Kauj Ruam 2: Cov Qauv Hluav Taws Xob
- Kauj Ruam 3: Nruab Duab ntawm Raspberry Pi
- Kauj Ruam 4: Pib Raspberry Pi
- Kauj ruam 5: Ntshuam Cov Ntaub Ntawv Los ntawm Github
- Kauj Ruam 6: Teeb MySQL Workbench
- Kauj ruam 7: Ntxiv Database
- Kauj ruam 8: Teeb Visual Studio Code
- Kauj Ruam 9: Nruab Pob Khoom ntawm Visual Studio Code
- Kauj Ruam 10: Txhim Kho Lub Ntsej Muag Tsiaj Feeder
Video: Ntse Tsiaj Feeder: 11 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
Kuv yog menyuam kawm ntawv ntawm Howest Kortrijk Academy hauv Belgium. Kuv ua tus pub mis tshwj xeeb tshaj yog rau miv thiab dev. Kuv ua qhov haujlwm no rau kuv tus dev. Ntau zaus kuv tsis nyob hauv tsev los pub kuv tus dev thaum yav tsaus ntuj. Vim li ntawd kuv tus dev yuav tsum tau tos kom nws tau zaub mov. Nrog txoj haujlwm no nws yuav tau txais nws cov zaub mov ntawm lub sijhawm uas kuv xaiv. Koj tseem tuaj yeem tswj cov zaub mov uas koj tus dev tau txais. Nws yog txoj hauv kev yooj yim rau cov tswv kom pub lawv cov tsiaj. Yog li lawv tsis tas yuav txhawj xeeb txog kev pub zaub mov rau lawv tus tsiaj yog tias lawv tsis nyob hauv tsev.
Kuv ua nws nrog Raspberry Pi thiab ntau yam khoom siv. Txhua cov ntaub ntawv raug khaws tseg ntawm lub hauv paus. Kuv kuj tau tsim lub vev xaib yog li koj tuaj yeem teeb tsa koj lub cuab yeej.
Kauj Ruam 1: Cov Khoom Siv
Koj yuav xav tau ntau yam khoom siv los ua qhov haujlwm no.
- Raspberry Pi 3 Qauv B, € 32.49 ntawm Amazon.com
- RFID Sensor, € 6.95 ntawm Amazon.com
- PIR Sensor, € 8.99 ntawm Amazon.com
- Load Sensor (1kg), € 11, 16 ntawm Amazon.com
- LCD Zaub, € 12, 95 ntawm Amazon.com
- Load Cell Amplifier, € 9, 95 ntawm Amazon.com
- Servo Motor, € 9, 99 ntawm Amazon.com
- Xov, € 7, 99 ntawm Amazon.com
- 9V Roj Teeb, € 10, 99 ntawm Amazon.com
- 16G SD Card, € 9, 98 ntawm Amazon.com
- Soldering hlau, € 13, 99 ntawm Amazon.com
- Pin header strip, € 4, 59 ntawm Amazon.com
- Cov hlau xaim, € 9, 99 ntawm Amazon.com
- Ethernet cable 1, 5m, € 6, 28 Amazon.com
Kauj Ruam 2: Cov Qauv Hluav Taws Xob
Hauv cov ntawv pdf koj yuav pom cov phiaj xwm hluav taws xob. Txheeb xyuas ntau zaus kom koj tsis txhob ua yuam kev. Ib txoj xov hlau tsis raug tuaj yeem rhuav tshem ntau yam khoom siv.
Kauj Ruam 3: Nruab Duab ntawm Raspberry Pi
Koj yuav tsum nruab ib daim duab ntawm koj daim npav SD. Koj yuav pom cov duab hauv cov ntawv.
Txhawm rau nruab cov duab ntawm koj daim npav SD koj yuav tsum nruab "wind32diskimager".
Kauj Ruam 4: Pib Raspberry Pi
Txhawm rau txuas nrog Raspberry Pi koj yuav tsum teeb tsa "Putty". Txuas Raspberry Pi thiab koj lub khoos phis tawj nrog Ethernet cable. Pib Putty thiab sau IP-adres: 169.254.10.1
Thaum txuas nrog koj ntaus tus username: pi thiab password: raspberry
Kauj ruam 5: Ntshuam Cov Ntaub Ntawv Los ntawm Github
Nkag mus rau hauv koj li Raspberry Pi. Txhawm rau tsim daim duab qhia chaw "phiaj xwm" koj ntaus: "mkdir project".
Mus rau phau ntawv teev npe nrog "cd project". Thaum koj nyob hauv cov npe koj ntaus "git clone https://github.com/howest-mct/1920-1mct-project1-LanderVanLuchene" Cov ntaub ntawv yuav teeb tsa ntawm koj li Raspberry Pi.
Kauj Ruam 6: Teeb MySQL Workbench
Txhawm rau khaws koj cov ntaub ntawv koj yuav tsum tau teeb tsa "MySQL Workbench".
Thaum koj qhib "MySQL Workbench" koj yuav pom "MySQL Txuas". Nias lub khawm ntxiv kom ntxiv kev sib txuas tshiab.
Koj tsim kev sib txuas SSH nrog cov chaw teev tseg hauv daim duab. Tus SSH lo lus zais yog "raspberry". Koj tuaj yeem xaiv lwm tus password. Kuv siv "mysql" ua lo lus zais. Koj tuaj yeem khaws tus password hauv lub vault, yog li koj tsis tas yuav ntaus koj tus password txhua zaus koj qhib qhov kev sib txuas.
Yog tias koj ua tiav nrog kev teeb tsa koj tuaj yeem txuag kev sib txuas.
Kauj ruam 7: Ntxiv Database
Qhib qhov kev txuas. Ntawm sab laug koj yuav pom "Administration". Nyem rau ntawm "kev tswj hwm thiab tom qab ntawv nyem rau" Cov ntaub ntawv ntshuam/rov qab ". Xaiv" Ntshuam los ntawm Tus Kheej "thiab xaiv cov ntaub ntawv ruam. Tom qab ntawd koj nias" Pib ntshuam ".
Kauj ruam 8: Teeb Visual Studio Code
Txhawm rau sau cov cai koj yuav tsum teeb tsa "Visual Studio Code".
Thaum koj qhib "Visual Studio Code" koj yuav tsum teeb tsa lub npe txuas ntxiv "Remote SSH". Qhov kev txuas ntxiv no ua rau koj txuas rau koj li rapsberry pi.
Nias ntawm lub pob ntsuab nyob hauv qab sab laug txhawm rau txuas nrog Raspberry Pi. Xaiv txuas mus rau tus tswv tsev thiab ntaus ntawv: ssh [email protected]
Koj yuav tsum ntaus tus password "raspberry".
Kauj Ruam 9: Nruab Pob Khoom ntawm Visual Studio Code
Koj qhib lub davhlau ya nyob twg tshiab hauv Visual Studio Code. Hauv lub davhlau ya nyob twg koj yuav tsum teeb tsa ntau pob. Kuv yuav teev lawv hauv qab no:
-pip3 nruab mysql-txuas-sej
- pip3 nruab lub raj mis-socketio
- pip3 nruab flask-cors
- pip3 nruab gevent
- pip3 nruab gevent-websocket
Kauj Ruam 10: Txhim Kho Lub Ntsej Muag Tsiaj Feeder
Kuv tsis muaj daim ntawv qhia tag yuav ua li cas thiaj ua rau Smart Pet Feeder lub cev. Kuv thov txim txog qhov ntawd!
Lub xovtooj ntawm tes yuav tsum tau ua haujlwm zoo li daim duab. Muab tus xub tso thaum koj tab tom tsim nws.
Pom zoo:
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
Leo: Tus Tsiaj Tsiaj: 7 Kauj Ruam (nrog Duab)
Leo: Tus Tsiaj Tsiaj: Nyob Zoo, Nov yog kuv thawj cov lus qhia. Thawj version ntawm "Sony Aibo Robot (1999)" nyiam kuv mus rau neeg hlau thaum muaj hnub nyoog plaub xyoos, puas tau-txij li, nws yog kuv txoj kev npau suav los ua tus tsiaj neeg hlau rau kuv. Yog li kuv tuaj nrog "Leo: Pet Cat" w
Ntse Tsiaj Feeder: 9 Kauj Ruam
Smart Pet Feeder: Koj puas muaj tsiaj? Tsis yog: txais ib qho! (thiab rov qab los rau cov lus qhia no). Yog: txoj haujlwm zoo! Puas yog nws zoo yog tias koj tuaj yeem pub zaub mov thiab muab dej rau koj tus hlub uas tsis tau tso tseg txoj kev npaj kom tau mus tsev raws sijhawm? Peb hais tias tsis muaj kev txhawj xeeb
SmartPET - Ntse Tsiaj Feeder: 7 Kauj Ruam (nrog Duab)
SmartPET - Ntse Tsiaj Pub: Hav! Kuv yog Maxime Vermeeren, muaj 18 xyoo MCT (Multimedia thiab kev sib txuas lus thev naus laus zis) tub kawm ntawv ntawm Howest.Kuv tau xaiv los tsim tus tsiaj pub tsiaj ntse raws li kuv qhov project. Vim li cas kuv thiaj ua li no? Kuv miv muaj qee qhov teeb meem hnyav, yog li kuv txiav txim siab ua lub tshuab t
Lub Hnab Ntse Hnab Ntse Ntse Computer: 4 Kauj Ruam (nrog Duab)
Lub Hnab Ntse Hnab Ntse Ntse Computer: Qhov no yog "hnab looj tes ntse" nas lub computer uas tuaj yeem siv nrog ib lub PC, Mac, lossis Linux computer. Nws tau tsim los siv Binho Nova ntau tus txheej txheem USB host adapter, uas tso cai rau koj txuas cov ntsuas thiab lwm yam khoom siv rau koj lub khoos phis tawj thiab tom qab ntawd txuas ntxiv