Cov txheej txheem:

Juuke - RFID Music Player rau Cov Laus thiab Cov Menyuam: 10 Kauj Ruam (nrog Duab)
Juuke - RFID Music Player rau Cov Laus thiab Cov Menyuam: 10 Kauj Ruam (nrog Duab)

Video: Juuke - RFID Music Player rau Cov Laus thiab Cov Menyuam: 10 Kauj Ruam (nrog Duab)

Video: Juuke - RFID Music Player rau Cov Laus thiab Cov Menyuam: 10 Kauj Ruam (nrog Duab)
Video: Juuke - An RFID Music Player 2024, Hlis ntuj nqeg
Anonim
Juuke - RFID Music Player rau Cov Laus thiab Cov Menyuam
Juuke - RFID Music Player rau Cov Laus thiab Cov Menyuam
Juuke - RFID Music Player rau Cov Laus thiab Cov Menyuam
Juuke - RFID Music Player rau Cov Laus thiab Cov Menyuam
Juuke - RFID Music Player rau Cov Laus thiab Cov Menyuam
Juuke - RFID Music Player rau Cov Laus thiab Cov Menyuam

Fusion 360 Cov Haujlwm »

Nov yog lub thawv Juuke. Lub thawv Juuke yog koj tus phooj ywg suab paj nruag, ua kom yooj yim li siv tau. Nws tshwj xeeb tshaj yog tsim los siv los ntawm cov neeg laus thiab menyuam yaus, tab sis tuaj yeem siv tau los ntawm txhua lub hnub nyoog. Qhov laj thawj peb tsim qhov no, yog vim kuv tus hluas nkauj tus niam pog. Nws hais rau kuv tias nws thiab nws pog nyob hauv chav ua noj, mloog nkauj, seev cev thiab luag. Tu siab, dhau xyoo dhau los, nws pog tau nyob hauv thiab tawm hauv tsev kho mob. Nyob rau nws hnub tsis zoo, txawm li cas los xij, suab paj nruag yog ib qho ntawm ob peb yam uas tseem ua rau nws luag ntxhi. Thiab cov neeg siv nkauj xws li CD players tsuas yog siv nyuaj rau nws xwb. Tias yog vim li cas peb tsim Juuke.

Lub Juuke Box ua haujlwm los ntawm kev siv daim npav RFID los ua nkauj tshwj xeeb los ntawm daim npav SD. Koj kuj tseem tuaj yeem ua cov nkauj tsis siv khawm ntsuab, lossis ua si thiab ncua nrog khawm liab.

Txoj hauv kev no, nws yog qhov yooj yim heev rau txhua tus los ua suab paj nruag.

Kauj ruam 1: Saib Video

Image
Image

Peb tau tsim ib daim vis dis aus qhia tias kuv ua nws li cas:)

Kauj Ruam 2: Sau Cov Khoom:

Peb tau txais txhua qhov ntawm AliExpress, thiab txuas mus rau cov ntu tau teev tseg hauv qab no:

Qhov:

Arduino UNO AliExpress & Amazon

DFPlayer Mini AliExpress & Amazon

Micro SD daim npav AliExpress & Amazon

Arduino UNO DIY Shield AliExpress & Amazon

RC522 - Yuav 2 kom paub tseeb, qee qhov ntawm lawv tuaj txog AliExpress & Amazon

RFID Daim Npav AliExpress & Amazon

AUX Stereo Jack AliExpress & Amazon

22 hli Momentary Push Button - 1 Liab thiab 1 ntsuab - 3-6V AliExpress

10K Potentiometer AliExpress & Amazon

Cov xov hlau AliExpress & Amazon

1K Resistor AliExpress & Amazon

Pin headers AliExpress & Amazon

Breadboard - Yeem AliExpress & Amazon

Jumper xov hlau - Yeem AliExpress & Amazon

5V fais fab mov -AliExpress & AmazonPower Jack - AliExpress & Amazon

Cov Cuab Yeej:

3D tshuab luam ntawv AliExpress & Amazon

Soldering Kit AliExpress & Amazon

Hlau Stripper AliExpress & Amazon

Kauj Ruam 3: Xeem Qhov

Xeem Qhov
Xeem Qhov
Xeem Qhov
Xeem Qhov
Xeem Qhov
Xeem Qhov

Kuv pom zoo txuas txhua yam, thiab sim yog tias txhua yam ua haujlwm ua ntej pib.

Txhawm rau ua qhov ntawd, Kuv tau siv lub khob cij thiab qee lub xov hlau txuas kom nrawm thiab yooj yim txheeb xyuas tias txhua yam ua haujlwm raws li lub hom phiaj xav tau. Kuv muaj qee qhov teeb meem nrog thawj RC522 tus qauv kuv yuav, nws tsuas yog tsis ua haujlwm txawm tias nws tuaj ncaj los ntawm lub hoobkas. Yog li kuv yuav tsum tau txais ib qho tshiab … Yog vim li cas kuv thiaj pom zoo kom tau 2 ntawm lawv, txoj kev ntawd koj paub tseeb tias yog koj tsoo ib qho ntawm lawv, koj muaj hmuv.

Txuas txhua yam raws li daim duab qhia chaw ntawm no (Txuas), lossis saib cov duab txuas nrog.

Nco ntsoov siv 1K resistor ntawm RX ntawm DFPlayer Mini thiab Arduino.

Txhawm rau txheeb xyuas yog tias daim npav nyeem ntawv ua haujlwm, koj tuaj yeem siv "Daim npav pov tseg" piv txwv kos duab los ntawm lub tsev qiv ntawv. (Saib cov kauj ruam 4)

Kauj Ruam 4: Txoj Cai - Ua Haujlwm Daim Npav

Txoj Cai - Programming Cov Ntawv
Txoj Cai - Programming Cov Ntawv

Txhawm rau kom nkag siab zoo dua ntawm txoj cai ua haujlwm li cas nrog DFPlayer mini, Kuv yuav sim piav qhia nws kom yooj yim li sai tau. DFPlayer mini ua haujlwm los ntawm kev ua nkauj los ntawm daim npav micro SD. Txhawm rau paub zaj nkauj twg los ua si, cov nkauj yuav tsum muab khaws cia ua tus lej rau SD daim npav. Zaj nkauj 1 yog khaws raws li “0001 - SONG NAME”, zaj nkauj 2 yog khaws ua “0002 - SONG NAME”, thiab lwm yam. Peb tuaj yeem sau tus lej mus rau daim npav RFID, yog li yog peb sau tus lej 2 rau ib daim npav thiab muab tso rau ntawm tus nyeem ntawv, Arduino yuav nyeem tus lej thiab hais rau DFPlayer mini, "ntaus nkauj zaj 2".

Tus lej peb sau rau hauv daim npav yuav tsum yog tus lej tib lub npe ntawm zaj nkauj peb khaws cia rau ntawm daim npav SD.

Yog tias koj xav kawm paub ntau ntxiv txog DFPlayer mini, mus saib nplooj ntawv no nrog ntau cov ntaub ntawv zoo

Tam sim no koj tuaj yeem qhib Arduino thiab xa cov cai rau daim npav program. Kuv tau faib txoj cai ua ob ntu. Ib qho rau kev tsim cov ntawv teev lus, thiab ib qho rau tus neeg ua si tiag. Hauv theem no, peb yuav pib los ntawm kev sau cov ntawv. Cov cai tau tshaj tawm rau GitHub, thiab ntxiv hauv qab no. Koj tseem yuav xav rub cov tsev qiv ntawv hauv qab no:

SWB 522

- DFRobotDFPlayerMini.h

Kuv tau sim piav qhia txoj cai nrog cov lus pom ntau li ntau tau, tab sis yog tias koj muaj lus nug, tsis txhob ntshai nug lawv hauv nqe lus hais tawm!

Tsis tas li, Kuv tsis yog tus kws tsim khoom zoo tab sis kuv xav ua ib tus, yog li yog tias koj pom ib qho ua yuam kev hauv txoj cai cov lus tawm tswv yim yuav zoo!

Txhawm rau xa cov cai rau Arduino, saib kab lus no. Txhawm rau ntxiv cov tsev qiv ntawv, saib kab ntawv no.

QAUV:

Tus programmer daim npav muaj ob hom, tsis siv neeg thiab phau ntawv.

Phau ntawv hom: Sau tus lej koj xav sau rau hauv daim npav. Ntaus tus lej, thiab nws yuav khaws nws.

Hom tsis siv neeg: Pib ntawm tus lej koj qhia hauv txoj cai, thiab nce nws 1 zaug txhua zaus koj tso daim npav rau.

YUAV UA LI CAS YUAV TSUM siv daim npav CARD:

Txuas Arduino Open Serial monitor (kaum sab xis saum toj) Sau "phau ntawv" rau phau ntawv hom thiab "pib" rau hom tsis siv neeg. (Saib saum toj no) Muab daim npav tso rau ntawm tus nyeem ntawv, thiab xyuas kom nws hais tias ua tiav.

Kauj Ruam 5: Txoj Cai: Player Hom

Thaum koj tau npaj cov ntawv teev lus, koj tuaj yeem tso tus lej suab paj nruag. Nov yog tus lej uas nyeem daim npav thiab ua nkauj nrog. Tus txheej txheem yog tib yam nkaus li rau daim npav programmer code. Rub tawm daim duab, thiab pib siv nws!

PS: TSEEM CEEB! Txhawm rau cuam tshuam qhov kev sib txuas lus hauv qhov chaw uas koj tuaj yeem pom qhov kev zov me nyuam ua dab tsi hauv cov ntawv saib xyuas, koj yuav tsum tawm tswv yim tawm "Serial.begin (115200); “. Tsuas yog ntxiv "//" ua ntej ntawm kab. Kuv muaj qee qhov teeb meem qhov twg txoj haujlwm yuav tsis ua haujlwm yog tias nws tau qhib. (Nws tau tos rau qhov txuas txuas ua ntej nws yuav pib)

Kauj ruam 6: Rub cov nkauj rau SD Card

Rub cov nkauj rau SD Card
Rub cov nkauj rau SD Card

Raws li tau hais yav tas los, koj yuav tsum muab cov nkauj hauv koj daim npav SD npe tshwj xeeb rau nws kom ua haujlwm. Txhua zaj nkauj yuav tsum pib nrog tus lej. Tus lej kuj yuav tsum yog 4 tus lej (1 yog 0001 piv txwv). Tom qab cov lej no, koj pub dawb ntxiv lub npe nkauj. Piv txwv li: “0035 - Frank Sinatra - Ya kuv mus rau lub hli”

Nws siv cov ntawv MP3 txheem, yog li nws yooj yim los theej lawv mus rau SD daim npav thiab hloov npe.

Kauj Ruam 7: Kuaj, Tom qab ntawd Solder

Kuaj, Tom qab ntawd Solder
Kuaj, Tom qab ntawd Solder
Test, Tom qab ntawd Solder
Test, Tom qab ntawd Solder
Kuaj, Tom qab ntawd Solder
Kuaj, Tom qab ntawd Solder

Thaum koj tau sim tias txhua yam ua haujlwm raws li lub hom phiaj xav tau, koj tuaj yeem pib siv cov khoom seem rau Arduino UNO daim ntaub thaiv.

Tsuas yog ua raws daim duab qhia hluav taws xob rau xov hlau. Nws yog qhov ntse los luam nws tawm, thiab siv tus cim xim los cim cov xov hlau uas koj tau siv rau. Kuv kuj pom zoo kom siv tus pin taub hau rau DFPlayer Mini yog li koj tsis ua rau nws puas tsuaj.

Kuv kuj tseem xav kom RC-522 Coj, vim nws tau qhia los ntawm kev luam tawm.

Kauj Ruam 8: Ua daim ntawv kaw

Ua daim ntawv kaw
Ua daim ntawv kaw
Ua daim ntawv kaw
Ua daim ntawv kaw
Ua daim ntawv kaw
Ua daim ntawv kaw

Hauv cov kauj ruam no kuv yuav qhia koj tias kuv tau ua qhov thaiv. Kuv tsim nws siv Fusion 360, thiab 3D luam tawm nws. Kuv kuj tau ua ib qho siv lub tshuab CNC, thiab qee cov plywood.

Yog tias koj tsis muaj lub tshuab luam ntawv 3d lossis tshuab CNC, tsis txhob txhawj! Nws kuj tseem tuaj yeem ua lub thawv ntawv tawm ntawm cov duab los qhia lossis siv lub npov qhov project

Koj tuaj yeem pom txhua cov ntaub ntawv ntawm no:

3D luam tawm:

STL: CULTS 3D | Ntau yam

FUSION 360: Ananords.com

Cov teeb tsa kuv siv rau 3D luam tawm nws yog:

Tus nqi: 15%

Txheej qhov siab: 0.2 hli

Kev txhawb nqa: YOG

Tsuas yog ntxig UNO thiab RC522 rau hauv tus pin ntawm 3D luam ntawv. Lawv yuav tsum haum snugly. Kuv pom zoo kom siv cov kua nplaum los tso rau hauv qhov chaw kom ruaj ntseg. Ua tib yam nrog lub suab nkaus. Rau cov nyees khawm, lub hwj chim thiab lub qhov (socket), siv cov txiv ntseej nrog.

Thaum koj ua tiav, tsuas yog khawm lub phaj hauv qab thiab "ntsej muag" ua ke.

Kauj Ruam 9: Ua Daim Npav

Ua Daim Npav
Ua Daim Npav

Pib nrog tus tsim. Kuv tau tsim cov qauv tsim hauv Adobe Spark, qhov uas kuv siv daim npav qhov ntev (85 mm x 54 mm) raws li qhov loj me

Kuv pom cov duab hauv google thiab coj lawv mus rau hauv Adobe Spark, teeb lub npe nkauj thiab tus kws kos duab, thiab ua tiav!

Txij li thaum kuv tsis muaj daim npav ID daim npav, kuv yuav tsum nrhiav lwm txoj hauv kev los ua cov ntawv luam ntawm daim npav. Kuv tau mus txoj kev yooj yim, thiab tsuas yog luam nws rau ntawm daim ntawv tom qab ntawd muab nws lo rau daim npav.

Koj tseem tuaj yeem siv tus cwj mem thiab sau ncaj qha rau ntawm daim npav.

Kauj ruam 10: Ua tiav

Tam sim no koj ua tiav!

Yog tias koj ua qhov haujlwm no, thov tshaj tawm qhov ua:)

Muaj lus nug? Tsuas yog nug, thiab kuv yuav sim teb lawv.

Txog kev hloov tshiab txog Juuke, sau npe rau tsab ntawv xov xwm!

Ua raws kuv ntawm Instagram txhawm rau hloov kho tshiab ntawm cov haujlwm yav tom ntej!

Koj li xyoob ntoo Instagram:

Tiv tauj kuv: [email protected]

••• Txhawb nqa kuv •••

Patreon:

Kev pub dawb:

Yuav kuv kas fes:

Pom zoo: