Cov txheej txheem:
- Kauj Ruam 1: Cov Ntsiab Lus ntawm Kauj Ruam los Sib Tham
- Kauj Ruam 2: Teeb Kho Vaj Huam Sib Luag Kawg
- Kauj Ruam 3: Yuav Tsum Tau Kho Vajtse
- Kauj Ruam 4: Teeb tsa Kev Ntsuas Tus Menyuam Ntse (ntu 1)
- Kauj Ruam 5: Teeb Kom Ntse Tus Menyuam Saib Xyuas Qhov System (ntu 2)
- Kauj Ruam 6: Teeb tsa Kev Ntsuas Tus Menyuam Ntse (ntu 3)
- Kauj Ruam 7: Teeb tsa Kev Ntsuas Tus Menyuam Ntse (ntu 4)
- Kauj Ruam 8: Teeb tsa Kev Ntsuas Tus Menyuam Ntse (ntu 5)
- Kauj Ruam 9: Teeb tsa Kev Ntsuas Tus Menyuam Ntse (ntu 6)
- Kauj ruam 10: Ua tiav
Video: ET Smart Baby Monitoring System: 10 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
ET Smart Baby Monitoring System yog lub kaw lus uas muaj lub hom phiaj txhawm rau ntxiv kev yooj yim rau niam txiv lossis tus saib xyuas saib xyuas menyuam. Qhov kev saib xyuas yuav taug qab tus menyuam qhov kub thiab yog tias dhau mus li ib txwm, SMS yuav xa mus rau niam txiv lossis tus saib xyuas lub xov tooj kom ceeb toom rau lawv. Ib qho ntxiv, thaum tus menyuam quaj, lub suab ntsuas yuav pom nws thiab ua suab nrov. Qhov no muaj txiaj ntsig tshwj xeeb thaum hmo ntuj thaum niam txiv lossis tus saib xyuas pw tsaug zog. Lub teeb LED tuaj yeem qhib thiab tua nyob deb ntawm lub vev xaib thiab daim duab ntawm qhov xwm txheej tam sim no kuj tseem tuaj yeem ua nrog nias lub pob ntawm lub vev xaib. Yog li, ET Smart Baby Monitoring System pab taug qab tus menyuam txoj kev noj qab nyob zoo thiab tib lub sijhawm, ua rau muaj kev saib xyuas menyuam mos yooj yim dua.
Rau kev qhia ntxaws ntxaws, saib mus rau hauv daim ntawv pdf muab.
Kauj Ruam 1: Cov Ntsiab Lus ntawm Kauj Ruam los Sib Tham
- Txheej txheem cej luam ntawm Teeb-up
- Yuav tsum tau kho vajtse
- Teeb Meem Saib Xyuas Menyuam Yaus
- Kuaj Khiav
Kauj Ruam 2: Teeb Kho Vaj Huam Sib Luag Kawg
Kauj Ruam 3: Yuav Tsum Tau Kho Vajtse
TXH11 (1)
330Ω Cov neeg tiv taus (1)
LED (1) 10kΩ Resistor (1)
Lub suab nrov (1)
PiCam (1)
I2C LCD Screen (1)
Kauj Ruam 4: Teeb tsa Kev Ntsuas Tus Menyuam Ntse (ntu 1)
Teeb tsa cov khoom siv Raspberry Pi
Cov duab uas tau qhia yog cov txheej txheem ib kauj ruam ntawm yuav ua li cas kho vajtse teeb tsa zoo li. Tom qab teeb tsa kho vajtse, koj tuaj yeem rub tawm cov lej cim los ntawm qhov txuas hauv qab no.
Qhov chaws txuas txuas: https://github.com/nje0527/IOTAssignment2/tree/master/ assignment2
Kauj Ruam 5: Teeb Kom Ntse Tus Menyuam Saib Xyuas Qhov System (ntu 2)
Setup AWS
- Ntawm AWS console, nyem rau ntawm Services.
- Ntawm koj lub AWS dashboard, ntaus "IoT Core" txhawm rau nkag mus rau IoT Core cov kev pabcuam
- Ntawm nplooj ntawv txais tos, nyem rau Pib Pib
- Ntawm AWS IOT dashboard, nyem rau Tswj -> Yam
- Nyem rau Tsim Ib Leeg Yam
- Muab lub npe rau koj Yam, tom qab ntawv nyem Tom ntej hauv qab
- Ntawm nplooj ntawv tom ntej, nyem rau ntawm Tsim daim ntawv pov thawj
- Yuav muaj plaub qhov txuas rub tawm, rub tawm txhua ntawm lawv
- Tsiv koj daim ntawv pov thawj mus rau daim nplaub tshev tshiab thiab hloov npe lawv raws li
- Nyem rau Qhib thiab yuav luag tam sim, koj yuav tsum pom "Ua tiav daim ntawv pov thawj ua tiav" thiab Qhib lub pob hloov mus rau "Deactivate"
- Nyem rau Txuas nrog txoj cai nyob hauv qab
- Nyem rau Tsim txoj cai
- Txhais txoj cai lub npe thiab kev tso cai ua ces nyem Tsim
- Rov qab mus rau IOT dashboard xaiv Ruaj Ntseg -> Ntawv Pov Thawj ces nyem rau ntawm daim ntawv pov thawj ntawv qhia zaub mov kom txuas txoj cai
- Xaiv txoj cai koj nyuam qhuav tsim thiab nyem txuas
- Nyem rau daim ntawv pov thawj ntawv qhia zaub mov dua, nyem Txuas yam khoom los txuas koj cov khoom rau koj daim ntawv pov thawj
- Ntawm IOT dashboard, rov qab mus rau Tswj -> Yam ces nyem rau ntawm yam uas koj nyuam qhuav tsim
- Xaiv Sib cuam tshuam ntawm sab kev taw qhia tom qab ntawv theej thiab muab tshuaj txhuam koj qhov REST API Endpoint rau ntawm daim ntawv sau
Kauj Ruam 6: Teeb tsa Kev Ntsuas Tus Menyuam Ntse (ntu 3)
Txhim kho cov tsev qiv ntawv tsim nyog
Cov kauj ruam no muaj cov tsev qiv ntawv tsim nyog yuav tsum tau teeb tsa txhawm rau ua haujlwm cov haujlwm ntawm koj li Raspberry Pi.
1. Nruab Flask nrog cov lus txib hauv qab no
sudo pip nruab flask
2. Nruab AWS lub tsev qiv ntawv Python nrog cov lus txib hauv qab no
sudo pip nruab AWSIoTPythonSDK
3. Nruab qhov AWS Command ‐ Line Interface Client ntawm koj li Raspberry Pi
sudo pip nruab awscli
4. Nruab Boto, Python library rau AWS ntawm koj li Raspberry Pi
sudo pip nruab boto3
5. Nruab rpi-lcd lub tsev qiv ntawv nrog cov lus txib hauv qab no
sudo pip nruab rpi-lcd
6. Nruab Mosquitto broker thiab cov neeg siv khoom ntawm koj Raspberry Pi nrog cov lus txib hauv qab no
sudo apt-tau nruab mosquitto mosquitto-cov neeg siv khoom
7. AWS Python SDK muaj kev vam khom rau paho-mqtt, yog li xyuas kom nws tau teeb tsa ntawm koj li RPI.
sudo pip nruab paho-mqtt
8. Khiav cov lus txib hauv qab no ntawm koj li Raspberry Pi txhawm rau teeb tsa AWS Cov neeg siv kab lus kab ntawm koj li Raspberry Pi
sudo pip nruab awscli-txhim kho-neeg siv
Kauj Ruam 7: Teeb tsa Kev Ntsuas Tus Menyuam Ntse (ntu 4)
SMS
SMS yuav ceeb toom rau niam txiv yog tias qhov kub tau tshaj qhov qub.
DynamoDB thiab S3
DynamoDB khw muag khoom kub thiab nws lub sijhawm. S3 khaws cov duab los ntawm PiCam.
AWS
Peb yuav siv AWS MQTT txhawm rau sau npe thiab tshaj tawm rau qhov ntsuas kub.
Kauj Ruam 8: Teeb tsa Kev Ntsuas Tus Menyuam Ntse (ntu 5)
Cov npe zoo li qub
img ua
tus.png
lub koob yees duab.png
lb.png
bootstrap.min.css
bootstrap.min.js
qauv
txog.html
dashboard.html
index.html
ledcontrol.html
pic.html
pin.html
aws_pubsub.py
boto_s3_1.py
mqttpublish_temp.py
mqttsubscribe_temp.py
neeg rau zaub mov.py
soundensor.py
Kauj Ruam 9: Teeb tsa Kev Ntsuas Tus Menyuam Ntse (ntu 6)
Kuaj Khiav
Xyuas kom koj nyob hauv cov npe uas server.py nyob.
Txhawm rau sim lub vev xaib, khiav cov lus txib hauv qab no:
sudo python server.py
Txhawm rau sim mqtt code, khiav cov lus txib hauv qab no:
mosquitto (ua tiav ntawm raspberry pi 1)
sudo python mqttpublish_temp.py (ua tiav ntawm raspberry pi 1) sudo python mqttsubscribe_temp.py (ua tiav ntawm raspberry pi 2)
Txhawm rau upload rau DynamoDB, khiav cov lus txib hauv qab no:
sudo python aws_pubsub.py
Txhawm rau khiav lub suab sensor, khiav cov lus txib hauv qab no:
sudo python sound_sensor.py
Cov lej txuas txuas:
Kauj ruam 10: Ua tiav
Ua tsaug rau koj nyeem!
Peb vam tias qhov kev qhia no tau pab rau koj thiab muaj kev lom zem coding!
Pom zoo:
Resistor Storage System System "Resys": 7 Cov Kauj Ruam (nrog Duab)
Resistor Storage Location System "Resys": Qhov no yog ib qho system uas ua rau nws yooj yim mus nrhiav koj cov resistors.Search ntawm qhov xav tau tus nqi, thiab txoj cai tub rau khoom teeb tsa.Qhov system no tuaj yeem txuas mus rau cov lej xav tau ntawm cov tub rau khoom
Raspberry Pi Monitoring System Via OLED Display Module: 5 Kauj Ruam
Raspberry Pi Kev Saib Xyuas Txheej Txheem Ntawm OLED Cov Qauv Module: Hauv qhov kev qhia no kuv yuav piav qhia yuav teeb tsa 0.96 nti OLED zaub module rau qhia cov ntaub ntawv xov xwm ntawm Raspberry Pi 4 Qauv B siv nws I2C interface
Arduino thiab Raspberry Pi Powered Pet Monitoring System: 19 Cov Kauj Ruam (nrog Duab)
Arduino thiab Raspberry Pi Powered Pet Monitoring System: Tsis ntev los no thaum so, peb paub tias tsis muaj kev sib txuas nrog peb tus tsiaj Beagle. Tom qab qee qhov kev tshawb fawb, peb pom cov khoom lag luam uas muaj lub koob yees duab zoo li qub uas tso cai rau ib tus saib xyuas thiab sib tham nrog ib tus tsiaj. Cov kab ke no muaj qee cov txiaj ntsig b
Ua Koj Tus Kheej PH THIAB SALINITY MONITORING SYSTEM Nrog LED Qhia: 4 Kauj Ruam
Ua Koj Tus Kheej PH THIAB SALINITY MONITORING SYSTEM NROG LED INDICATORS: Hauv txoj haujlwm no, peb yuav ua pH thiab salinity/conductivity xyuas nrog cov ntsuas LED. Cov ntsuas pH thiab salinity los ntawm Atlas Scientific tau siv. Kev ua haujlwm yog ntawm I2C raws tu qauv thiab nyeem tau nthuav tawm ntawm Arduino cov ntawv xov xwm
Yuav Ua Li Cas Thiaj Li Txuas Kom Zoo thiab Teeb Lub Mini HiFi Shelf System (Suab System): 8 Kauj Ruam (nrog Duab)
Yuav Ua Li Cas Thiaj Li Txuas Tau Zoo thiab teeb tsa Mini HiFi Shelf System (Suab System): Kuv yog ib tus neeg uas nyiam kawm txog kev tsim hluav taws xob. Kuv yog tsev kawm theem siab ntawm Ann Richards Tsev Kawm Ntawv rau Cov Ntxhais Hluas Thawj Coj. Kuv tab tom ua cov lus qhia no los pab txhua tus neeg uas xav kom txaus siab rau lawv cov nkauj los ntawm Mini LG HiFi Shelf Syste