Cov txheej txheem:
- Kauj Ruam 1: Siv Software:
- Kauj Ruam 2: Cov Khoom Siv:
- Kauj Ruam 3: Daim Duab Circuit:
- Kauj ruam 4: Tsev qiv ntawv:
- Kauj ruam 5: Code
- Kauj Ruam 6: Yees Duab:
Video: Kev Tuaj Koom Nrog Los Ntawm Kev Xa Cov Ntaub Ntawv RFID rau MySQL Server Siv Python Nrog Arduino: 6 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
Hauv Txoj Haujlwm no Kuv tau cuam tshuam RFID-RC522 nrog arduino thiab tom qab ntawd kuv tab tom xa cov ntaub ntawv ntawm RFID mus rau phpmyadmin database. Tsis zoo li peb cov phiaj xwm yav dhau los peb tsis tau siv ib qho kev tiv thaiv ethernet hauv qhov no, ntawm no peb tsuas yog nyeem cov ntaub ntawv xov xwm los ntawm arduino thiab tom qab ntawd thawb ntawd mus rau phpmyadmin los ntawm ib tus lej nab npawb. Yog li ntawm no peb cov cuab yeej txuas nrog PC kom nws tuaj yeem xa cov ntaub ntawv ua ntu zus, koj tseem tuaj yeem txuas cov cuab yeej rau raspberry pi kom ua txoj haujlwm no nqa tau.
Kauj Ruam 1: Siv Software:
Nov yog cov software peb tau siv rau txoj haujlwm no:
1. Arduino IDE: Koj tuaj yeem rub tawm qhov tseeb Arduino IDE los ntawm qhov txuas no:
www.arduino.cc/en/Main/Software
2. Kev teeb tsa XAMPP server: Ntawm no peb siv XAMPP server nws tuaj yeem siv tau ob qho tib si hauv lub qhov rais thiab Linux, tab sis kuv qhov lus pom yog tias yog koj nyob hauv Ubuntu (Txhua lub platform Linux) tom qab ntawd mus nrog LAMP. Tam sim no txij li peb nyob hauv windows yog li peb tau nyiam XAMPP server. Yog li koj tuaj yeem rub tawm XAMPP server los ntawm qhov txuas no.
Xwb ntawm no yog cov kauj ruam rau LAMP server:
1. Nruab Apache:
sudo apt-tau nruab apache2
2. Nruab MySQL:
sudo apt-tau nruab mysql-server
3. Nruab PHP:
sudo apt-tau nruab php5 libapache2-mod-php5
4. Restart Server:
sudo /etc/init.d/apache2 rov pib dua
5. Txheeb xyuas Apache https:// localhost/
koj yuav tau txais ib nplooj ntawv apache los ntawm nyem qhov txuas saum toj no yog tias koj tsis tau txais nws txhais tau tias muaj qee yam tsis raug nrog koj teeb tsa
Ntawm no peb tab tom siv PHPMYADMIN uas yog lub vev xaib sib tham ntawm MySQL server yog li rau kev txhim kho uas siv cov lus txib: sudo apt-get install phpmyadmin
3. Python IDLE: Raws li peb tab tom siv tus lej nab npawb los thawb cov ntaub ntawv mus rau phpmyadmin yog li koj yuav tsum rub tawm sej tsis ua haujlwm, koj tuaj yeem rub cov cuab yeej sej los ntawm qhov txuas no
sib nrug ntawm qhov ntawd koj tseem yuav xav tau qee lub tsev qiv ntawv kom nws ua haujlwm xws li pyserial thiab mysqldb. Yuav ua li cas rub tawm cov khoom no, Kuv tau npog hauv kuv cov vis dis aus thov saib tag nrho cov vis dis aus uas tau muab hauv qab no.
Kauj Ruam 2: Cov Khoom Siv:
1) Arduino UNO: Arduino Uno yog lub microcontroller board raws li ATmega328P (cov ntawv). Nws muaj 14 digital input/output pins (ntawm uas 6 tuaj yeem siv ua PWM tawm), 6 analog inputs, 16 MHz quartz siv lead ua, txuas USB, txuas lub hwj chim, ICSP header thiab khawm rov pib dua.
3) RFID RC522 Reader nrog Tag: Muaj cov pheej yig RFID cov qauv uas tuaj yeem nyeem thiab sau Mifare cov cim npe thiab raug muag ntawm ntau lub vev xaib khw, zoo li eBay thiab suav nrog ntau "cov khoom siv pib" niaj hnub no. Tsuas yog tshawb nrhiav RFID-RC522 (MF-RC522). Lub microcontroller thiab daim npav nyeem ntawv siv SPI rau kev sib txuas lus (nti txhawb I2C thiab UART cov txheej txheem tab sis tsis tau ua tiav ntawm lub tsev qiv ntawv). Daim npav nyeem ntawv thiab cov cim npe sib tham siv 13.56MHz lub tshuab hluav taws xob.
Kauj Ruam 3: Daim Duab Circuit:
Circuit Diagram ntawm qhov haujlwm no tau muab rau saum toj no.
Koj yuav tsum txuas ethernet daim thaiv ua ntej raws li tau hais hauv daim duab saum toj no koj yuav tsum ua kom txuas rfid hauv qab no yog qhov txuas txuas rau arduino thiab rfid nyeem ntawv
RFID-RC522 Arduino UNO Arduino Mega
RST9 9
SDA (SS) 4/10 4/53
TIAB SA 11 51
TIAB SA 1250
SIB 13 52
VCC 3.3 v 3.3v
GND GND GND
IRQ tsis txuas nrog
Kauj ruam 4: Tsev qiv ntawv:
Koj yuav tsum teeb tsa ib lub tsev qiv ntawv rau rfid rc522. Koj tuaj yeem tau txais lub tsev qiv ntawv los ntawm qhov txuas no
Kauj ruam 5: Code
Koj tuaj yeem tau txais cov cai los ntawm qhov txuas github no
Kauj Ruam 6: Yees Duab:
Kev piav qhia tag nrho Txoj Haujlwm tau muab rau hauv cov vis dis aus saum toj no
Yog tias koj muaj kev tsis ntseeg txog txoj haujlwm no thov tawm lus rau peb hauv qab no. Thiab yog tias koj xav kawm paub ntau ntxiv txog kev teeb tsa kab ke koj tuaj yeem mus ntsib peb tus youtube channel
Thov mus saib thiab nyiam peb Facebook nplooj ntawv rau hloov tshiab tas li.
Ua tsaug & Ua tsaug, Embedotronics yees
Pom zoo:
Ua Cov Phiaj Xwm Zoo Los Ntawm Cov Ntaub Ntawv Nyob Arduino (thiab Txuag Cov Ntaub Ntawv rau Excel): 3 Cov Kauj Ruam
Ua Cov Phiaj Xwm Zoo Los Ntawm Cov Ntaub Ntawv Nyob Arduino (thiab Txuag Cov Ntaub Ntawv rau Excel): Peb txhua tus nyiam ua si nrog peb tus lej L … cov ntsiab lus tau ntxiv thiab nws tsis tshwj xeeb rau lub qhov muag. Arduino IDE cov phiaj xwm tsis
Txoj hauv kev zoo dua los Saib/Ntaub Ntawv Cov Ntaub Ntawv ntawm Cov Lus Qhia: 4 Cov Kauj Ruam
Txoj hauv kev zoo dua los Saib/Cov Ntaub Ntawv ntawm Kev Qhia: Tib neeg feem ntau suav nrog cov ntaub ntawv rau qhov haujlwm ntawm Instructables upload.Ua ntej qhov no yog software cov ntaub ntawv cov ntaub ntawv uas tej zaum tseem yuav yog lub plawv dhia ntawm kev qhia. Tab sis Instructables tsis muab txoj hauv kev rau tus nyeem yooj yim nyeem thiab tshuaj xyuas cov cai. (
Kev Tau Txais Cov Ntaub Ntawv thiab Cov Ntaub Ntawv Pom Kev Pom Zoo rau MotoStudent Fais Fab Sib Tw Tsheb kauj vab: 23 Kauj Ruam
Kev Tshawb Nrhiav Cov Ntaub Ntawv thiab Cov Ntaub Ntawv Pom Zoo rau MotoStudent Hluav Taws Xob Sib Tw Tsheb: Cov ntaub ntawv khaws cov ntaub ntawv yog cov khoom siv khoos phis tawj thiab software ua haujlwm ua ke txhawm rau sau cov ntaub ntawv los ntawm cov ntsuas sab nraud, khaws thiab ua nws tom qab kom nws tuaj yeem pom cov duab thiab txheeb xyuas, tso cai rau cov kws tsim txuj ci los ua
RAWS LI COV NTAUB NTAWV NTSEEG NTAWV NTAWV MUAJ NTAWV TSHUAJ NTAWV TSO CAI RAU RASPBERRY PI: 6 Kauj Ruam (nrog Duab)
RAWS LI COV NTAUB NTAWV NTAWV MUAJ NTAWV TSHUAJ NTXIV RAU RASPBERRY PI: Hauv qhov haujlwm no, peb yuav txuas peb ntawm Atlas Scientific's EZO sensors (pH, yaj cov pa thiab kub) mus rau Raspberry Pi 3B+. Hloov chaw ntawm txuas cov kab hluav taws xob mus rau Raspberry Pi, peb yuav siv Whitebox Labs Tentacle T3 daim ntaub thaiv. T
Kev Tuaj Koom Nrog Nrog Khaws Cov Ntaub Ntawv hauv Google Daim Ntawv Qhia Siv RFID thiab Arduino Ethernet Shield: 6 Cov Kauj Ruam
Kev Tuaj Koom Nrog Nrog Khaws Cov Ntaub Ntawv hauv Google Daim Ntawv Qhia Siv RFID thiab Arduino Ethernet Shield: Nyob Zoo Cov Neeg, Ntawm no peb los nrog txoj haujlwm zoo siab heev thiab yog li yuav xa cov ntaub ntawv rfid rau google daim ntawv qhia siv Arduino li cas. Hauv ntej peb yuav ua qhov kev tuaj koom raws rfid nyeem ntawv uas yuav txuag cov ntaub ntawv tuaj koom hauv lub sijhawm tiag tiag rau goog