Cov txheej txheem:
- Kauj Ruam 1: Yam Koj Xav Tau
- Kauj Ruam 2: Ua Lub Thawv
- Kauj Ruam 3: Tsim Firebase Database
- Kauj Ruam 4: Tsim Alexa Skill
- Kauj Ruam 5: Teeb Kho Raspberry Pi 3
Video: Amazon Alexa Powered Tsis Siv Neeg Ntses Feeder: 5 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
Tsis nco qab pub koj cov ntses?
Tam sim no cia Alexa pub koj cov ntses, los ntawm txhua qhov chaw hauv ntiaj teb, yog nyob qhov twg. Txoj Haujlwm no tau tsim los kom koj tuaj yeem pub mis rau koj tus tsiaj los ntawm txhua qhov chaw hauv ntiaj teb, siv ib qho cuab yeej Alexa/app.
Xav pub mis rau lwm tus tsiaj?
Tsis muaj teeb meem tsuas yog ua lub ntim ntawm qhov loj me uas tsim nyog thiab so koj zoo mus.
Kauj Ruam 1: Yam Koj Xav Tau
- 1 X Servo Tsav
- 1 X Raspberry Pi 3 (ib qho Raspberry Pi nrog internet yuav ua haujlwm)
- 1 X Raspberry Pi Adapter
- 1 X MicroSD Card nrog Rasbian OS
- 3 X Jumper Wires Txiv neej rau Poj Niam
- 1 X Cardboard
- 1 X Txiab
- 1 X Cim/Cwj mem
- 1 X Nplai/Tus kav
- 1 X Daim Kab Xev
- 1 X Echo Dot (yeem)
Kauj Ruam 2: Ua Lub Thawv
Kos cov qhov ntev ntawm daim duab los qhia (koj tuaj yeem ua nws loj/me me raws li koj xav tau)
Siv tus cim/cwj mem nrog tus pas ntsuas thiab ua kom pom tseeb peb daim duab zoo li no.
Tam sim no txiav cov khoom siv txiab
Thov nco ntsoov tias A (kab sab hauv) nyob ntawm seb cov zaub mov koj pub rau ntses.
Tam sim no quav raws cov kab sab hauv
Quav txhua daim raws txoj kab sab hauv tig mus rau sab saum toj raws li qhia hauv daim duab.
Tam sim no Xev lawv ua ke zoo li lub hauv paus
Xev lawv ua ke xws li lawv tsim cov qauv zoo li lub hauv paus, raws li qhia hauv daim duab.
Tam sim no ua lub hau
Tam sim no ua lub hau rau lub qhov ncauj me me ntawm lub hauv paus, qhov no xav tau me ntsis loj kom nws tsis xau.
Kaw lub hau ntawm lub tshuab servo lub xov tooj
Muab lub hau tso rau ntawm lub tshuab servo lub xov tooj siv qee daim kab xev/kua nplaum.
Xev lub servo motor ntawm lub ntim
Thaum kawg, kaw kab ntawv servo lub cev rau ntawm lub thawv, xyuas kom nws kaw lub qhov ncauj kom raug.
Kauj Ruam 3: Tsim Firebase Database
- Qhib firebase.
- Nyem rau Mus rau Console.
- Nyem rau Ntxiv Project.
- Npe koj qhov Project.
- Nyem rau Tsim qhov Project.
- Nyem rau ntawm Database.
- Xaiv Pib hauv Hom Kev Xeem.
- Nco tseg koj tus lej ID firebase.
Kauj Ruam 4: Tsim Alexa Skill
- Mus ntsib developer.amazon.com.
- Nkag mus nrog koj li peev txheej amazon.
- Nyem rau ntawm Developer Console.
- Nyem rau Tsim Kev Txawj Ntse.
- Lub Npe Kev Txawj Ntse.
- Nyem rau Xaiv (Custom Skill) thiab tom qab ntawd Tsim Kev Txawj Ntse.
- Nyem rau ntawm Invocation Tab thiab sau lub npe hu ua ntses pub.
- Nyem rau ntawm JSON Editor Tab thiab Paste cov cai hauv qab no (saib qhov kawg).
- Nyem rau Tsim Qauv.
- Nyem rau Endpoint Tab.
- Luam koj daim Skill ID.
- Mus ntsib aws.amazon.com. (hauv tab tshiab)
- Nyem rau ntawm Sign in to console.
- Nyem rau ntawm Lambda (tshawb, yog tias tsis nyob ntawm nplooj ntawv).
- Nyem rau Tsim Cov Haujlwm.
- Sau cov ntsiab lus (txheeb tawm daim duab).
- Nyem rau Tsim Cov Haujlwm.
- Nyem rau ntawm Alexa Skill Kit.
- Nyem rau Enable thiab muab tshuaj txhuam koj cov txuj ci.
- Nyem rau Ntxiv.
- Nyem Txuag.
- Tam sim no Nyem rau ntawm koj lub npe txuj ci (kos tawm daim duab).
- Scroll Down thiab Xaiv Upload a. Zip cov ntaub ntawv.
- Rub tawm Github repo los ntawm no.
- Unzip qhov repo.
- Nkag mus rau hauv daim nplaub tshev hu ua Alexa/Lambda.
- Qhib cov ntawv npe hu ua lambda_function.py hauv ib qho ntawv sau.
- Tam sim no muab tshuaj txhuam tus firebase id rau kab 3 (hloov {koj lub firebase url} nrog koj tus lej firebase)
- Tam sim no txav cov ntawv no mus rau lambda-zipped.zip archive. (yog tias siv WinRAR tsuas yog luag thiab xa nws mus rau qhov chaw khaws cia)
- Tam sim no upload no lambda-zipped.zip rau aws.
- Luam koj li ARN (saib daim duab)
- Tam sim no rov qab mus rau developer.amazon.com.
- Muab tshuaj txhuam ARN thiab nyem rau ntawm Save Endpoints.
- Nyem rau Test Tab.
- Toggle Hloov.
- Ntaus cov lus txib - pib ntses pub mis
- yog teb tau txais koj zoo mus.
{
"interactionModel": {"languageModel": {"invocationName": "ntses feeder", "intents": [{"name": "AMAZON. FallbackIntent", "sample": }, {"name": "AMAZON. CancelIntent "," qauv ": }, {" npe ":" AMAZON. HelpIntent "," qauv ": }, {" name ":" AMAZON. StopIntent "," qauv ": }, {"name": "FeedNow", "slots": , "qauv": ["pub ntses", "pub ntses", "pub kuv ntses tam sim no", "pub kuv ntses thov", "thov pub ntses "," ntses kuv noj tam sim no "]}]," hom ": }}}
Kauj Ruam 5: Teeb Kho Raspberry Pi 3
- Txuas koj lub Servo Motor rau cov pins hauv qab no.
- Feem Nruab Nrab (RED) -> VCC (PIN 02)
- Xim daj (xim av) -> GROUND (PIN 06)
- Xim kaj (ORANGE) -> PIN03
- Nkag mus rau koj tus Pi (Siv SSH lossis siv Saib Xyuas/Keyboard/Mouse)
- Qhib Terminal thiab khiav cov lus txib hauv qab no -
- cd Desktop
- git clone
- Tam sim no qhib daim nplaub tshev Automatic-Fish-Feeder
- Nkag mus rau nplaub tshev Pi
- Qhib app.py hauv kab ntawv sau.
- Hloov kab 5 nrog koj qhov url firebase.
- Txuag nws.
- Tam sim no qhib Terminal thiab khiav cov lus txib hauv qab no -
- cd Desktop
- cd Tsis Siv Neeg-Ntses-Feeder
- cd pib
- sej 3 app.py
- Tam sim no siv koj lub cuab yeej Alexa lossis app thiab hais tias - Alexa, pib ntses ntses
- Yog tias txhua yam ua haujlwm koj zoo mus.
- Nco ntsoov tias hauv app.py koj tuaj yeem hloov cov lus sib cav ntawm FeedNow ua haujlwm hauv kab 11, thawj qhov kev sib cav yog ncua thiab qhov kev sib cav zaum thib ob yog lub kaum ntse ntse.
Pom zoo:
Tsis Siv Neeg Tshuab Luam Ntawv Tsis Siv Neeg Gumball: 18 Kauj Ruam (nrog Duab)
Tsis Siv Neeg Tshuab Luam Ntawv Tsis Siv Neeg Gumball: Peb tau Ua Kov Tsis Pub Siv Gumball Siv lub micro: me ntsis, Crazy Circuits Bit Board, ntsuas qhov deb, siv servo, thiab duab los qhia. Ua nws thiab siv nws yog "BLAST" "! ? ? Thaum koj tso koj txhais tes rau hauv lub hauv paus ntawm lub foob pob hluav taws, lub ntsuas qhov deb
Yuav Ua Li Cas Tsis Siv Neeg Ntses Feeder: 6 Kauj Ruam (nrog Duab)
Yuav Ua Li Cas Tsis Siv Neeg Ntses Feeder: Raws li ib feem ntawm peb kev tshawb fawb engineering peb tau thov kom siv Arduino lossis/thiab raspberry txhawm rau txhawm rau daws teeb meem niaj hnub.Qhov tswv yim yog ua qee yam muaj txiaj ntsig thiab peb txaus siab rau. Peb xav tau los daws teeb meem tiag. Lub tswv yim ntawm kev ua tus aut
Qhov kawg DIY Tsis Siv Neeg Ntses Feeder: Tier 2: 10 Cov Kauj Ruam (nrog Duab)
Qhov kawg DIY Tsis Siv Neeg Ntses Feeder: Tier 2: Tier 2 Feeder yog cov kauj ruam loj los ntawm Tier 1. Cov ntawv no siv ESP8266 wifi module kom ua tiav lub arduino lub moos los tswj lub sijhawm pub mis thiab lub teeb pom kev zoo
Ntses Feeder Siv Arduino Nano, Servo Motor thiab Cov Khoom Siv Khib Nyiab: 7 Kauj Ruam
Ntses Feeder Siv Arduino Nano, Servo Motor thiab Cov Khoom Siv Khib Nyiab: Nws yog txoj haujlwm yooj yim los ntawm kev siv tib lub cav servo thiab ob peb yam khoom siv yooj yim.Nws pab pub ntses raws sijhawm
Qhov kawg DIY Tsis Siv Neeg Ntses Feeder: Tier 1: 6 Cov Kauj Ruam
Qhov kawg DIY Tsis Siv Neeg Ntses Feeder: Tier 1: Tier 1 yog qhov yooj yim tshaj plaws pub. Siv qhov no yog tias koj nyob ntawm pob nyiaj siv nruj lossis, zoo li kuv, koj tsis tuaj yeem tau txais Tier 2 ua haujlwm ua ntej koj tawm mus rau ib lub lim tiam thiab ib nrab rau hnub so. Tsis muaj kev tswj teeb pom kev zoo.Qhov thiab Hom Khoom Noj: Kuv muaj betta thiab 5 neon t