Cov txheej txheem:
- Khoom siv
- Kauj ruam 1: Kev teeb tsa
- Kauj ruam 2: Database
- Kauj Ruam 3: Hluav Taws Xob Hluav Taws Xob
- Kauj ruam 4: Rooj plaub
- Kauj Ruam 5: Python (Backend)
- Kauj ruam 6: Html thiab Java (frontend)
Video: Smart Dog House: 6 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
Cov tswv tsiaj feem ntau xav paub seb lawv tus dev hlub tau ua dab tsi thaum lawv tsis tuaj.
Hauv cov lus qhia no peb yuav tsim Raspberry Pi raws Tus Saib Xyuas dev. Tom qab ib hnub ua haujlwm, koj tuaj yeem tshawb xyuas lub app thiab pom lub sijhawm nws siv hauv nws 'lub rooj ntev zaum', suab nrov npaum li cas nws tau ua thiab nws tau ua haujlwm li cas.
Khoom siv
Hluav taws xob:
- Raspberry Pi 3 qauv B (daim npav SD 8GB lossis ntau dua)
- T-cobler
- LCD 16 x 2
- siab sensor
- tsab ntawv tsa suab sensor
- suab sensor
- resistors
- jumperwires
Kauj ruam 1: Kev teeb tsa
Kev teeb tsa pi:
Peb xav tau 2 yam rau theem no:
- disk daim duab win32:
- peb cov duab ntawm:
Kev teeb tsa SD daim npav:
- mus rau SD daim npav phau ntawv teev npe
- qhib cov ntaub ntawv "cmdline.txt" thiab ntxiv ip = 169.254.10.1. Nco ntsoov tias muaj qhov chaw nruab nrab ntawm yam koj ntaus thiab dab tsi twb muaj hauv cov ntawv
- txuag nws
- tsim cov ntaub ntawv ssh uas tsis muaj kev txuas ntxiv hauv tib lub dir
- coj koj daim npav SD tawm (tab sis nyab xeeb)
Kev sib txuas rau PI:
- Fais fab PI thiab ntsaws LAN cable hauv koj lub computer thiab koj tus PI
- nruab Putty los ntawm
- muab '169.254.10.1' hauv IP kem xaiv SSH thiab chaw nres nkoj 22
- qhib
- username: pib
- lo lus zais: raspberry
Kev teeb tsa:
- ntaus "sudo raspi-config"
- Xaiv koj lub tebchaws wifi los ntawm qeb kev lag luam
-
rub tawm realVNC:
teeb tsa kev sib txuas rau koj li PI
- txuas koj lub wifi
-
rov qab mus rau CLI (khoos phis tawj kab kab interface) version
-
hom:
- "sudo apt hloov tshiab"
- "hloov kho-hloov pauv-nruab/usr/bin/nab hab sej nab npawb /usr/bin/python2.7 1"
- "hloov kho-lwm txoj hauv kev-nruab/usr/bin/nab nab sej/usr/bin/python3 2"
-
Kauj ruam 2: Database
Nruab mariaDB ntawm PI
-
Hom
- "sudo apt nruab mariaDB-server"
- "mysql_secure_installation"
- Peb tseem tsis muaj tus lej nkag nkag hauv paus yog li tsuas yog nias nkag mus
-
Tam sim no peb tuaj yeem teeb tus lej nkag hauv paus
Teb Y rau txhua lo lus nug
Kauj Ruam 3: Hluav Taws Xob Hluav Taws Xob
Hlau cov khoom siv raws li 'Cov Qauv Hluav Taws Xob'
Hauv qhov txuas ib qho piv txwv ntawm kuv Breadboard txoj kab xov txuas
Ua tib zoo saib vim tias jumperwires tsis lo zoo, yog li ua kom ntseeg tau tias txhua yam tau txuas zoo rau ntawm daim ntawv tais.
Kauj ruam 4: Rooj plaub
Ua rooj plaub
Muaj ntau qhov ua tau:
- koj tuaj yeem siv lub lasercutter
- lossis koj tuaj yeem ua nws ntawm tes
Kuv siv lub lasercutter kuv tau kaw 2 lub thawv ua ke zoo li hauv daim duab saum toj no. Kev ntsuas yog nyob hauv daim duab yog tias koj yuav ua nws ntawm tes.
Yog tias koj xav tsim cov ntawv lasercutter, muaj qhov chaw yooj yim uas koj tuaj yeem siv. (https://www.makercase.com) Ua tsaug
Kauj Ruam 5: Python (Backend)
Rau cov backend kuv siv Pycharm.
Rau kev txuas nrog koj tus PI:
- Cov ntaub ntawv
- Chaw
- Tsim, Ua tiav, Kev xa tawm
- Kev xa tawm
- Ua qhov txuas rau koj tus PI los ntawm kev ntxiv koj tus tswv tsev SFTP
- Mus rau qhov thib ob tab Mappings thiab xyuas kom tseeb tias txoj hauv kev raug
- Nyem OK
Rub tawm cov cai los ntawm GITHUB (https://github.com/WoutDeBaere/Smart-dog-house)
Tshaj tawm cov cai nrog nyem txoj cai thiab xaiv 'Upload rau Rpi'
Khiav tsab ntawv nrog txoj nyem thiab xaiv khiav (app.py)
Kauj ruam 6: Html thiab Java (frontend)
Coj mus rau Pem Hauv Ntej-Qhov kawg, koj rub tawm hauv cov kauj ruam dhau los los ntawm GITHUB thiab rub tawm. Kuv siv Visual Studio los ua FE ib feem, tab sis koj nyob qhov twg uas koj nyiam siv.
Pom zoo:
Tsis Siv Neeg Dog Feederrr !!: 4 Kauj Ruam
Tsis Siv Neeg Dog Feederrr !!: Yooj Yim, Pab Tau thiab Noj Qab Nyob Zoo
Auto Dog Feeder: 6 Kauj Ruam
Auto Dog Feeder: Nov yog kuv qhov project ntawm Auto Pet Feeder. Kuv lub npe yog Parker Kuv nyob Qib 11 thiab kuv tau ua txoj haujlwm no thaum Lub Kaum Ib Hlis 11 2020 raws li CCA (Chav Kawm Culminating Activity) hauv qhov haujlwm no kuv yuav qhia koj yuav ua li cas thiaj ua Tus Tsiaj Tsis Pub Tuaj Nrog Arduino UNO
Arduino Anti-Dog Trash Can: 6 Kauj Ruam (nrog Duab)
Arduino Anti-Dog Trash Can: Hauv qhov haujlwm no kuv yuav qhia koj li cas tsim kev tsis txaus ntseeg tab sis ua haujlwm txoj hauv kev los tiv thaiv koj cov dev dev los ntawm kev nkag mus rau hauv koj lub thoob khib nyiab
Galaxy Dog Jacket: 8 Kauj Ruam (nrog Duab)
Galaxy Dog Jacket: Lub tsho galaxy themed tsho ua rau dev aub nyob hauv ntiaj teb
Dog Wheelchair: 4 Kauj Ruam
Dog Wheelchair: Nyob zoo hnub no kuv yuav qhia koj yuav ua li cas thiaj ua tau lub rooj zaum aub rau koj tus dev. Kuv tau txais lub tswv yim no los ntawm kev tshawb hauv is taws nem kom pom txoj hauv kev uas tib neeg tuaj yeem txaus siab rau cov dev laus dua. Kuv tsis xav tau ib qho vim kuv tus dev yog 2 tab sis kuv tus phauj dev uas yog 8