Cov txheej txheem:

Ib puag ncig haum (Dorm Automation): 5 Kauj Ruam
Ib puag ncig haum (Dorm Automation): 5 Kauj Ruam

Video: Ib puag ncig haum (Dorm Automation): 5 Kauj Ruam

Video: Ib puag ncig haum (Dorm Automation): 5 Kauj Ruam
Video: Finance with Python! Portfolio Diversification and Risk 2024, Kaum ib hlis
Anonim
Image
Image
Adaptive Environment (Dorm Automation)
Adaptive Environment (Dorm Automation)
Adaptive Environment (Dorm Automation)
Adaptive Environment (Dorm Automation)
Adaptive Environment (Dorm Automation)
Adaptive Environment (Dorm Automation)

Qhov haujlwm no yog pib ntawm kuv delve rau hauv automation. Kuv xaiv Raspberry Pi ua "lub hlwb" ntawm txoj haujlwm no vim tias GPIO muaj ntau daim ntawv thov sib txawv thiab nyob hauv-board WIFI/Bluetooth. Kuv Intro rau tsab ntawv qhia ua qauv nyuaj rau kuv los tsim tsab ntawv uas yog tib neeg nyob rau hauv thiab hauv qhov kuv xav tau kom muaj peev xwm los nruab qhov nruab nrab ntawm ib feem ntawm kuv txoj haujlwm ib puag ncig ntawm ib tus neeg. Nov yog thaum kuv muaj lub tswv yim kom muaj chav pw uas tuaj yeem ua tus kheej rau ib tus phooj ywg hauv chav tshwj xeeb. Zuag qhia tag nrho, txoj haujlwm no siv Raspberry Pi thiab lub tshuab ntsuas RFID txhawm rau txheeb xyuas tus kheej thiab ua ntu zus ntawm kev ua (qhib thiab tua teeb hauv qhov haujlwm no) txhawm rau kho tus kheej.

Kauj Ruam 1: Cov Cuab Yeej thiab Khoom Siv

Cov Cuab Yeej thiab Khoom Siv
Cov Cuab Yeej thiab Khoom Siv

Cov Cuab Yeej

Yam uas yuav tsum ua Raspberry Pi (https://www.raspberrypi.org/learning/hardware-guide)

  • Cov Khoom Siv Soldering (https://a.co/0sApLDF)
  • Zaj sawv Zaj (https://a.co/6vXsNXV)
  • Crimping Kit (https://a.co/6vXsNXV)
  • Poj Niam Jumper Cables (https://a.co/7Zq0VYD)
  • Hais kom kab txaij (https://a.co/i2P4hUR)
  • Tshuab Luam Ntawv 3D (Tsis teb los tau)

Cov Khoom Siv

Raspberry Pi nrog Cov Ntaub Ntawv thiab Cov Khoom Siv Hluav Taws Xob Tsim Nyog (https://a.co/1exaycw)

  • Wireless Card Reader (https://www.monkmakes.com/cck)
  • Micro SD Card (https://a.co/ccdcO5a)
  • Wireless Hloov (https://a.co/j0HuIhV)
  • 433MHz Transmitter thiab Txais (https://a.co/aOTKkQU)

Kauj ruam 2: Kho vajtse

Image
Image
Kho vajtse
Kho vajtse

Kuv tau pib nrog Phau Ntawv Ntsej Muag Daim Npav Phau Ntawv thiab tom qab ntawd saib cov vis dis aus saum toj no txhawm rau txhawm rau txuas Pi mus rau RF Transmitter thiab Txais.

Kauj ruam 3: Txuas tus Pi

Image
Image
Kev cob qhia Pi
Kev cob qhia Pi
Kev cob qhia Pi
Kev cob qhia Pi
Kev cob qhia Pi
Kev cob qhia Pi

Cov xov hlau hauv txoj haujlwm no tuaj yeem dhau los ua qhov tsis sib xws yog li kuv tau ua cov kauj ruam no kom ua kom muaj kev sib koom me ntsis.

Kauj ruam 4: Txoj Cai

Txoj Cai
Txoj Cai
Txoj Cai
Txoj Cai
Txoj Cai
Txoj Cai

Ib feem ntawm txoj cai no los ntawm cov peev txheej sib txawv hauv qhov qhia tau. Nws pib txhais cov cuab yeej (s) mus nrog tus neeg twg thiab tom qab ntawd nws nkag mus rau hauv lub voj ntawm kev txheeb xyuas seb daim npav twg raug tshuaj xyuas (tus neeg twg cuam tshuam nrog).

Koj yuav tsum pib los ntawm kev pib pib ib feem ntawm Phau Ntawv Ntsej Muag Daim Ntawv thiab tom qab ntawd rub thiab tso cov ntaub ntawv no rau hauv daim nplaub tshev uas muab los ntawm phau ntawv.

Ob qhov uas yuav raug hloov pauv los ntawm tus siv rau tus siv yuav yog "ID ==" thiab kab "os.system". Thawj qhov yog qhov uas ids ntawm RF daim npav mus [koj tuaj yeem nyeem tus id siv cov clever_card_kit directory (nplaub tshev)]. Qhov thib ob yuav tsum tau muab cov lej cim uas qhov tau piav qhia hauv "RF 433" cov yeeb yaj kiab tau qhia hauv qib kho vajtse.

Nco tseg: Cov lej tau plooj hauv cov duab rau qhov laj thawj ntiag tug.

Kauj ruam 5: Khiav Nws

Khiav Nws!
Khiav Nws!
Khiav Nws!
Khiav Nws!
Khiav Nws!
Khiav Nws!

Kuv ua raws cov txheej txheem uas tau hais los saum no txhawm rau siv cov cai yam tsis muaj zaub tab sis pom qhov chaw uas nws nkag tau yooj yim thiab siv kab lus hais kom ntxaws txuas rau nws. Lub teeb yuav tsum qhib/tua nrog lub scan ntawm daim npav. Kuv tos ntsoov yuav nthuav txoj haujlwm no nrog ntau yam khoom siv.

Thaum sim, cov neeg siv nyiam yooj yim npaum li cas nws tau siv lub tshuab luam ntawv thiab hais tias nws tau yuav luag tam sim ntawd. Tsuas yog lub sijhawm uas cov neeg siv sib txawv hauv kev xav yog thaum nws los siv daim npav tseem ceeb thiab qee qhov nyiam dongle (ntawm cov yuam sij lossis hauv hnab nyiaj). Yog li, ua ntej koj mus xaj cov khoom kom paub tseeb tias koj cov neeg siv yuav siv dab tsi ua ntej xaj xaj RF daim npav.

Pom zoo: