Cov txheej txheem:

Yooj Yim RFID Scanner Roj Teeb Powered (MiFare, MFRC522, Oled, Lipo, TP4056): 5 Kauj Ruam
Yooj Yim RFID Scanner Roj Teeb Powered (MiFare, MFRC522, Oled, Lipo, TP4056): 5 Kauj Ruam

Video: Yooj Yim RFID Scanner Roj Teeb Powered (MiFare, MFRC522, Oled, Lipo, TP4056): 5 Kauj Ruam

Video: Yooj Yim RFID Scanner Roj Teeb Powered (MiFare, MFRC522, Oled, Lipo, TP4056): 5 Kauj Ruam
Video: Сумка для мобильного телефона из использованных джинсов 2024, Kaum ib hlis
Anonim
Image
Image

Hauv cov lus qhia no kuv qhia koj li cas kuv thiaj ua tau yooj yim RFID UID nyeem ntawv uas nyeem UID ntawm daim npav Mifare RFID.

Qhov kev zov me nyuam yog qhov yooj yim heev thiab ntawm lub khob cij rau ntawm tus nyeem ntawv tau ua sai. Tom qab ntawd kuv tau muab nws tso rau ntawm daim txiag ntoo thiab kuv tsim lub thawv rau nws.

Nws muaj lub roj teeb LiPo built-in.

Khoom siv

Kuv yuav cov khoom ntawm Aliexpress:

  • Oled npo (SPI)
  • MFRC522 RFID module
  • TP 4056 charger IC
  • Arduino pro mini 3.3V 328P
  • LiPo roj teeb

Kauj ruam 1: Kho vajtse

Kho vajtse
Kho vajtse
Kho vajtse
Kho vajtse

Tus nyeem ntawv tag nrho yog siv los ntawm 3.7V LiPo roj teeb. Nws qhov hluav taws xob tau pub rau hauv RAW tus pin ntawm Arduino thiab tus tswj hwm qhov ntsuas hluav taws xob ntawm Arduino Pro hloov pauv qhov hluav taws xob mus rau 3.3V rau Arduino thiab VCC-pin ntawm Arduino. Oled screen thiab RFID module txuas nrog VCC tus pin ntawm Arduino.

Raws li cov ntaub ntawv teev tseg, qhov ntsuas hluav taws xob ntawm Arduino yuav tsum tuaj yeem xa qhov siab tshaj 150 mA, uas yog txaus rau:

  • Arduino (45 mA)
  • Ua haujlwm siab (10 mA)
  • MFRC522 (26 mA)

Qhov hluav taws xob ntawm lub roj teeb tau ntsuas los ntawm Arduino thiab hloov pauv mus rau lub roj teeb feem pua.

Kuv tau siv tus poj niam lub taub hau taub hau rau txhua qhov khoom siv rau lub rooj sib txig sib luag.

Saib cov txheej txheem rau hauv Circuit Court, feem ntau yog piav qhia tus kheej. Qee cov lus hais:

  • Hloov tus tiv thaiv ntawm PROG ntawm TP4056 kom haum rau koj lub roj teeb, saib cov lus txuas. Them lub roj teeb hauv 1 teev, yog li ntawm 400mAh roj teeb, koj yuav tsum siv 3k resistor.
  • Qhov hluav taws xob ntawm lub roj teeb muaj qhov siab tshaj ntawm 4.2 V, uas siab dua qhov siab tshaj plaws ntawm 3.3V, yog li siv qhov faib hluav taws xob. Piv txwv tias qhov poob qis ntawm 0.3V, qhov tsawg kawg ntawm lub roj teeb hluav taws xob ntawm 3.6V xav tau.
  • Hauv qhov ua piv txwv dhau los, kuv tau nyeem lub xeev CHARGE thiab STD BY pins ntawm TP4056 ntawm cov tswv yim digital ntawm Arduino (txuas nrog ntawm 10K ohm resistor). Thaum qhov no ua tiav, Kuv xav qhia lub xeev them nyiaj los ntawm LEDs. Txawm li cas los xij, vim qee qhov ntws tam sim no los ntawm TP4056 mus rau Arduinos cov tswv yim digital, cov LEDs tsis kaw kiag li. Kuj tau ua qhov kev sib txuas ntawm Arduino thiab TP4056 tau ua rau qee qhov tsis paub txog tus cwj pwm ntawm TP4056. Yog li kuv tshem tawm cov kev sib txuas ntawm teh TP4056 thiab Arduino.

Kauj ruam 2: Cov ntaub ntawv kaw

Cov ntaub ntawv kaw
Cov ntaub ntawv kaw
Cov ntaub ntawv kaw
Cov ntaub ntawv kaw
Cov ntaub ntawv kaw
Cov ntaub ntawv kaw

Kuv tsim lub thawv ntim khoom hauv Fusion360. Cov ntaub ntawv STL yog nyob hauv kuv Thingiverse.

Kauj ruam 3: Software

Software
Software
Software
Software

Cov ntaub ntawv program nyob hauv kuv Github.

Qhov kev zov me nyuam yog qhov ncaj:

  • Pib tag nrho cov khoom
  • Ntsuas qhov hluav taws xob ntawm lub roj teeb ntawm qhov faib hluav taws xob, saib lub vev xaib no rau kev siv lub tshuab faib hluav taws xob faib ua ke.
  • Hloov qhov hluav taws xob mus rau feem pua thiab qhia qhov feem pua no. Piv txwv tias qhov ntsuas hluav taws xob poob ntawm 0.3V, lub roj teeb tsawg kawg ntawm 3.6V xav tau, yog li 3.6 V = 0% thiab 4.2V yog 100%.
  • Nyeem RFID thiab qeeb tus lej ntawm Oled screen.

Kuv tau teeb tsa Arduino ntawm FDTI programmer ntawm 3.3V

Kauj ruam 4: Sib dhos

Sib dhos
Sib dhos
Sib dhos
Sib dhos

Kuv ua raws Oled nrog qhib thiab kaw nws hauv qhov thaiv nrog cov kua nplaum kub. Tom qab ntawd glued MFRC522 hauv lub thawv ntawv thiab tso lub qhov hluav taws xob rau/tawm thiab lub micro USB txuas txuas.

Kauj Ruam 5: Them thiab Siv

Them thiab Siv
Them thiab Siv
Them thiab Siv
Them thiab Siv
Them thiab Siv
Them thiab Siv

Thaum them nyiaj, lub LED liab yog qhov tseeb. Thaum lub roj teeb puv lawm, lub ntsuab LED tau teeb.

Tom qab ntawd: hloov ntawm tus qauv thiab siv nws!

Pom zoo: