Cov txheej txheem:

Badge System: 5 Kauj Ruam
Badge System: 5 Kauj Ruam

Video: Badge System: 5 Kauj Ruam

Video: Badge System: 5 Kauj Ruam
Video: Muaj tsis ntshai tuag 7/1/2018 2024, Kaum ib hlis
Anonim
Badge System
Badge System
Badge System
Badge System
Badge System
Badge System

Txog qhov cim npe no koj yuav xav tau ob peb yam khoom siv hluav taws xob.

  • Raspberry Pi 3B
  • Arduino Ib
  • Buzzer
  • Coj liab thiab coj ntsuab
  • PIR
  • Zaub Zaub
  • RFID tshuab luam ntawv
  • Lub sijhawm tiag tiag
  • 4x 7 segment zaub
  • ntau ntawm cov xov hluav taws xob

Kauj ruam 1: Fritzing Scheme

Fritzing Scheme
Fritzing Scheme
Fritzing Scheme
Fritzing Scheme
Fritzing Scheme
Fritzing Scheme

Nov yog qhov kuv txuas kuv cov khoom siv rau kuv Raspberry Pi 3B thiab kuv Arduino Uno.

Rau kev txuas lub vijtsam LCD koj tuaj yeem siv I2C. Yog tias koj muaj GPIO tus pin txaus nyob ntawm koj cov txiv pos, nws tsis tas yuav siv I2C.

Ntawm no koj tuaj yeem pom kev sib txuas nrog thiab tsis muaj I2C.

Kauj ruam 2: Database

Image
Image

Ua ntej kuv ua lub database ntawm kuv lub computer nrog MySQL Workbench.

  1. Thawj qhov uas yuav tsum ua thaum tso ib lub database yog sau koj cov tswv yim.
  2. Tom qab ntawd koj ua cov duab kos ib txwm muaj
  3. Thaum koj ua tiav daim duab kos nws yog lub sijhawm los ua haujlwm cov duab kos hauv Workbench.

Rau qhov haujlwm no koj xav tau 3 lub rooj:

  • Ib qho rau cov neeg ua haujlwm
  • Ib qhov uas koj khaws cov ntaub ntawv los ntawm RFID
  • Ib qho rau Zipcodes thiab chaw

Thaum koj cov ntaub ntawv khaws cia tiav, koj tuaj yeem muab tso rau hauv koj li Raspberry Pi. Hauv cov vis dis aus kuv yuav qhia luv qhia yuav ua li cas tso koj MySQL Workbench database ntawm koj li Raspberry Pi.

Kauj Ruam 3: Xav Txog Cov Khoom

Xav Txog Cov Khoom
Xav Txog Cov Khoom
Xav Txog Cov Khoom
Xav Txog Cov Khoom
  • Koj xav kom koj lub cim npe zoo li cas?
  • Cov ntaub ntawv twg koj xav siv?
  • Puas yog nws yuav tsum sawv, dai, pw, …?

Cov no yog txhua yam koj yuav tsum xav txog thaum koj ua lub casing. Raws li koj tuaj yeem pom hauv cov duab, Kuv ua kuv li ntawm ntoo. Kuv kos txhua yam kuv xav tawm ntawm daim ntawv, mus rau tom khw DIY hauv zos thiab yuav qee cov ntoo thiab kua nplaum. Kuv ua qhov qhov ntoo kom ntxig kuv cov khoom.

Kauj Ruam 4: Rov qab thiab Tshaj Tawm

Frontend

Kuv tau ua tus neeg siv qhov chaw uas cov neeg siv tuaj yeem tso cov ntaub ntawv hauv lub database lossis qhov twg lawv tuaj yeem tshem tawm yog tias tsis muaj ntawv ceeb toom. Rau lub xaib nws tus kheej Kuv siv HTML thiab CSS thiab rau cov duab thiab txuas nrog lub hauv paus, Kuv siv JavaScript.

Backend

Lub backend yog rau kev sib txuas lus nruab nrab ntawm cov ntaub ntawv thiab lub ntsej muag. Nws cov cai koj tso rau ntawm koj Raspberry Pi. Nws tau tsim hauv Python. Nov yog kuv li Python code.

Kauj Ruam 5: Xaus Qhov Tseeb

Qhov no yog qhov kawg! vam tias koj nyiam nws.

Pom zoo: