Cov txheej txheem:
- Kauj ruam 1: Cov ntaub ntawv
- Kauj ruam 2: Kev thaiv kab
- Kauj ruam 3: Database
- Kauj ruam 4: Code
- Kauj ruam 5: Rooj plaub
Video: Auto PetFeeder: 5 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
Nyob zoo, kuv lub npe yog Gilian, Kuv kawm ntawm Howest Kortrijk Belgium thiab kuv yog tub ntxhais kawm MCT raws li txoj haujlwm kawg kuv yuav tsum ua IOT-ntaus ntawv.
Kuv muaj tus aub nyob hauv tsev uas tau noj 2 zaug hauv ib hnub ntawm lub sijhawm tshwj xeeb thiab cov zaub mov tau ceev heev yog li ob zaug ib hnub peb hnyav 56 grams zaub mov thiab pub rau nws. Yog li kuv tau tsim lub cuab yeej uas siv cov txheej txheem no thiab nws hu ua PetFeeder. Ntawm lub vev xaib koj tuaj yeem ntxiv ntau lub sijhawm los ntawm kev xaiv lub sijhawm thiab qhia qhov hnyav ntawm cov zaub mov uas koj xav kom faib. Yog tias koj tsis xav tos mus rau lub sijhawm pub mis tom ntej ntawm nplooj ntawv hauv tsev yog lub pob uas faib cov zaub mov tam sim ntawd.
Kauj ruam 1: Cov ntaub ntawv
Sab hauv rooj plaub yog lub tshuab ntsia hlau uas thawb cov zaub mov qhuav rau hauv lub tais, kuv tsis tau tsim qhov no rau kuv tus kheej vim tias kuv pom qhov kuv xav tau ntawm yam khoom txawv thiab xav tau los ntawm George Tsianakas. Kev tsim thiab rub tawm rau yam kuv siv, koj tuaj yeem pom ntawm no.
Hauv qab no yog cov npe ntawm ntu uas koj xav tau ntxiv rau txoj haujlwm no.
- raspberry pib
- micro SD daim npav (yam tsawg kawg 8gb)
- 20x4 lcd screen nrog i2c module nyob tom qab
- teb incoder + pob qhov rooj
- srf-05 ultrasonic sensor
- 1kg loadcell + hx711 amplifier
- 12/5v fais fab mov
- nema 17 stepper tsav + drv8825 stepperdriver
- 2 resistors (2 kohm thiab 1 kohm)
- 40 tus pin flatcable + cobler
Kauj ruam 2: Kev thaiv kab
Cov kauj ruam tom ntej yog xaim txhua yam ntawm lub khob cij thiab ntsuas yog tias txhua yam ua haujlwm. Koj tuaj yeem tso nws txoj hauv kev no tab sis kuv txiav txim siab muab txhua yam tso rau ntawm tus protoboard kom txhua yam zoo dua qub thiab tsis hnyav dua thiab siv thaj chaw hauv rooj plaub tom qab.
Kauj ruam 3: Database
Txoj haujlwm no ua rau siv cov ntaub ntawv khaws cia cov ntaub ntawv sensor thiab txhua lub sijhawm pub mis thiab wieghts uas mus nrog nws. Muaj 3 lub rooj:
- Pub mis nyob qhov twg txhua lub sijhawm thiab qhov hnyav koj tso rau hauv lub vev xaib raug cawm.
- Keeb kwm qhov twg qhov txiaj ntsig ntawm lub ntsuas hluav taws xob ultrasonic tau khaws cia nrog rau hnub sau cia
- Sensors qhov twg al sensors yog uas tau siv hauv txoj haujlwm tau txais kev cawmdim nrog tus ID rau tam sim no tus nqi uas yog los ntawm dab tsi sensor hauv keeb kwm lub rooj.
Kauj ruam 4: Code
Ua ntej koj yuav tsum teeb tsa apache2 kom koj lub vev xaib ua haujlwm, qhov no koj tuaj yeem ua tau los ntawm cov lus txib hauv qab no hauv qhov kub ntawm koj tus pi.
sudo apt nruab apache2 -y
Koj kaw kuj teeb tsa lub wireless txuas rau koj tus pi vim tias tom qab koj muab txhua yam tso rau hauv rooj plaub koj yuav tsis tuaj yeem ntsaws rau hauv ethernet cable tau yooj yim.
Koj kuj tseem yuav tsum teeb tsa MariaDB database yog li koj tuaj yeem nkag mus rau nws.
Tom qab ua tiav qhov no koj tuaj yeem tso cov ntawv txuas rau hauv cov ntawv hauv qab no:/var/www/html
Tus lej backend koj nyuam qhuav muab tso rau hauv lub tsev ntawv tais ceev tseg.
Nws kuj tseem yooj yim los ua qhov kev pabcuam ntawm app.py yog li thaum koj pib khau raj cov haujlwm ua haujlwm tsis siv neeg. Txhawm rau ua qhov no koj tsuas yog yuav tsum tau theej cov ntawv pabcuam (uas suav nrog hauv zip file hauv qab) mus rau daim nplaub tshev raug nrog cov lus txib hauv qab no:
sudo cp petfeeder.service/etc/systemd/system/petfeeder.service
Kauj ruam 5: Rooj plaub
Txog qhov kuv tsim nws hauv Fusion 360 thiab xa cov duab kos rau dxf cov ntaub ntawv mus rau lasercut ntawm qhov chaw hauv zos uas kuv paub. Kuv tsim nws nrog cov ntiv tes sib txuas kom txhua yam haum zoo ua ke. Tom qab nws tau txiav tawm kuv glued lub pannels ua ke exept rau lub vaj huam sib luag tom qab thiab nruab nrab vaj huam sib luag qhov twg lcd thiab ultrasonic sensor tau muab tso rau tseem muaj qhov yooj yim nkag mus rau txhua yam yuav tsum tau hloov pauv tom qab. Txawm hais tias lawv tsis tau glued lawv nyob kaw zoo vim yog cov ntiv tes sib txuas.
Qhov ntawd yog txhua yam kuv vam tias koj txaus siab rau txoj haujlwm no. - Gilian
Pom zoo:
Arduino Tsheb Rov Qab Chaw Nres Tsheb Ceeb Toom - Cov Kauj Ruam ntawm Kauj Ruam: 4 Kauj Ruam
Arduino Tsheb Rov Qab Chaw Nres Tsheb Ceeb Toom | Cov kauj ruam ib kauj ruam: Hauv txoj haujlwm no, kuv yuav tsim qhov yooj yim Arduino Tsheb Rov Qab Tsheb Nres Tsheb Nres Sensor Siv Arduino UNO thiab HC-SR04 Ultrasonic Sensor. Qhov no Arduino raws Lub Tsheb Rov Qab ceeb toom tuaj yeem siv rau Kev Tshawb Fawb Txog Tus Kheej, Robot Ranging thiab lwm yam
Tsev Automation Kauj Ruam ntawm Kauj Ruam Siv Wemos D1 Mini Nrog PCB Tsim: 4 Kauj Ruam
Tsev Automation Kauj Ruam Ib Leeg Siv Wemos D1 Mini Nrog PCB Tsim: Tsev Automation Kauj Ruam los ntawm Kauj Ruam siv Wemos D1 Mini nrog PCB Tsim cov tub ntxhais kawm ntawv qib siab. Tom qab ntawd ib tus ntawm peb cov tswv cuab tuaj
RC Taug Qab Neeg Hlau Siv Arduino - Kauj Ruam Ib kauj ruam: 3 Kauj Ruam
RC Tracked Robot Siv Arduino - Kauj Ruam Ib Nrab: Hav guys, Kuv rov qab los nrog lwm tus neeg hlau txias chassis los ntawm BangGood. Vam tias koj tau dhau los ntawm peb cov phiaj xwm yav dhau los - Spinel Crux V1 - Tus Cwj Pwm Tswj Tus Neeg Hlau, Spinel Crux L2 - Arduino Xaiv thiab Muab Neeg Hlau nrog Robotic caj npab thiab Badland Braw
Kawm Yuav Ua Li Cas Kos Tus Tswm Ciab - Kauj Ruam Ib Kauj Ruam: 6 Kauj Ruam
Kawm Yuav Ua Li Cas Thiaj Li Tswmciab - Kauj Ruam Ib kauj ruam: Cov tswm ciab no siv sijhawm 10 feeb los kos yog tias koj ua raws kuv cov kauj ruam ua tib zoo
DIY Arduino Robotic Arm, Kauj Ruam ntawm Kauj Ruam: 9 Kauj Ruam
DIY Arduino Robotic Arm, Kauj Ruam ntawm Kauj Ruam: Cov ntawv qhia no yog qhia koj yuav tsim lub Caj Npab Caj Npab ntawm koj tus kheej li cas