Cov txheej txheem:

Arduino RFID UHF Nyeem Ntawv: 10 Kauj Ruam
Arduino RFID UHF Nyeem Ntawv: 10 Kauj Ruam

Video: Arduino RFID UHF Nyeem Ntawv: 10 Kauj Ruam

Video: Arduino RFID UHF Nyeem Ntawv: 10 Kauj Ruam
Video: UHF RFID reader module integrated with arduino board 2024, Kaum ib hlis
Anonim
Image
Image

Lub hom phiaj ntawm Cov Lus Qhia no yog los muab qhov yooj yim nkag siab piv txwv ntawm Microcontroller cuam tshuam nrog UHF RFID nyeem ntawv. Tus nyeem ntawv peb siv yog Thinkify TR-265. Kev ua qauv qhia muaj peb daim ntawv cim npe UHF txhua tus nrog tus lej cim. Txhua tus cim tshwj xeeb tau muab rau xim tshwj xeeb. Tus nyeem ntawv thiab Microcontroller tab tom sib tham nrog TTL. Thaum cov cim ntsuab tau nthuav tawm rau tus nyeem ntawv LEDs ntsuab yuav ci ntsuab. Kev sib txheeb zoo ib yam yuav tshwm sim nrog daim ntawv liab thiab xiav.

Kauj Ruam 1: Xav Tau Kho Vajtse:

1. TR-265 lossis TR-65 (No Enclosure) nrog lub kav hlau txais xov.

www. Thinkifyit.com

Muas ntawm AMAZON

2. Peb cim cim cim npe UHF

EMAIL: [email protected] rau kev yuav khoom

Siv Thinkify Gateway los ua haujlwm rau koj tus kheej

3. TR-265 RS232/TTL Kev Sib Txuas Lus.

EMAIL: [email protected] rau kev yuav khoom

4. Arduino UNO

5. NEOPIXEL

Amazon RGB LED

Kauj Ruam 2: Tham nrog TR265/65 Reader

Reprogramming Tags: Ntu 1
Reprogramming Tags: Ntu 1

Txuas TR265 (Nrog Case) lossis 65 (Tsis Muaj Case) rau koj lub PC Windows ntawm USB. Rub tawm TR265 thiab 65 Pib Pob thiab ua raws cov theem kom cov tsav tsheb ua haujlwm. Tom qab ntawd teeb tsa software ua qauv qhia (Thinkify Gateway) los ntawm daim nplaub tshev.

Kauj Ruam 3: Txheeb Cov Cim Cim: Ntu 1

Muab ib daim ntawv tso rau pem hauv ntej ntawm tus nyeem ntawv thiab tshem tawm lwm cov cim npe kom deb ntawm tus nyeem ntawv. Nco tseg: TR265 thiab 65 muaj qhov nyeem ntau txog 5 ko taw, yog li xyuas kom lwm cov cim npe tawm ntawm qhov ntau.

Kauj Ruam 4: Txheeb Cov Cim Cim: Ntu 2

Sau cov cim npe: Tshooj 2
Sau cov cim npe: Tshooj 2

Tua tawm Gateway Software rub tawm los ntawm Kauj Ruam 2. Tus nyeem ntawv yuav tsum nyob hauv COM Port ntawm 1-20. Thaum lub software tau pib, koj yuav pom lub pob uas hais tias Pib Nyeem Ntawv. Nyem rau lub pob thiab tag cov ntaub ntawv yuav pib tso tawm. Yuav tsum muaj tsuas yog ib daim ntawv tso tawm, yog tias muaj ntau cov cim npe tso tawm uas qhia tias lwm cov cim npe tseem nyob hauv kev nyeem ntau. Ob npaug nias rau Daim ID (EPC) thiab yuav tsum muaj cov ntawv liab uas tshwm nyob rau hauv qab kaum sab laug, qhov no txhais tau tias cov cim npe tau raug xaiv thiab tam sim no tau npaj los ua haujlwm.

Kauj Ruam 5: Txheeb Cov Cim Cim: Ntu 3

Sau cov cim npe: Tshooj 3
Sau cov cim npe: Tshooj 3

Nrog rau daim ntawv xaiv, nyem rau ntawm Programming tab nyob rau sab saum toj. Tom qab ntawd hauv kab lus nkag teb chaws ntawm EPC Txhawm rau Program ntxig tus lej hex ntawm yam koj xav kom xim ntsuab, liab lossis xiav yog. Hauv peb qhov piv txwv, ntsuab = AAAA1111, liab = AAAA2222 thiab xiav = AAAA3333. Koj tuaj yeem tso tus lej hex ntawm no koj xav tau tab sis yuav tsum hloov pauv Arduino code kom haum koj qhov kev hloov pauv. Yog tias koj siv tib qhov txiaj ntsig saum toj no, yuav tsis muaj qhov hloov pauv tsim nyog. Thaum koj tau txiav txim siab yam koj xav rov sau npe dua rau, nyem qhov program EPC khawm thiab koj yuav tsum tau txais kev ceeb toom nrog cov ntawv ua tiav. Rov ua qhov kev nce qib los ntawm Kauj Ruam 4 rau lwm ob xim ib yam.

Kauj Ruam 6: TR-265 BaudRate

TR-265 BaudRate
TR-265 BaudRate

TR-265 muaj lub chaw teeb tsa chaw teeb tsa ua ntej rau 115200. Peb yuav xav hloov qhov no mus rau 9600 txhawm rau kom Arduino sib txuas lus nrog nws. Qhib lub Thinkify Gateway thiab mus rau ntawm Command Line tab. Xa NB0 los teeb tsa Baudrate rau 9600 thiab tom qab ntawd xa BRS (Rov Pib Dua Tshiab). Qhov no yuav tso cai rau TR-265 tham ntawm 9600. Txhawm rau teeb nws rov qab rau 115200 xa NB4 ua raws nrog BRS.

Kauj Ruam 7: Hloov Los Ntawm USB rau Kev Sib Txuas Lus

Hloov ntawm USB mus rau Kev Sib Txuas Lus
Hloov ntawm USB mus rau Kev Sib Txuas Lus

TR265/65 tau ua tiav kev sib txuas lus dhau USB tam sim no, peb yuav hloov nws los sib txuas lus dhau Serial los tham nrog Arduino. Yog tias koj muaj TR265 (Nrog Cov Ntaub Ntawv) tshem tawm rooj plaub tawm. Xa mus rau daim duab txhawm rau teeb tsa cov neeg dhia dhia mus rau ntu (Tsuas yog rub lawv tawm thiab thawb lawv rau hauv qhov chaw).

Kauj ruam 8: Schematic

Schematic
Schematic

Siv cov txheej txheem saum toj no nqai tus hadware raws li qhia. Koj yuav xav tau ob lub USB txuas. Ib qho rau UNO thiab ib qho rau TR-265.

Kauj ruam 9: Upload Code rau Arduino

Rub tawm cov cai rau Arduino thiab khau raj tus nyeem ntawv thiab Arduino. Tshaj tawm cov cai rau Arduino, hloov pauv yog tias koj rov sau dua cov npe sib txawv EPC.

Kauj Ruam 10: Cia Hloov LED Xim

Cias txav cov cim npe ua ntej nyob ze tus kav hlau txais xov thiab LEDs yuav hloov xim kom phim cov xim uas cuam tshuam nrog cov khoom.

Pom zoo: