Cov txheej txheem:

Dab tsi? Music Player Tsis Muaj Tus Hais Xov Tooj!?: 9 Kauj Ruam
Dab tsi? Music Player Tsis Muaj Tus Hais Xov Tooj!?: 9 Kauj Ruam

Video: Dab tsi? Music Player Tsis Muaj Tus Hais Xov Tooj!?: 9 Kauj Ruam

Video: Dab tsi? Music Player Tsis Muaj Tus Hais Xov Tooj!?: 9 Kauj Ruam
Video: Zaj dub - xaiv tsis tau los ua koj tug -nkauj tawm tshiab 2022 2024, Hlis ntuj nqeg
Anonim
Image
Image
Dab tsi? Music Player Tsis Muaj Tus Hais Xov Tooj!?
Dab tsi? Music Player Tsis Muaj Tus Hais Xov Tooj!?

Kuv xav tsis thoob txog cov hais lus 'xov tooj ….

tab sis kuv tuaj yeem tshem tag nrho cov xov hlau thiab khaws chav nyob li cas

huv si thiab tsis muaj xaim tab sis nrog nkauj lom zem.

lwm qhov yog kuv tsis xav tso daim npav SD qub

thiab PI ZERO qub (s) kom pov tseg rau hauv.

Kauj Ruam 1: Tiv Thaiv Nrog UNO

Protype Nrog UNO
Protype Nrog UNO
Protype Nrog UNO
Protype Nrog UNO

Kauj Ruam 2: Txo Nws Nrog Nano

Txo Nws Nrog Nano
Txo Nws Nrog Nano

Kauj Ruam 3: Tiav Nrog Nano

Tiav Nrog Nano
Tiav Nrog Nano
Tiav Nrog Nano
Tiav Nrog Nano

1) sau qee cov nkauj hauv SD-card.

2) siv nws thiab ua si.

ps: Kuv muab SD daim npav tawg khoom thiab nano rov qab-rau-rov qab!

Kauj Ruam 4: Tshem Tus Hais Lus thiab Hlau

Tshem Tus Hais Lus thiab Hlau
Tshem Tus Hais Lus thiab Hlau

tab sis li cas?

yam koj xav tau yog tso arduino tseg.

Kauj Ruam 5: Sib Koom Nws thiab Rov Tsim Kho Nws

Sib Koom Nws thiab Rov Tsim Kho Nws
Sib Koom Nws thiab Rov Tsim Kho Nws
Sib Koom Nws thiab Rov Tsim Kho Nws
Sib Koom Nws thiab Rov Tsim Kho Nws

1) Tshem tawm txhua yam, ntxiv rau daim npav 1GB SD qub

2) ntxig nws rau hauv daim npav nyeem ntawv

3) FORMAT daim npav SD no.

4) rub lub meCore OS rau hauv koj lub computer.

5) sau qhov me meCore OS rau nws.

6) ntxig nws rau hauv lub qub pi xoom.

7) khau raj nws thiab teeb tsa.

ps: qhov me meCore OS yuav tshwm sim tsawg dua 65 MB ntawm SD daim npav.

Kauj Ruam 6: Tus TinyCore Zoo Li Cas

TinyCore Zoo Li Cas
TinyCore Zoo Li Cas

Dab tsi yog Tiny Core? Ua ntej, yog tias koj tsis paub Linux thiab kev faib khoom yog dab tsi, koj yuav tsum nyeem qee qhov nthuav thiab

cov lus tsis sib haum ntawm Linux.

Tom qab ntawd, nyeem txog kev faib khoom. Hauv ntej, Tiny Core

kev faib tawm zoo li kev hloov kho ntawm Linux kernel thiab lwm yam cuab yeej.

download tau nws ntawm no:

small_Core_linux

yuav ua li cas rau nruab nws (Tiny Core)?

yuav ua li cas rau nruab Tiny Core

Kauj ruam 7: Download Pifm

Download tau Pifm
Download tau Pifm

1) rub tawm pifm los ntawm GITHUB.

2) siv g ++ los sau pifm.c rau koj qhov xoom.

g ++ -O3 -o pifm pifm.c

3) tom qab ntawd koj tuaj yeem tso xov hlau ntawm GPIO4 ua tus kav hlau txais xov!

4) tau txais suab paj nruag los ntawm txhua qhov chaw tsis muaj xov tooj suav nrog mobile.

ex: sudo./pifm sound.wav 87.5 22050

tom qab ntawd siv RADIO

lossis xov tooj ntawm tes tig mus rau 87.5MHz tuaj yeem hnov lub suab tso suab.wav

Kauj Ruam 8: Xeem Khiav

Image
Image
Kuaj Khiav
Kuaj Khiav

ps: GPIO4 yog board.pin7, thiab cov ntaub ntawv yuav tsum yog 16 khoom hauv 22K hom ntawv.

Kuv sau ntau cov lus txib rau hauv pi0fm.c

thiab siv gcc los sau cov pi0fm.c rau hauv qhov ua tiav, uas suav nrog ex:

system ("sudo./pi2fm 001.wav 87.5 22050");

system ("sudo./pi2fm 002.wav 87.5 22050");

system ("sudo./pi2fm 003.wav 87.5 22050");

system ("sudo./pi2fm 004.wav 87.5 22050");

system ("sudo./pi2fm 005.wav 87.5 22050");

…. thiab ntxiv rau.

Muaj kev lom zem!

Kauj ruam 9: Ua tau

Image
Image

Muaj kev lom zem!

Pom zoo: