Cov txheej txheem:

NFC Sijhawm Xov Tooj Cua: 8 Kauj Ruam (nrog Duab)
NFC Sijhawm Xov Tooj Cua: 8 Kauj Ruam (nrog Duab)

Video: NFC Sijhawm Xov Tooj Cua: 8 Kauj Ruam (nrog Duab)

Video: NFC Sijhawm Xov Tooj Cua: 8 Kauj Ruam (nrog Duab)
Video: Технический разговор TUDev с профессором Борой Озкан - Финтех и будущее финансов 2024, Kaum ib hlis
Anonim
Image
Image
NFC Sijhawm Xov Tooj Cua
NFC Sijhawm Xov Tooj Cua

Hauv qhov haujlwm lab ntawm chav haujlwm ntawm tib neeg-centered ubiquitous xov xwm peb tau sib tw los tsim cov suab paj nruag niaj hnub uas hais txog kev tsim xov tooj cua ib txwm muaj. Lub sijhawm ua haujlwm yog ib semester.

Kauj Ruam 1: Thawj Qhov Kev sim

Txhawm rau kom tau txais kev paub nrog lub zog loj, Arduino lub platform nrog rau cov lus qhia, peb tau tsim tus qauv me me.

Peb txuas cov potentiometer mus rau Arduino thiab sau cov duab kos uas xa tus nqi ntawm cov potentiometer mus rau Raspberry. Ntawm Raspberry ib sab, tsab ntawv nab nab me tau txais cov ntaub ntawv thiab xa nws mus rau e-ink zaub.

Raws li peb tseem tab tom siv liab-dub version ntawm e-ink zaub, hloov kho cov duab siv 15 vib nas this, uas peb pom tias qeeb rau peb qhov xwm txheej cuam tshuam.

Kauj Ruam 2: NFC Tswj & Suab

Image
Image

Tom ntej no, peb txuas nrog RFID nyeem ntawv, thawj zaug rau Raspberry Pi, siv nws los ua kev tswj hwm.

Hauv tsab ntawv no, NFC tag tswj lub suab uas tau ua ntawm peb cov neeg hais lus.

Ib qho ntxiv, peb tau sim nrog cov ntaub ntawv sib txuas ntawm Raspberri Pis, ua ib qho piv txwv tswj hwm, tus tswv Raspberry, thiab ib qho piv txwv muab cov ntaub ntawv, tus qhev Raspberry.

Kauj Ruam 3: Tsav-Fader

Peb tau npaj ua ntej ntawm kev siv lub ntsuas ntsuas digital los qhia kev xaiv nkauj. Hmoov tsis zoo E-Paper cov ntxaij vab tshaus feem ntau muaj lub sijhawm rov ua haujlwm qeeb heev (1-15 vib nas this nyob ntawm qhov loj me thiab xim) uas ua rau nws siv tsis tau rau peb qhov xwm txheej. Txhawm rau tseem muaj kev cuam tshuam nrog dej thiab khaws cia cov qauv kev tsim qauv ib txwm muaj, peb txiav txim siab siv lub tshuab fader kom muaj lub cev liab liab txav mus rau ntawm lub vijtsam.

Vim yog lub sijhawm txwv thiab kev yooj yim peb tau xaiv tawm tsam tsim peb tus kheej cov kev daws teeb meem thiab hloov mus nrog lub tshuab fader uas peb tuaj yeem tswj tau los ntawm peb Arduino.

H-Choj yuav tsum tau txav lub cav mus rau ob qho kev qhia.

Kauj Ruam 4: Tsim Kho Vajtse Kawg

Tsim Kho Vaj Huam Sib Luag Kawg
Tsim Kho Vaj Huam Sib Luag Kawg
Tsim Kho Vaj Huam Sib Luag Kawg
Tsim Kho Vaj Huam Sib Luag Kawg

Txhawm rau tsim kho vajtse ntawm NFC xov tooj cua, koj yuav xav tau cov hauv qab no (lossis sib npaug) ntu:

  • 2x Ib Leeg-Tig Potentiometer, 10kΩ Kuj
  • 4x Lub Teeb Me Me
  • Generic USB + 3.5mm Hais Lus
  • Generic USB Soundcard
  • Arduino Ib
  • USB Hom-B rau Hom-A cable
  • 2.13 "E-Ink Zaub
  • 7.5 "E-Ink Zaub
  • 2x Vaj Huam Sib Luag Tsav Tsheb rau Cov Lus Qhia
  • RFID nyeem ntawv + Cim npe
  • 2x Raspberry Pi 3B+
  • 2x Generic 8GB (lossis siab dua) Micro-SD Card
  • Khawm
  • Generic 10kΩ Resistor
  • H-Choj L293D
  • 10kΩ Tsav-Fader
  • 2x Me Me Creadboard
  • Jumper Cables

Thaiv

Txhawm rau tsim NFC xov tooj cua, xaim txhua yam raws li daim duab fritzing.

Qhia

Vim tias ob qho kev qhia no xav tau tus cim tshwj xeeb ntawm Raspberry Pi, peb tau siv ob lub Raspberries. Txhawm rau ua kom muaj kev sib txuas lus sib txuas ncaj qha, ib qho ntawm Raspberries tsuas yog lub luag haujlwm rau kev tso tawm mus rau cov zaub loj (tus qhev Raspberry), thaum lwm tus yog lub luag haujlwm rau kev suav, tswj thiab cov duab me me (tus tswv Raspberry).

Rau qhov xaim xov tooj, peb tso siab rau cov ntaub ntawv ntawm Waveshare (cov duab me me, cov duab loj). Cias txuas cov zaub rau nws cov neeg tsav tsheb vaj huam sib luag ntawm nws lub txuas thiab xaim cov tsav tsheb vaj huam sib luag raws li Waveshare cov ntaub ntawv.

Suab

Cov hais lus tau siv dua USB thiab tau txais lawv cov tswv yim los ntawm 3.5mm audio input of the USB soundcard. Txuas ob lub cuab yeej rau tus tswv Raspberry.

Soldering

Rau kev ruaj khov dua, txuas txuas ntxiv peb tau siv lub cav, lub zog, lub qhov muag teeb thiab khawm rau lawv cov txuas txuas. Peb tau txwv tsis pub siv cov hlua txuas ntxiv kom nyob tau yooj yim dua nrog peb txoj kev tswj hwm cable.

Inter-Raspberry Kev Sib Tham

Txhawm rau tsim kev sib txuas ntawm Raspberries, peb siv lawv ua UART thiab txuas nrog lawv ntawm kev txuas txuas, siv lawv TX thiab RX pins.

Raspberry-Arduino Kev Sib Txuas

Txuas tus tswv Raspberry nrog Arduino hla qhov txuas txuas, siv USB.

Kauj ruam 5: Software

Txhawm rau teeb tsa software rau Raspberrys thiab Arduino thov ua raws li nyeem cov lus qhia ntawm github chaw cia khoom ntawm peb tes num.

Kauj Ruam 6: Tsim Rooj Plaub

Tsim Rooj Plaub
Tsim Rooj Plaub
Tsim Rooj Plaub
Tsim Rooj Plaub

Cov ntaub ntawv:

  • 8x Ntawv MDF Ntoo (300mm * 300mm * 3mm)
  • 2 Cov kua nplaum
  • 3x Ntoo bar (300mm * 20mm * 20mm)
  • 1 Ntawv Plexiglas (300mm * 300mm * 3mm)
  • 6x Ntoo ntsia hlau (20mm)

Txiav cov ntawv MDF raws li cov ntaub ntawv Adobe Illustrator. Yog tias koj xav ua koj tus kheej lub thawv txiav cov phiaj xwm mus ntawm no thiab ntxiv cov ntawv txiav rau cov khoom siv kho vajtse hauv Adobe Illustrator.

Koom nrog lub ntsej muag lub ntsej muag thiab tom qab kuaj ntsuas cov kua nplaum ua ke rau kev ruaj ntseg ntxiv. Peb tau tawm cov kua nplaum rau sab nraub qaum txhawm rau muab cov cuab yeej tom qab thiab debug qhov system.

Txiav cov ntoo tuav kom yaug kom haum rau hauv rooj plaub kab rov tav. Txiav qhov rau ntoo ntsia hlau nyob rau sab laug thiab sab xis ntawm rooj plaub. Ib lub bar yuav tsum mus tom qab cov zaub loj thiab khawm ua si/ncua, lwm qhov tom qab lub me me zaub ntxiv rau lub suab thiab nkauj potentiometers thiab qhov kawg rau tuav tus hais lus hauv rooj plaub.

Kauj Ruam 7: Ua ke Kho Vajtse thiab Cov Ntaub Ntawv

Ua ke Kho vajtse thiab Case
Ua ke Kho vajtse thiab Case
Ua ke Kho vajtse thiab Case
Ua ke Kho vajtse thiab Case
Ua ke Kho vajtse thiab Case
Ua ke Kho vajtse thiab Case
Ua ke Kho vajtse thiab Case
Ua ke Kho vajtse thiab Case

Cov ntaub ntawv:

  • 2-sided daim kab xev
  • Gaffa daim kab xev
  • Kub kua nplaum

Siv daim kab xev thiab kua nplaum txhawm rau txhawm rau txhim kho cov ntu ntawm lawv cov ntoo tuav. Tej zaum koj yuav tsum tau txiav tawm ib feem ntawm lub zog ntsuas kom haum rau lub pob qhov rooj tswj. Txhawm rau hla cov kab sab nraud zoo li cov hlua hluav taws xob peb txiav ob peb qhov rau sab nraum qab ntawm rooj plaub.

Kauj Ruam 8: Ua tiav Cov Khoom

Tiav Khoom
Tiav Khoom
Tiav Khoom
Tiav Khoom
Tiav Khoom
Tiav Khoom

Thaum txhua yam tau sib sau ua ke txaus siab rau koj lub xov tooj cua txias tshiab!

Pom zoo: