Cov txheej txheem:
- Khoom siv
- Kauj Ruam 1: Nkag Siab Li Cas Tus Feeder Ua Haujlwm
- Kauj Ruam 2: Pib Luam Ntawv Cat Feeder Parts thiab xaj cov khoom mus yuav
- Kauj Ruam 3: Pib Loading OS ntawm Pi thiab Kho Kho
- Kauj Ruam 4: Luam Cov Ntaub Ntawv Web Server hla rau/var/www/html Folder
- Kauj Ruam 5: Hloov kho 'sudoers' Cov Ntaub Ntawv
- Kauj Ruam 6: Luam Tsab Ntawv Cov Ntaub Ntawv rau CatFeeder Directory
- Kauj Ruam 7: Hloov kho Crontab Cov Ntaub Ntawv kom Khiav 'checkDispenseFood' Tsab Ntawv
- Kauj Ruam 8: Pib Qhov Hluav Taws Xob Ib Feem ntawm Txoj Haujlwm - Tsim Lub Thawv Tswj
- Kauj Ruam 9: Sib sau Cat Feeder
- Kauj Ruam 10: Ntxiv Fais Fab rau Pi thiab Tswj Lub thawv
Video: Muaj zog miv (tsiaj) Feeder: 10 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
Kuv mus ncig tau ntau lub lim tiam ntawm ib lub sijhawm thiab kuv muaj cov miv miv sab nraum zoov uas yuav tsum tau pub mis thaum kuv tsis nyob. Tau ntau xyoo, Kuv tau siv hloov pauv pub mis yuav los ntawm Amazon uas tau tswj hwm siv lub tshuab raspberry pi. Txawm hais tias kuv txoj kev pub mis siv ob lub pub mis (thawj zaug thiab thaub qab), kev ntseeg tau ntawm cov neeg nyob hauv qib pub mis tau muaj kev txhawj xeeb. Txoj haujlwm no tshem tawm ntau qhov kev ntseeg siab txhawj xeeb. Cov khoom noj no zoo tshaj qhov hloov pauv yuav khoom pub mis raws li hauv qab no: Yooj yim rau txoj haujlwm, IOT, lub cev muaj zog hnyav, ua haujlwm ntawm tus ncej. cov khoom txav yog txhua yam hlau, faib tag nrho cov khoom noj (tsis muaj qhov seem nyob hauv tus pub), kev tshem tawm yog yooj yim, tso cai tu kom huv, thiab pub tus nqi zoo ib yam lossis ze qhov khoob.
Kev Muaj Zog Muaj Zog Cat Feeder yog cov phiaj xwm pub tsiaj uas yog web/internet raws: Khoos phis tawj (raspberry pi) tswj
Tus pub mis yog ua haujlwm los ntawm lub web server. Tus neeg rau zaub mov qhia cov duab tam sim no ntawm lub tais. Lub web server muaj cov nyees khawm rau: pub rau qhov xav tau, thaij duab tshiab, yooj yim kho lub sijhawm pub mis tsis siv neeg, qhia tias ntau npaum li cas cov zaub mov tau faib Pub Ntau ntau kibble ntawm ntau lub sijhawm ntawm ib hnub - yooj yim kho Emails duab ua ntej thiab tom qab pub mis txhawm rau txheeb xyuas kev ua haujlwm Siv daim duab ntawm qhov xav tau Lub Vev Xaib nthuav qhia daim duab tam sim no ntawm lub tais ntawm lub vev xaib Lub Log thiab qhia ntau npaum li cas cov zaub mov tau raug xa tawm.
Kev ntseeg tau - Lub cev muaj zog zoo, ua kom txo qis hnav, roj teeb thaub qab rau pi.
Kev Sib Txuas - Nyob deb ntawm tsev? txheeb xyuas koj tus tsiaj cov khoom noj.
Tus pub mis no tau tsim los ua ib feem me me rau sab nraum zoov miv miv noj. Cov txheej txheem pub mis sab nraum zoov muaj ob qho ntawm cov pub rau rov ua dua thaum muaj qhov tsis ua tiav. Qhov txheej txheem sab nraum zoov yog pov thawj. Nws tau tsim los ua haujlwm yam tsis muaj neeg saib xyuas ntev. Kuv yuav txuas cov txheej txheem sab nraum zoov loj dua nyob rau hnub tom qab.
Vim tias lwm tus neeg yuav xav siv cov khoom noj no hauv ib puag ncig sab hauv tsev, Kuv tau ntxiv lub hauv paus, npog thiab tais. Kuv yuav siv kuv li yam tsis muaj lub hauv paus thiab lub tais. Kuv kuj suav nrog qhov txuas ntxiv yog tias ib tus neeg xav tau lub peev xwm ntxiv.
Kuv tau siv raspberry pi tswj cov khoom noj rau lub sijhawm ntev thiab kuv txaus siab nrog kev ntseeg tau. Tus neeg pub mis no tau ua haujlwm rau ob peb lub lis piam, tau muab tshem tawm thiab tshuaj xyuas. Lub feeder tau yooj yim disassembled thiab ntxuav tau yooj yim. Kuv tuaj yeem tshem tag nrho cov zaub mov seem kom kuv cov tsiaj tsis txhob mob. Kuv ntseeg tias kev ntseeg tau yuav siab heev.
Txoj haujlwm no xav tau lub tshuab luam ntawv 3d. Qhov no yuav tsum tsis muaj teeb meem yog tias koj tsis muaj thiab nyob hauv thaj tsam loj hauv nroog. Ntau lub tsev qiv ntawv muaj 3d tshuab luam ntawv tam sim no.
Kev tsis lees paub: Txoj haujlwm no txuas rau lwm lub vev xaib uas npog cov kauj ruam tsim nyog los teeb tsa software ntawm raspberry pi, thiab lwm yam. Qhov no yog kuv thawj "kev qhia", thiab cov lus qhia no tau sau nyob rau qib siab thiab tsis nkag mus rau qhov tsawg tshaj plaws ntawm cov ntsiab lus. Qee qhov kev tshawb nrhiav/tshawb fawb ntxiv yuav xav tau.
Khoom siv
Logic Qib Converter
Raspberry Pi
Raspberry Pi Micro USB Fais Fab Khoom
Relay
Brass Threaded Inserts
DC Fais Fab Khoom
Stepper Tsav Tsheb
Roj Hmab Sealing Pob Bearing
Stepper Tsav
Saj zawg zog Coupling
Daim npav SD
USB Lub Koob Yees Duab
8 hli Flange Ncej Coupling
8mm x 100mm Hlau Hloov Ncej
Kauj Ruam 1: Nkag Siab Li Cas Tus Feeder Ua Haujlwm
Tus pub khoom noj muaj lub raj mis uas tuav cov zaub mov. Lub plhaw tso rau saum lub hau ntswj ntsia hlau. Cov ntsia hlau thauj khoom tau tig los ntawm lub tshuab hluav taws xob stepper uas muaj ntau dua qhov tsim nyog kom tig lub auger.
Lub cev muaj zog tau tsav los ntawm 12V hloov pauv los ntawm tus tswj hwm stepper. Lub zog rau tus tswj hwm yog tswj los ntawm kev xa tawm uas tig lub zog rau/tawm tsuas yog thaum lub tshuab pub mis ua haujlwm. Stepper motors siv lub zog txawm tias thaum lawv tsis tig. Qhov no yog vim li cas kuv tau teeb tsa lub relay - tsuas yog muab lub zog thaum lub tshuab xav tau. Stepper maub los yog tswj los ntawm raspberry pi computer uas muaj lub web server.
Lub vev xaib tus lej nplooj ntawv nplooj ntawv muaj plaub lub nyees khawm uas tswj hwm pi. Muaj lub pob "teeb tsa" (txuas rau nplooj ntawv teeb tsa), "pub tam sim no" khawm (txuas rau nplooj ntawv pub zaub mov tam sim no), "duab" khawm (txuas rau nplooj ntawv duab), thiab "rov pib dua" (txuas rau ib nplooj ntawv rov pib dua).
"Cov chaw teeb tsa" -> settings.php - nplooj ntawv no sau qhov teeb tsa mus rau cov ntawv sau (teeb tsa.txt) nyob hauv/var/www/html phau ntawv teev npe. Cov ntaub ntawv txt no yuav raug nyeem txhua teev kom pom tias nws yog lub sijhawm pub mis thiab yuav pub ntau npaum li cas.
"Pub Tam Sim No" -> button.php - nplooj ntawv no hu lub plhaub tsab ntawv "feedNow.sh" uas hu cov ntawv nab nab"
/home/icf/catFeeder/feedNow.py.
"Pib dua khawm" tsuas yog rov pib suav suav rau xoom. Qhov suav tam sim no raug tswj los ntawm cov ntaub ntawv "fdrCount.txt".
"Daim duab khawm" yuam lub koob yees duab kom thaij duab tshiab. Daim duab ntawm lub vev xaib raug hloov kho ib teev ib zaug thiab raug coj mus li 10 feeb tom qab txhua teev (tom qab tus neeg pub zaub mov xa cov zaub mov xa tuaj.
Crontab yuav raug hloov kho kom khiav cov ntawv nab nab "checkDispenseFood.py" txhua teev nyob rau ib teev. Tsab ntawv no nyeem cov ntaub ntawv configuration.txt. Nws zoo li lub sijhawm tam sim no, pom tias lub sijhawm sib phim rau ib qho ntawm peb lub sijhawm pub mis. Yog tias muaj kev sib tw, nws faib cov zaub mov uas tau teeb tsa los ntawm cov ntawv configuration.txt. Tsab ntawv tseem hu ua tsab ntawv uas xa duab los ntawm lub koob yees duab ua ntej pub mis thiab tom qab pub mis. Txoj hauv kev no ib tus neeg tuaj yeem txheeb xyuas tau tias lawv tau noj tag nrho cov zaub mov thiab lub chaw faib khoom tau ua haujlwm tiag tiag.
Lub auger tau sim nrog tsuas yog ib hom miv kibble (Meow Mix). Tus neeg pub mis tsis tas lub plhaw ua tiav nrog qhov tsawg heev "nas holing". Tus neeg pub khoom noj zoo li faib cov zaub mov zoo ib yam txawm tias lub raj mis puv tag lossis ze tas.
Kauj Ruam 2: Pib Luam Ntawv Cat Feeder Parts thiab xaj cov khoom mus yuav
Txhua yam ntawm cov tshuab luam ntawv 3d nyob ntawm qhov khoom sib txawv. Txuas
Rub tawm thiab pib luam tawm tag nrho cov ntaub ntawv stl. Lawv yuav siv sijhawm me ntsis los luam tawm, yog li thaum txhua feem ntawm kev luam tawm, txav mus rau lub khoos phis tawj ib feem ntawm txoj haujlwm.
Kauj Ruam 3: Pib Loading OS ntawm Pi thiab Kho Kho
Cov lus qhia no yog rau kev teeb tsa taub hau. Kuv siv mac yog li kuv tsis paub yog tias ib qho ntawm cov kauj ruam yuav txawv ntawm txhua lub khoos phis tawj twg koj siv.
Download Raspbian Tsis txhob siv NOOBS.
Kho thiab teeb tsa Raspbian ntawm sdcard - thiab teeb tsa daim npav hauv PI. Qhia Txuas. Kuv siv balenaEtcher.
Nruab daim npav thiab ssh rau hauv pi
Ruaj ntseg koj pi
Tsim icf (inddustrial Cat Feeder Account)
sudo adduser icf cov
Nruab thiab teeb tsa lub web server - nruab thiab teeb tsa php
Rub tawm cov ntawv los ntawm github
Kauj Ruam 4: Luam Cov Ntaub Ntawv Web Server hla rau/var/www/html Folder
Luam cov ntaub ntawv web server hla mus rau/var/www/html nplaub tshev
Txheeb xyuas/teeb tsa Kev Tso Cai/tus tswv ntawm Cov Ntaub Ntawv
Tom qab cov ntaub ntawv raug theej ntawm tus pi, txheeb xyuas tias tus tswv thiab kev tso cai phim cov duab.
Yog tias koj tshiab rau linux/raspberry pi? Google "chown" & "chmod" kom kawm paub teeb tsa tus tswv thiab kev tso cai hauv Linux.
Kauj Ruam 5: Hloov kho 'sudoers' Cov Ntaub Ntawv
Ntaus hauv cov lus txib hauv qab no sudo nano /etc /sudoer
Ntxiv kab rau hauv qab ntawm cov ntawv
www-data TXHUA = (TXHUA) NOPASSWD: /var/www/html/feedNow.sh, NOPASSWD: /var/www/html/camera.sh
Kauj Ruam 6: Luam Tsab Ntawv Cov Ntaub Ntawv rau CatFeeder Directory
Tsim catFeeder phau ntawv teev npe hauv icf directory thiab luam cov ntaub ntawv los ntawm github rau hauv phau ntawv ntawd.
Txheeb xyuas thiab teeb tsa tus tswv/kev tso cai kom lawv phim cov duab saum toj no.
Hloov cov cai hauv cov ntaub ntawv hauv qab no rau koj tus email: sendAfterEmail.py, sendBeforeEmail.py
Kauj Ruam 7: Hloov kho Crontab Cov Ntaub Ntawv kom Khiav 'checkDispenseFood' Tsab Ntawv
Ntaus hauv qab no ntawm kab hais kom ua
sudo crontab -e
Ntxiv kab hauv qab no rau hauv qab ntawm cov ntawv
10 */1 * * * sh/var/www/html/camera.sh >>/home/icf/cav/lub koob yees duab 2> & 1
0 * * * * sh /home/icf/catFeeder/checkDispenseFood.sh >>/tsev/icf/cav/cronlog
Qhov no yuav ua qhov 'checkDispenseFood.sh' tsab ntawv txhua teev nyob rau ib teev. Yog tias kev teeb tsa los ntawm lub vev xaib sib phim, tus pub mis yuav faib zaub mov.
Qhov no yuav siv daim duab txhua txhua 10 feeb tom qab teev.
Kauj Ruam 8: Pib Qhov Hluav Taws Xob Ib Feem ntawm Txoj Haujlwm - Tsim Lub Thawv Tswj
Tsim lub thawv tswj. Kuv tau ua kuv lub thawv tswj loj, tsuas yog li ntawd nws yuav ua kom yooj yim rau sib dhos thiab xaim. Kuv tuaj yeem hloov kho tus qauv no thiab ua kom nws ntau dua.
Txuas lub cav mus rau lub thawv tswj: Siv ob lub dav hlau ntsaws sib dhos. Txiav plaub (4) xov hlau los ntawm lub cav. Muaj ib lub qhov nyob hauv lub cav txuas rau lub ntsaws. Muaj ob lub qhov hauv lub thawv tswj. Siv ob lub qhov rau lub cav ntsaws. Txhim kho lub cav rau hauv lub cav siv lub tshuab siv (4) plaub 3mm x 8mm hex qhov (socket) thiab muab 4 kab xaim txuas rau ib lub ntsaws. Txiav cov dupont txuas ntawm lwm sab ntawm 4 lub xov hlau thiab muab cov hlua txuas rau ntawm ob sab kom ua ib txoj hlua uas ntsaws rau hauv lub thawv tswj. Solder 4 cov xov hlau rau lwm lub ntsaws kom siv rau lub thawv tswj lub ntsaws. Nruab ntsaws rau hauv lub thawv tswj
Nruab tus pi siv 2 mm X 8 mm hex qhov (socket), txuas nrog siv 2 mm X 8 mm hex qhov (socket), thiab tus tswj siv M3 x 8 mm thiab txiv ntseej hauv lub thawv thiab xaim nws raws daim kab xev. Teem tus tswj lub dip hloov mus rau, rau, tawm, rau, tawm, tawm. Txoj haujlwm no siv kev sib txuas ntawm cov xov tooj cua dupont, cov xov hlau tsis tu ncua. Qee qhov yuav tsum tau siv cov laug cam. Kev xuas nrig yog qhov yuav tsum tau ua rau cov ntsaws. Kuv siv lub dav hlau ntsaws kom kuv tuaj yeem ntsaws tau yooj yim thiab tshem tawm.
Txiav qhov kawg ntawm cov xov hluav taws xob thiab cov laug rau ntawm lwm lub dav hlau ntsaws. Txhim kho lub zog ntawm daim kab xev.
Kauj Ruam 9: Sib sau Cat Feeder
Txog tam sim no, txhua feem ntawm koj yuav tsum luam tawm.
Bolting: Kuv siv tooj dag tso rau yim kev sib txuas. Kuv yuav tau ntxuav cov khoom noj ntau zaus, yog li kuv xav tau cov xov kom zoo. Ntxig cov khoom siv tooj dag rau hauv lub hauv paus thiab lub tsev qis ntawm cov ntsia hlau pub.
Sib dhos lub auger - Siv cov ntaub ntawv puag ncig yog tias cov ncej tsis haum hauv lub auger (Kuv yeej yuav tsum tau siv lub laum hla lub chaw nruab nrab thiab tom qab ntawd siv cov ntaub ntawv puag ncig kom xaus nrog kev sib txuas nruj). Siv 3mm x 8mm hau ntswj rau qhov kawg flanges. Cov shafts yuav tsum muaj peev xwm swb hauv thiab tawm ntawm flanges. Ua qhov hloov kho zaum kawg thaum lub rooj sib dhos zaum kawg.
Ntsia lub hauv paus rau lub hauv paus txuas ntxiv. Kuv tus neeg pub mis tsis siv qhov no. Kuv ntxiv qhov txuas txuas ntxiv rau txhua tus neeg uas tsim qhov no uas siv lub tais. Siv (4) 4mm x 12mm thiab txiv ntseej.
Bolt lub Motor txhawb nqa rau lub cav mount. Siv (3) 4mm x 12mm thiab txiv ntseej.
Bolt Lub Cev Txhawb nqa mus rau lub hauv paus. Siv (4) 4mm x 40mm ntsia liaj qhov rooj thiab txiv ntseej.
Txuas qhov txuas mus rau lub cev muaj zog
Xaub cov kabmob mus rau lub auger ncej
Muab tus auger tso rau hauv qab tawb thiab xaub lub trough rau hauv qhov chaw, thaum qhia tus ncej rau hauv qhov txuas. Ua tiav qhov kev kwv yees ntawm tus ncej thiab ua kom nruj tag nrho cov txheej screws cuam tshuam nrog tus ncej thiab txuas.
Tso lub lauj kaub sab saum toj hla lub hauv qab thiab ntsia liaj qhov rooj mus rau lub hauv paus thiab nqes hav.
Ntxiv plaub qhov txuas txuas rau kab thiab txuas siv (4) 4mm x 40mm thiab txiv ntseej.
Ntxiv lub pluaj thiab ntsia liaj qhov rooj txuas rau lub plhaw.
Kauj Ruam 10: Ntxiv Fais Fab rau Pi thiab Tswj Lub thawv
Txuas koj tus pi thiab koj lub thawv tswj. Qhib lub web browser. Nkag mus rau koj tus pi, teeb tsa koj lub sijhawm pub mis thiab qhia koj tus miv rau nws yog tus pub mis tshiab.
Pom zoo:
ESP32 TTGO WiFi Lub Zog Muaj Zog: 8 Kauj Ruam (nrog Duab)
ESP32 TTGO WiFi Lub Teeb Pom Kev Zoo: Hauv qhov kev qhia no peb yuav kawm paub yuav ua li cas tso saib WiFi lub teeb liab lub zog siv ESP32 TTGO board.Watch cov vis dis aus
Qhov Muaj Peev Xwm Muaj Zog Arduino-UNO, Massduino-UNO: 9 Cov Kauj Ruam
Qhov Muaj Peev Xwm Muaj Zog Arduino-UNO, Massduino-UNO: Massduino yog dab tsi? Massduino yog cov khoom lag luam tshiab, uas suav nrog Arduino platform ib puag ncig-nplua nuj, yooj yim thiab txhim kho sai, tus nqi qis thiab yooj yim los tsim cov khoom lag luam loj. Yuav luag txhua ntawm Arduino code tuaj yeem yog
Retrofit BLE Kev Tswj kom Muaj Lub Hwj Huam Muaj Zog - Tsis Xav Tau Kev Txuas Ntxiv: 10 Kauj Ruam (nrog Duab)
Retrofit BLE Kev Tswj kom Muaj Lub Hwj Huam Muaj Zog - Tsis Xav Tau Cov Hluav Taws Xob Ntxiv: Hloov tshiab: Lub Xya Hli Tim 13, 2018 - ntxiv 3 -lub davhlau ya nyob twg tswj rau cov khoom siv hluav taws xob Cov lus qhia no suav nrog BLE (Bluetooth Tsawg Zog) tswj ntawm kev thauj khoom tam sim no hauv thaj tsam 10W rau > 1000W. Lub zog tau hloov pauv nyob deb ntawm koj li Android Txawb ntawm pfodApp. Tsis muaj
Tsaug zog miv: 4 Kauj ruam
Tsaug zog Cat: Koj tus tswv tsev tsis tso cai rau tsiaj? Puas yog koj txhawj xeeb heev thiab tau hnov lub suab nrov zuj zus tuaj rau koj tias qhov kev daws teeb meem nkaus xwb zoo li sov puag puag ntawm kev tuag lossis pom thiab pom tus miv tsaug zog? Zoo zib ntab, kuv puas tau txais txoj haujlwm rau koj
ESP32 / 8266 WiFi Lub Zog Muaj Zog: 14 Cov Kauj Ruam
ESP32 / 8266 WiFi Lub Teeb Pom Kev Zoo: Koj puas paub txog WiFi teeb liab lub zog los ntawm ESP? Koj puas tau xav txog kev tau txais ESP01, uas muaj lub kav hlau txais xov me, thiab muab tso rau hauv lub qhov (socket)? Nws puas yuav ua haujlwm? Txhawm rau teb cov lus nug no, Kuv tau ua ntau qhov kev sim sib piv ntau hom o