Cov txheej txheem:

Tsim Lub Suab Sib Txawv Los Ntawm Tsos Siv Tsuas Yog Arduino: 3 Kauj Ruam
Tsim Lub Suab Sib Txawv Los Ntawm Tsos Siv Tsuas Yog Arduino: 3 Kauj Ruam

Video: Tsim Lub Suab Sib Txawv Los Ntawm Tsos Siv Tsuas Yog Arduino: 3 Kauj Ruam

Video: Tsim Lub Suab Sib Txawv Los Ntawm Tsos Siv Tsuas Yog Arduino: 3 Kauj Ruam
Video: sib hlub tsis paub txoj hmoo - by pob tsua xyoo 2024, Hlis ntuj nqeg
Anonim
Tsim Lub Suab Sib Txawv Los Ntawm Tsos Siv Tsuas Yog Arduino
Tsim Lub Suab Sib Txawv Los Ntawm Tsos Siv Tsuas Yog Arduino

As-salamu alaykum!

Kuv xav tsim cov suab sib txawv xws li tsiaj txhu, ua kom zoo tshaj plaws & npauj npaim los ntawm cov yeeb yaj kiab hloov pauv. Ua ntej ntawd kuv tau saib "tus hacksmith" video txog kev ua lub kaus mom hlau. nrog arduino ua rau kuv muaj arduino nkaus xwb. Yog li kuv thiaj pib tshawb nrhiav hauv internet nrog qhov tsis xav tau coding, vim kuv tsis xav siv txoj hauv kev uas peb siv pitches.h cov ntaub ntawv rau cov suab tiam. Kuv xav muaj tus lej yooj yim uas kuv tuaj yeem nkag siab yooj yim. Yog li tom qab tshawb fawb ntau kuv pom ib qho thiab muab qhia rau hauv kuv li youtube channel. Yog kuv yuav hloov kho yav tom ntej xws li siv daim npav SD daim npav nrog arduino. Kuv tsis muaj tus qauv no tseem tab sis kuv yuav nws. Kuv vam tias daim vis dis aus no yuav qhia me ntsis.

Cia peb pib !!

Khoom siv

  • Arduino Uno nrog cable
  • Hais lus multimedia tham lossis hais lus yooj yim 5W
  • Alegator clips lossis 3mm nkaus
  • Thiab ua haujlwm pc lossis laptop
  • 10 k ohm resistor

Kauj Ruam 1: Tshooj Kho Vajtse

Kho vajtse Tshooj
Kho vajtse Tshooj
Kho vajtse Tshooj
Kho vajtse Tshooj
Kho vajtse Tshooj
Kho vajtse Tshooj
Kho vajtse Tshooj
Kho vajtse Tshooj

Daim duab kos Circuit tau muab txhua yam koj yuav tsum txuas rau txhua qhov khoom siv no.

Kauj ruam 2: Software Tshooj (chaws)

Software Tshooj (chaws)
Software Tshooj (chaws)
Software Tshooj (chaws)
Software Tshooj (chaws)
Software Tshooj (chaws)
Software Tshooj (chaws)

Yog li peb muaj lub tsev qiv ntawv lub npe "PCM" Peb YUAV TSUM TSHUAJ YUAV TSHUAJ LIBRARY FOLDER, uas nyob hauv "C: / PROGRAM FILES (X86) ARDUINO / LIBRARY"

Muab tshuaj txhuam nws tso rau hauv phau ntawv tais ceev tseg lossis lub npe luv "Muab Tshuaj Ntawm No" tsuas yog rub yooj yim & tso rau ntawd thiab koj tau ua tiav nrog tsev qiv ntawv.

Tam sim no koj muaj software encoder uas yog siv los hloov lub suab ib txwm ua cov lej uas yog lub hauv paus ntawm txhua yam ntawm cov khoos phis tawj no. Qhov txiaj ntsig yog tus lej ntawm 0-255 Tias yog vim li cas peb thiaj siv PWM tus pin#11.

Rau lub suab peb yuav tsum hloov kho nws me ntsis. Rau qhov no peb xav tau Audacity lossis lwm yam online audio converter software.

Peb yuav tsum hloov nws mus rau 8000khz

Lub suab yuav tsum yog MONO

Lub suab kaw qhov ntev yuav tsum tsis pub tshaj 4s

Export nws hauv Mp3 Hom

Tam sim no qhib Arduino IDE, mus rau Piv txwv> PCM> playback> qhib nws

Lossis kuv tau muab cov ntaub ntawv kos duab arduino tsuas yog qhib nws.

Tam sim no qhib Encoder Software los ntawm ob npaug nias thiab tab navigation yuav tshwm, tsuas yog mus rau lub nplaub tshev uas lub kaw lus kaw suab nyob thiab xaiv Desired one. Tam sim no qhib arduino IDE thiab hloov qhov txiaj ntsig uas twb muaj lawm los ntawm nias "Ctrl +A & Del" thiab tom qab ntawd nias Ctrl +V thiab koj tau ua tiav.

thiab tam sim no txaus siab rau koj cov txiv hmab txiv ntoo los ntawm nias lub pob uas yuav ua suab rau koj.

Txog lub suab tshiab koj yuav tsum rov ua cov txheej txheem no dua.

Thiab koj ua tiav:)

Kuv kuj tau muab qee qhov clip koj tuaj yeem siv tau

Pom zoo: