Cov txheej txheem:

SD Card Module Nrog Arduino: Yuav Ua Li Cas Nyeem/Sau Cov Ntaub Ntawv: 14 Kauj Ruam
SD Card Module Nrog Arduino: Yuav Ua Li Cas Nyeem/Sau Cov Ntaub Ntawv: 14 Kauj Ruam

Video: SD Card Module Nrog Arduino: Yuav Ua Li Cas Nyeem/Sau Cov Ntaub Ntawv: 14 Kauj Ruam

Video: SD Card Module Nrog Arduino: Yuav Ua Li Cas Nyeem/Sau Cov Ntaub Ntawv: 14 Kauj Ruam
Video: NOOBS PLAY CLASH ROYALE FROM START LIVE 2024, Hlis ntuj nqeg
Anonim
SD Card Module Nrog Arduino: Yuav Ua Li Cas Nyeem/Sau Cov Ntaub Ntawv
SD Card Module Nrog Arduino: Yuav Ua Li Cas Nyeem/Sau Cov Ntaub Ntawv

Txheej txheem cej luam

Khaws cov ntaub ntawv yog ib qho tseem ceeb tshaj plaws ntawm txhua qhov haujlwm. Muaj ntau txoj hauv kev khaws cov ntaub ntawv raws li hom ntaub ntawv thiab qhov loj me. SD thiab micro SD daim npav yog ib qho ntawm cov ua tau zoo tshaj plaws ntawm cov khoom siv khaws cia, uas tau siv hauv cov khoom siv xws li xov tooj ntawm tes, minicomputers thiab lwm yam Hauv qhov kev qhia no, koj yuav kawm paub siv SD thiab micro SD daim npav nrog Arduino. Thaum kawg, raws li txoj haujlwm yooj yim, koj yuav ntsuas qhov ntsuas kub ib puag ncig txhua teev thiab khaws cia rau ntawm daim npav SD.

Yam Koj Yuav Kawm

Yuav siv SD thiab micro SD daim npav li cas

Sau cov ntaub ntawv ntawm SD daim npav

Nyeem cov ntaub ntawv los ntawm SD daim npav

Kauj Ruam 1: SD thiab Micro SD Card Module Yog Dab Tsi?

Dab tsi yog SD thiab Micro SD Card Module?
Dab tsi yog SD thiab Micro SD Card Module?

Cov qauv SD thiab micro SD tso cai rau koj sib tham nrog daim npav nco thiab sau lossis nyeem cov ntaub ntawv ntawm lawv. Tus qauv cuam tshuam hauv SPI raws tu qauv.

Txhawm rau siv cov qauv no nrog Arduino koj xav tau lub tsev qiv ntawv SD. Lub tsev qiv ntawv no tau teeb tsa ntawm Arduino daim ntawv thov los ntawm lub neej ntawd.

Nco tseg

Cov khoos phis tawj no tsis tuaj yeem tuav lub cim xeeb muaj peev xwm siab. Feem ntau, qhov muaj peev xwm tshaj tawm tau tshaj plaws ntawm cov qauv no yog 2 GB rau SD daim npav, thiab 16 GB rau daim npav micro SD.

Kauj Ruam 2: Cov Cheeb Tsam Xav Tau

Yuav tsum tau Cheebtsam
Yuav tsum tau Cheebtsam

Kho vajtse Cheebtsam

Arduino UNO R3 *1

Micro SD TF Card Adapter Module *1

DS3231 I2C RTC Module *1

Txiv neej rau Poj niam jumper hlau *1

micro SD daim npav *1

Software Apps

Arduino IDE Cov

Kauj Ruam 3: Qhov Tseem Ceeb SD Module Library Commands

Tseem ceeb SD Module Cov Tsev Qiv Ntawv Cov Lus Qhia
Tseem ceeb SD Module Cov Tsev Qiv Ntawv Cov Lus Qhia

Cov lus piav qhia luv luv ntawm cov tswv yim SD tsev qiv ntawv cov lus txib tau muab rau hauv cov lus txuas.

*cov ntaub ntawv yog piv txwv los ntawm Chav Kawm Ntawv Koj tuaj yeem nrhiav cov ntaub ntawv ntau ntxiv txog SD lub tsev qiv ntawv ntawm no.

Kauj Ruam 4: Yuav Siv SD thiab Micro SD Card Nrog Arduino li cas?

Tswv yim

Tus qauv siv hauv qhov kev qhia no yog micro SD module, txawm li cas los xij, koj tuaj yeem siv cov cai thiab qhia rau SD modules ib yam.

Kauj ruam 5: Circuit Court

Circuit Court
Circuit Court
Circuit Court
Circuit Court

Siv cov qauv no yooj yim heev thiab nws cov teeb tsa zoo li daim duab.

Kauj ruam 6: Code

Sau cov ntaub ntawv ntawm SD daim npav nrog Arduino

Kauj Ruam 7: Qhov tshwm sim

Qhov tshwm sim
Qhov tshwm sim

Qhov tshwm sim ntawm kev ua tiav cov cai saum toj no

Kauj Ruam 8: Nyeem Cov Ntaub Ntawv

Nyeem cov ntaub ntawv los ntawm SD daim npav nrog Arduino

Kauj Ruam 9: Qhov tshwm sim

Qhov tshwm sim
Qhov tshwm sim

Qhov tshwm sim ntawm kev ua tiav cov cai saum toj no

Kauj Ruam 10: Txoj Haujlwm: Txuag Cov Ntaub Ntawv Kub ntawm MicroSD Siv DS3231 Module

Koj tuaj yeem pom DS3231 ntawm no. Ntxiv rau IC moos thiab daim ntawv qhia hnub, tus qauv no tseem muaj qhov ntsuas kub.

Kauj ruam 11: Circuit Court

Circuit Court
Circuit Court

Kauj ruam 12: Code

Code
Code

Txhawm rau ua haujlwm nrog DS3231 tus qauv, koj yuav tsum xub ntxiv lub tsev qiv ntawv (Sodaq_DS3231.h) rau Arduino daim ntawv thov.

Tom qab khaws qhov kub ntawm lub sijhawm sib txawv ntawm hnub, koj tuaj yeem kos cov ntaub ntawv no rau hauv Excel siv daim duab.

Kauj ruam 13: Kos ib daim duab hauv Excel:

Kos ib daim duab hauv Excel
Kos ib daim duab hauv Excel
Kos ib daim duab hauv Excel
Kos ib daim duab hauv Excel
Kos ib daim duab hauv Excel
Kos ib daim duab hauv Excel

Txhawm rau ua qhov no, ua raws cov theem no:

Txuas SD card rau koj lub PC.

Nkag mus rau Excel software thiab xaiv Los Ntawm Cov Ntawv Xaiv los ntawm cov ntaub ntawv qhov rai thiab xaiv cov ntawv los ntawm koj daim npav nco.

Kauj Ruam 14: Dab Tsi Ntxiv?

  • Tsim ib qho khoom siv nkag/tawm tswj. Siv RFID tus qauv thiab Arduino, txuag kev nkag thiab tawm sijhawm rau ntau tus neeg ntawm daim npav nco. (Xav txog daim npav RFID rau txhua tus neeg)
  • Zoo li peb FaceBook nplooj ntawv kom pom qhov haujlwm tshiab kawg thiab tseem txhawb peb pab neeg.

Pom zoo: