Cov txheej txheem:

Raspberry Pi - Lub Tsev Ntse: 5 Kauj Ruam
Raspberry Pi - Lub Tsev Ntse: 5 Kauj Ruam

Video: Raspberry Pi - Lub Tsev Ntse: 5 Kauj Ruam

Video: Raspberry Pi - Lub Tsev Ntse: 5 Kauj Ruam
Video: Tseem Ev Lub Kawm - Koos Loos 2024, Kaum ib hlis
Anonim
Raspberry Pi - Lub Tsev Ntse
Raspberry Pi - Lub Tsev Ntse

Raspberry Pi Smart House Project tau nruab nrog ntau qhov sib txawv uas tso cai rau tus neeg siv tuaj yeem taug qab lawv lub tsev los ntawm txhua qhov chaw (nrog Internet, tau kawg!) Ntawm txhua lub khoos phis tawj/mobile.

Cov yam ntxwv ntawm Smart House tso cai rau tus neeg siv muaj peev xwm taug qab, saib thiab/lossis tau txais qhov ntsuas kub, av noo thiab teeb pom kev zoo ntawm lub tsev uas lawv Raspberry Pi nyob ntawm. Cov neeg siv tuaj yeem pom tag nrho cov ntaub ntawv no los ntawm server ntawm Raspberry Pi thiab ntawm Blynk, ntxiv rau Telegram los ntawm Smart House Bot (t.me/smarthouse_rpi_bot). Nruab nrog lub qhov rooj ntse, uas tso cai rau cov neeg siv sau npe lawv daim npav RFID, thaum tus neeg uas tsis muaj daim npav RFID tsis tau sau npe tso rau ntawm RFID Scanner, Raspberry Pi yuav ua rau PiCam, thaij duab ntawm qhov rooj ntawm lub qhov rooj. tsis tau tso cai nkag mus.

Cov neeg siv kuj tseem tuaj yeem thaij duab ntawm ib qho ntawm daim ntawv thov mobile (Blynk/Telegram) thiab saib nws ntawm S3, Amazon Web Service rau Kev Cia Khoom, lossis saib nws ntawm Telegram los ntawm Smart House Bot.

Kauj Ruam 1: Yuav Tsum Tau Kho Vajtse

Yuav tsum tau kho vajtse
Yuav tsum tau kho vajtse
Yuav tsum tau kho vajtse
Yuav tsum tau kho vajtse

Ib Leeg/Ib Cheeb Tsam Xav Tau:

  1. Tib Board Computer Raspberry Pi
  2. DHT11 Kub thiab Vaum Sensor
  3. COM-00097 Mini Push Button Switch
  4. Analog-rau-Digital Converter (MCP3008 ADC)
  5. Lub Teeb-Ntsuas Tus Kheej (LDR)
  6. RFID/NFC MFRC522 Card Reader Module
  7. 12C LCD Screen
  8. LED teeb
  9. Resistors (10kΩ thiab 220/330Ω)

Ob Chav/Ob Cheeb Tsam Xav Tau: 1. LED teeb 2. 10KΩ Resistors3. 220/330Ω Cov neeg tiv taus

Kauj ruam 2: Teem Koj Li Database

phpmyadmin

qhov rooj_access

  1. id ua
  2. hnub tim
  3. rfidCard Tsis yog

Khaws cov ntaub ntawv no kom paub tus neeg siv tau rov qab los tsev.

teeb

  1. id ua
  2. datetime_ tus nqi
  3. lub teeb_ tus nqi

Khaws cov ntaub ntawv no kom tau txais lub teeb pom kev los ntawm lub teeb pom kev @ Lub Chav Nyob Nplooj Ntawv.

cov neeg siv

  1. user_id
  2. lub npe siv
  3. lo lus zais
  4. rfidCard Tsis yog

Khaws cov ntaub ntawv no kom paub tus lej npav twg yog tus neeg siv tuav rau.

tus nqi

  1. value_id
  2. hnub tim
  3. lub teeb
  4. tempVal
  5. av noo

Khaws cov ntaub ntawv no kom tau txais lub teeb, qhov kub thiab txias, tus nqi los ntawm lub teeb, DHT11 @ Tus Xaib Chav Nyob, Telegram Bot thiab Blynk app.

dynamodb

tus nqi

  1. deviceid
  2. hnub tim
  3. lub teeb
  4. tempVal
  5. av noo

Khaws cov ntaub ntawv no kom tau txais lub teeb, qhov kub, qhov av noo los ntawm lub teeb, DHT11 @ Chav Ua Noj Page.

S3

  • Thoob-iot-ay1819s2
  • Nplaub tshev -Tsev -> 1819s2_iot_SmartHouse
  • Sub-Folder

• blynkpictures • userpictures

Pom zoo: