Cov txheej txheem:

Pheej Yig Tshaj Plaws Arduino Sd Card Module: 5 Kauj Ruam
Pheej Yig Tshaj Plaws Arduino Sd Card Module: 5 Kauj Ruam

Video: Pheej Yig Tshaj Plaws Arduino Sd Card Module: 5 Kauj Ruam

Video: Pheej Yig Tshaj Plaws Arduino Sd Card Module: 5 Kauj Ruam
Video: Yam khoom tseem ceeb muaj sia uas tus nqe pheej yig tshaj plaws 2024, Hlis ntuj nqeg
Anonim
Pheej Yig Tshaj Plaws Arduino Sd Card Module
Pheej Yig Tshaj Plaws Arduino Sd Card Module

Nqe lus piav qhia:

SD Card Module yog siv rau kev xa cov ntaub ntawv mus thiab los ntawm tus qauv sd daim npav. Tus pin tawm tau ncaj qha nrog Arduino thiab tseem tuaj yeem siv nrog lwm tus tswj hwm micro. Nws tso cai rau peb ntxiv kev khaws cia ntau thiab cov ntaub ntawv nkag rau peb qhov haujlwm.

SD Card ua haujlwm nkaus xwb ntawm 3.3V thiab ob lub zog thiab I/O qib yuav tsum tau ua kom haum. Cov qauv peb yuav siv tsuas yog tiv thaiv rau qib hloov pauv thiab feem ntau yog 3.3V tus tswj hwm rau lub zog thaum ua haujlwm los ntawm 5.0V tab sis hauv kuv qhov xwm txheej kuv tsuas yog siv 3.3v los ntawm arduino board.

Kauj Ruam 1: Kev Npaj Khoom

Kev Npaj Khoom
Kev Npaj Khoom
Kev Npaj Khoom
Kev Npaj Khoom
Kev Npaj Khoom
Kev Npaj Khoom

cov khoom xav tau los ua txoj haujlwm no yog:

1. Arduino Uno

2. USB Cable hom A rau B.

3. Daim npav Micro Sd

4. SD Card Adapter

5. Kuj (3.3k *3 + 2.2k *3)

6. lm117 (xaiv tau)

7. capacitor (1*10uf + 1*100nf) (100uf) (xaiv tau)

8-1n4007 Diode (xaiv tau)

9. txiv neej tus pin header

10.male jumper hlau

11. Breabord

12. xaim

13. PCB

Kauj Ruam 2: Kev Kho Vajtse:

Kev Kho Vajtse
Kev Kho Vajtse
Kev Kho Vajtse
Kev Kho Vajtse
Kev Kho Vajtse
Kev Kho Vajtse

Arduino UNO cov qauv:

Cov nplooj ntawv kho vajtse Arduino ntawm lub vev xaib raug cai qhia cov npe hauv qab no:

*TSI:

- Tus Pin 10: (SS) "Qhev Xaiv"

- Tus Pin 11: (MOSI) "Tus Xib Hwb Tawm Qhev Hauv"

- Tus Pin 12: (MISO) "Tus Xib Hwb Hauv Qhua""

- Tus Pin 13: (SCK) "Clock System"

Kev sib txuas rau SD Adapter:

10 (SS) to CSY

11 (MOSI) to PAB

12 (MISO) to UA

13 (SCK) to TZS

Gnd rau Gnd thiab 3.3v lossis (5v xaiv A) rau vcc

Tom qab ua tiav kev sib txuas Ntawm Breadbord, txuas Arduino rau lub hwj chim muab nrog USB cable.

Kauj Ruam 3: Ntxig Coding:

Ntxig Coding
Ntxig Coding
Ntxig Coding
Ntxig Coding
Ntxig Coding
Ntxig Coding

Koj tuaj yeem sim ua piv txwv hauv Arduino Library:

Qhib Arduino software

Nyem 'file'

Nrhiav qhov piv txwv

'Nyem' SD '

Xaiv 'ReadInfo'

Tsis txhob hnov qab hloov lub chipSelect to pin 10;

Kauj Ruam 4: Upload Source Code:

Upload qhov chaws Code
Upload qhov chaws Code
Upload qhov chaws Code
Upload qhov chaws Code
Upload qhov chaws Code
Upload qhov chaws Code

Rub tawm Source Code

Thiab Tua tawm lub Serial Monitor

Tsis txhob hnov qab xaiv qhov chaw nres nkoj zoo ntawm Arduino board

Arduino yuav tsum ua haujlwm zoo:)

Kauj Ruam 5: Kauj Ruam Ntxiv rau Shield:

Cov kauj ruam ntxiv rau daim ntaub thaiv
Cov kauj ruam ntxiv rau daim ntaub thaiv
Cov kauj ruam ntxiv rau daim ntaub thaiv
Cov kauj ruam ntxiv rau daim ntaub thaiv

Cov Kauj Ruam no yog rau soldering Lub Circuit mus rau pcb kom siv tau ntau dua

Kuv muab txoj haujlwm tivthaiv hauv cov haujlwm perticulaire no rau yav tom ntej Qhia, Koj tuaj yeem nrhiav kev ua haujlwm ntau ntxiv ntawm cov khoom siv kom yooj yim dua, kuv pom qee qhov nyuaj nrog cov pins headers kom haum rau arduino board, kuv yooj yim qhia yog muab tus pin headers nyob rau hauv ib txoj kev lawv tau ua tiav kev sib cuag nrog tus poj niam tus pin ntawm arduino kuaj qhov kev sib txuas tom qab ntawd muab qee cov kua nplaum nrog kua nplaum kub ploj mus

Nov yog qhov tsis txaus ntseeg rau kev kawm nkaus xwb

Nws yog qhov muaj txiaj ntsig dua thiab nyab xeeb dua los yuav daim npav micro sd daim npav nrog FETS ua hauv nws rau kev hloov qib thiab 3.3V tus tswj hwm rau lub zog thaum ua haujlwm los ntawm 5.0V.

Pom zoo: