Cov txheej txheem:

Vowels Game Nrog Arduino thiab YX5300 MP3 Module Catalex: 13 Kauj Ruam
Vowels Game Nrog Arduino thiab YX5300 MP3 Module Catalex: 13 Kauj Ruam

Video: Vowels Game Nrog Arduino thiab YX5300 MP3 Module Catalex: 13 Kauj Ruam

Video: Vowels Game Nrog Arduino thiab YX5300 MP3 Module Catalex: 13 Kauj Ruam
Video: Flip Over Vowels 2024, Kaum ib hlis
Anonim
Vowels Game Nrog Arduino thiab YX5300 MP3 Module Catalex
Vowels Game Nrog Arduino thiab YX5300 MP3 Module Catalex

Koj puas tuaj yeem nyeem cov lus nug no? Qhov txawv Kuv nug lo lus nug no ntawm lub hom phiaj. Yog tias koj tuaj yeem nyeem cov ntawv no, nws yog vim koj paub tag nrho cov niam ntawv thiab, ntawm chav kawm, kawm paub txog txhua lub vowels.

Cov tsiaj ntawv muaj nyob hauv txhua lo lus. Nws tsis yooj yim sua kom dim ntawm lawv txhua tus. Tam sim no, cia kuv nug koj ib lo lus nug. Koj puas yog menyuam yaus kawm kev lom zem thiab koom nrog cov peev txheej thev naus laus zis?

Kuv paub tseeb tias cov peev txheej kawm tau tsawg thiab koj siv cov ntawv ib txwm los kawm cov tsiaj ntawv thiab cov tsiaj ntawv.

Tom qab tag nrho, nws puas tuaj yeem siv qee cov peev txheej thev naus laus zis los kawm cov tsiaj ntawv?

Hauv kab lus no, kuv yuav qhia koj yuav qhia koj li cas rau koj cov tub ntxhais kawm thiab cov menyuam yaus cov tsiaj ntawv vowels los ntawm kev ua si.

Kuv yuav qhia koj li cas los tsim lub kaw lus nrog lub suab, qhov twg koj tus menyuam/tub ntxhais kawm yuav hnov lub suab ntawm tsab ntawv thiab yuav tsum nias lub pob kom qhia qhov ntawv raug.

Yog li, lawv yuav kawm thaum ua si thiab yuav mob siab rau kawm.

Tam sim no, Kuv yuav qhia koj cov txheej txheem ib qib zuj zus rau koj los tsim koj tus kheej kev ua si, thiab qhia lub suab lus rau menyuam yaus.

Khoom siv

JLCPCB Luam Circuit Board

Arduino Ib

Pushbutton Hloov

10 kR Resistor

Txiv neej Header 2, 54mm 1x7

Kauj Ruam 1: Tsim Kev Ua Si ntawm Vowels Nrog Arduino

Tsim Kev Ua Si ntawm Vowels Nrog Arduino
Tsim Kev Ua Si ntawm Vowels Nrog Arduino

Lub plawv ntawm qhov kev ua si yog JLCPCB luam tawm Circuit board ntawm Vowels. Koj tuaj yeem nkag mus rau qhov txuas no thiab rub tawm cov phiaj xwm cov ntaub ntawv. Nws muaj 5 khawm. Koj yuav siv txhua lub pob los sawv cev rau tus vowel thiab txuas nws rau koj Arduino.

Lub rooj tsav xwm luam tawm tau qhia hauv daim duab 1.

Kauj ruam 2:

Duab
Duab

Nrog rau PCB Txoj Haujlwm no, koj tuaj yeem txuas nws nrog Arduino thiab tsim koj cov game. Tom ntej no, Kuv yuav muab cov phiaj xwm hluav taws xob rau koj los sib sau ua lossis tsim txoj haujlwm ntawm koj tus protoboard.

Kauj ruam 3:

Los ntawm cov txheej txheem no, peb teeb tsa cov txheej txheem ntawm lub rooj tsav xwm hluav taws xob. Nws tau qhia hauv daim duab 2 thiab koj tuaj yeem rub tawm cov ntawv thiab ua koj txoj haujlwm.

Xaiv 5 tus pin los ntawm Arduino thiab txuas cov dhia hauv pawg thawj coj nrog Arduino. Lossis lwm yam, koj tuaj yeem sau cov duab hluav taws xob hauv qab no.

Kauj Ruam 4: Lub Tswv Yim Tswv Yim

Txoj Haujlwm Lub Tswv Yim
Txoj Haujlwm Lub Tswv Yim

Kuv yuav qhia koj yuav ua li cas sib sau ua ke lub suab MP3 nrog Arduino. Lub kaw lus no yuav muaj lub luag haujlwm los tsim cov suab hais lus hauv tsab ntawv. Lub suab ntawm txhua tsab ntawv yuav raug kos siv tus nqi ntawm 1 txog 5, qhov twg 1 sawv cev rau A thiab 5 sawv cev rau U.

Yog li, thaum tus menyuam hnov lub suab, nws yuav tsum saib ntawm cov keyboard, paub txog qhov sau ntawm tus vowel, thiab nias tus yuam sij raug.

Yog tias nws ua tsis tiav, lub kaw lus yuav nyem lub LED liab 3 zaug. Txwv tsis pub, lub kaw lus yuav qhib lub suab nrov rau 5 vib nas this thiab kos lub suab tshiab.

Txhawm rau ua qhov no, koj yuav tsum sib sau ua cov kab hauv qab no.

Hauv Circuit no, koj yuav txuas MP3 Module thiab vowel board ntawm Arduino. Bluetooth module tau siv los sawv cev rau Catalex MP3 Module.

Arduino yuav yog lub luag haujlwm txheeb xyuas 5 tus lej thiab tom qab ntawd xa cov lus txib kom qhib lub vowel uas tau kos

Kauj ruam 5:

Duab
Duab

Tom qab ntawd, peb yuav tos kom tus menyuam hnov thiab nias lub pob, raws li qhia hauv daim duab saum toj no.

Txhua lub pob saum toj no sawv cev rau lub vowel ntawm cov tsiaj ntawv. Tom ntej no, Kuv yuav qhia koj yuav ua li cas koj yuav tsim cov txheej txheem kev xav rau txoj haujlwm no.

Kauj Ruam 6: Tsim Lub Game's Programming Logic

Tsim Game's Programming Logic
Tsim Game's Programming Logic

Cov kab lus vowel game yog raws li kev ua haujlwm ntawm YX5300 tus qauv. Cov qauv no muaj qee lub luag haujlwm, txawm li cas los xij, peb yuav tsom mus rau nthuav qhia cov qauv kev ua haujlwm los ntawm cov haujlwm tseem ceeb ntawm YX5300 tus qauv.

Hauv qab no kuv muab rau koj nrog txhua qhov laj thawj kev ua haujlwm ntawm txoj haujlwm.

Kauj ruam 7:

Hauv qab no, kuv yuav piav qhia ib qib zuj zus los tsim cov laj thawj ntawm qhov kev ua si lom zem no rau menyuam yaus.

#suav nrog

#define ARDUINO_RX 5 // yuav tsum txuas rau TX ntawm Serial MP3 Player module #define ARDUINO_TX 6 // txuas rau RX ntawm tus qauv SoftwareSerial mp3 (ARDUINO_RX, ARDUINO_TX); zoo li qub int8_t Send_buf [8] = {0}; // Tsis rau Xa cov lus txib. // ZOO TSHAJ LOCALLY zoo li qub uint8_t ansbuf [10] = {0}; // Tsis rau cov lus teb. // Zoo LOCALLY hlua mp3Answer; // Teb los ntawm MP3. String sanswer (tsis muaj dab tsi); Txoj hlua sbyte2hex (uint8_t b); / ************ Command byte **************************/ #define CMD_NEXT_SONG 0X01 // Ua si tom ntej nkauj. #define CMD_PREV_SONG 0X02 // Ua si nkauj dhau los. #define CMD_PLAY_W_INDEX 0X03 #define CMD_VOLUME_UP 0X04 #define CMD_VOLUME_DOWN 0X05 #define CMD_SET_VOLUME 0X06 #define CMD_SNG_CYCL_PLAY 0X08 // Ib Leeg Ua Si. #define CMD_SEL_DEV 0X09 #define CMD_SLEEP_MODE 0X0A #define CMD_WAKE_UP 0X0B #define CMD_RESET 0X0C #define CMD_PLAY 0X0D #define CMD_PAUSE 0X0E #define CMD_PLAY_DF0XC0_XC0_Play_XNUMXXC0_XP_XC0_XP_XC0_XP_XC0_XP_XP_XC0_XP_XL0_XC0_XP_XE0 #define CMD_FOLDER_CYCLE 0X17 #define CMD_SHUFFLE_PLAY 0x18 // #define CMD_SET_SNGL_CYCL 0X19 // Teeb ib zaug. #define CMD_SET_DAC 0X1A #define DAC_ON 0X00 #define DAC_OFF 0X01 #define CMD_PLAY_W_VOL 0X22 #define CMD_PLAYING_N 0x4C #define CMD_QUERY_STATUS 0x42 #define CMD_QUERY_VOLUME 0x43 #define CMD_QUERY_FLDR_TRACKS 0x4e #define CMD_QUERY_TOT_TRACKS 0x48 #define CMD_QUERY_FLDR_COUNT 0x4f / ********* *** Opitons ************************** / #define DEV_TF 0X02 / ************** ********************************************************** ****** *****/ int tus lej; byte estado; byte buzzer = 2; byte pin = 0; byte SortNumber = 0; bool khawm = 0; teeb tsa tsis muaj dab tsi () {Serial.begin (9600); mp3.begin (9600); ncua (500); rau (tus pin = 8; tus pin 13) {tus pin = 8; } Serial.println ("Varrendo …"); Serial.println (tus pin); // ncua (1000); } thaum (khawm! = 1); Serial.println ("Saiu …"); yog (khawm == 1 && (pin-1)! = sortNumber) {sendCommand (0x03, 0, 6); ncua (3000); } yog (khawm == 1 && (pin-1) == SortNumber) {sendCommand (0x03, 0, 7); ncua (3000); } // Txheeb xyuas cov lus teb. yog (mp3.available ()) {Serial.println (decodeMP3Answer ()); } ncua (100); //Serial.println("Tocando musica … "); } /******************************************************** ******************************** /**Function xaMP3Command: nrhiav qhov 'c' hais kom ua thiab xa mus rau MP3 * / /*Parameter: c. Code rau MP3 Command, 'h' rau kev pab. *// *Rov qab: tsis muaj dab tsi */ tsis muaj dab tsi xaMP3Command (char c) {hloov (c) {case '?': Case 'h': Serial.println ("HELP"); Serial.println ("p = Ua si"); Serial.println ("P = Pause"); Serial.println ("> = Tom ntej"); Serial.println ("': Serial.println (" Tom ntej "); sendCommand (CMD_NEXT_SONG); xaCommand (CMD_PLAYING_N); // nug tus lej ntawm cov ntawv ua si tawg; rooj plaub' nco daim npav tso. '; Tawg; rooj plaub 0x3D: decodedMP3Answer + = " -> Ua tiav num" + String (ansbuf [6], DEC); // sendCommand (CMD_NEXT_SONG); // sendCommand (CMD_PLAYING_N); // nug tus lej ntawm cov ntawv ua si tawg; rooj 0x40: decodedMP3Answer += " -> Yuam Kev"; tawg; rooj plaub 0x41: decodedMP3Answer += " -> Cov ntaub ntawv tau txais kom raug."; tawg; rooj plaub 0x42: decodedMP3Answer += " -> Cov xwm txheej ua si:" +String (ansbuf [6], DEC); tawg; rooj plaub 0x48: decodedMP3Answer + = " -> Cov ntaub ntawv suav:" + Txoj hlua (ansbuf [6], DEC); tawg; rooj plaub 0x4C: decodedMP3Answer + = " -> Ua Si:" + String (ansbuf [6], DEC); tawg; rooj plaub 0x4E: decodedMP3Answer + = " -> Cov ntaub ntawv tais ceev tseg:" + Cov hlua (ansbuf [6], DEC); tawg; rooj plaub 0x4F: decodedMP3Answer + = " -> Cov suav suav:" + String (ansbuf [6], DEC); tawg;} xa rov qab decodedMP3Answer;} /******************************************* ************ ********************************* / /*Muaj nuj nqi: Xa lus txib rau MP3* / /*Parameter: byte hais kom ua *// *Parameter: byte dat1 parameter rau qhov hais kom ua *// *Parameter: byte dat2 parameter rau qhov hais kom ua */ void sendCommand (byte command) {sendCommand (hais kom ua, 0, 0); } void sendCommand (byte hais kom ua, byte dat1, byte dat2) {ncua sijhawm (20); Send_buf [0] = 0x7E; // Send_buf [1] = 0xFF; // Send_buf [2] = 0x06; // Len Send_buf [3] = hais kom ua; // Send_buf [4] = 0x01; // 0x00 NO, 0x01 tawm tswv yim Send_buf [5] = dat1; // datah Send_buf [6] = dat2; // datal Send_buf [7] = 0xEF; // Serial.print ("Xa:"); rau (uint8_t i = 0; i <8; i ++) {mp3.write (Send_buf )); Serial.print (sbyte2hex (Send_buf [kuv])); } Serial.println (); } /******************************************************** ******************************** /**Muaj nuj nqi: sbyte2hex. Rov qab cov ntaub ntawv byte hauv hom HEX. * / /*Parameter:- uint8_t b. Byte los hloov ua HEX. *// *Rov qab: Txoj hlua */ Txoj hlua sbyte2hex (uint8_t b) {Txoj hlua shex; shex = "0X"; yog (b <16) shex += "0"; shex += Txoj hlua (b, HEX); txx += ""; rov qab shex; } /******************************************************** ******************************** /**Ua haujlwm: shex2int. Rov qab int los ntawm kab HEX. * / /*Parameter: s. char *s los hloov mus rau HEX. * / /*Parameter: n. char *qhov ntev. *// *Rov qab: int */ int shex2int (char *s, int n) {int r = 0; rau (int i = 0; i = '0' && s = 'A' && s <= 'F') {r *= 16; r + = (s [kuv] - 'A') + 10; }} rov r; } /******************************************************** ******************************** /**Muaj nuj nqi: sanswer. Rov qab lo lus teb los ntawm mp3 UART module. * / /*Parameter:- uint8_t b. tsis muaj dab tsi. * / /*Rov Qab: Txoj hlua. Yog cov lus teb tau zoo formated teb. */ String sanswer (tsis muaj dab tsi) {uint8_t i = 0; Txoj hlua mp3answer = ""; // Tau txais tsuas yog 10 Bytes thaum (mp3.available () && (i <10)) {uint8_t b = mp3.read (); ansbuf [kuv] = b; kuv ++; mp3answer += sbyte2hex (b); } // yog tias hom lus teb raug. yog ((ansbuf [0] == 0x7E) && (ansbuf [9] == 0xEF)) {rov mp3answer; } rov qab "???:" + mp3answer; }

Ua ntej, peb txhais txhua qhov kev hloov pauv ntawm qhov program thiab nkag mus rau npe chaw nyob ntawm YX5300 tus qauv.

#suav nrog

#define ARDUINO_RX 5 // yuav tsum txuas rau TX ntawm Serial MP3 Player module #define ARDUINO_TX 6 // txuas rau RX ntawm tus qauv SoftwareSerial mp3 (ARDUINO_RX, ARDUINO_TX); zoo li qub int8_t Send_buf [8] = {0}; // Tsis rau Xa cov lus txib. // ZOO TSHAJ LOCALLY zoo li qub uint8_t ansbuf [10] = {0}; // Tsis rau cov lus teb. // Zoo LOCALLY hlua mp3Answer; // Teb los ntawm MP3. String sanswer (tsis muaj dab tsi); Txoj hlua sbyte2hex (uint8_t b); / ************ Command byte **************************/ #define CMD_NEXT_SONG 0X01 // Ua si tom ntej nkauj. #define CMD_PREV_SONG 0X02 // Ua si nkauj dhau los. #define CMD_PLAY_W_INDEX 0X03 #define CMD_VOLUME_UP 0X04 #define CMD_VOLUME_DOWN 0X05 #define CMD_SET_VOLUME 0X06 #define CMD_SNG_CYCL_PLAY 0X08 // Ib Leeg Ua Si. #define CMD_SEL_DEV 0X09 #define CMD_SLEEP_MODE 0X0A #define CMD_WAKE_UP 0X0B #define CMD_RESET 0X0C #define CMD_PLAY 0X0D #define CMD_PAUSE 0X0E #define CMD_PLAY_DF0XC0_XC0_Play_XNUMXXC0_XP_XC0_XP_XC0_XP_XC0_XP_XP_XC0_XP_XL0_XC0_XP_XE0 #define CMD_FOLDER_CYCLE 0X17 #define CMD_SHUFFLE_PLAY 0x18 // #define CMD_SET_SNGL_CYCL 0X19 // Teeb ib zaug. #define CMD_SET_DAC 0X1A #define DAC_ON 0X00 #define DAC_OFF 0X01 #define CMD_PLAY_W_VOL 0X22 #define CMD_PLAYING_N 0x4C #define CMD_QUERY_STATUS 0x42 #define CMD_QUERY_VOLUME 0x43 #define CMD_QUERY_FLDR_TRACKS 0x4e #define CMD_QUERY_TOT_TRACKS 0x48 #define CMD_QUERY_FLDR_COUNT 0x4f / ********* *** Opitons ************************** / #define DEV_TF 0X02 / ************** ********************************************************** ****** *****/ int numero; byte estado; byte buzzer = 2; byte pin = 0; byte SortNumber = 0; bool khawm = 0;

Kauj ruam 8:

Cov npe chaw nyob no yog siv los teeb tsa tus qauv kev ua haujlwm. Piv txwv, saib qhov chaw sau npe hauv qab no.

#txhais CMD_PLAY_W_INDEX 0X03

Chaw nyob 0x03 tau hais nrog lub npe CMD_PLAY_W_INDEX. Nws tau siv los ua ib zaj nkauj los ntawm nws tus lej, uas yog, koj nkag mus rau tus lej ntawm lub suab thiab nws yuav raug ntaus.

Nws yuav nrog cov txiaj ntsig no uas peb yuav siv lawv thiab teeb tsa kev ua haujlwm ntawm peb tes num.

Tom qab koj tau piav qhia ntau qhov chaw nyob uas yuav siv, peb yuav nkag mus rau teeb tsa kev teeb tsa thiab teeb tsa tus pin thiab kev sib txuas lus txuas rau peb qhov haujlwm.

Kauj Ruam 9: Lub Void Setup () Function

Tom ntej no, pom qhov tsis muaj teeb tsa teeb tsa ua haujlwm. Kuv tau ua txhua qhov teeb tsa ntawm lub khawm khawm, kev sib txuas lus ntawm MP3 module, thiab kev pib ua daim npav hauv MP3.

void teeb tsa ()

{Serial.begin (9600); mp3.begin (9600); ncua (500); rau (tus pin = 8; tus pin <13; tus pin ++) {pinMode (tus pin, INPUT); } sendCommand (CMD_SEL_DEV, 0, DEV_TF); ncua (500); }

Kuv pib qhov kev sib txuas lus txuas mus luam tawm cov ntaub ntawv ntawm lub khoos phis tawj cov ntawv xov xwm thiab tom qab ntawd peb pib qhov kev sib txuas lus txuas mus los ntawm qhov khoom mp3.

Serial.begin (9600);

mp3.begin (9600); ncua (500);

Lub mp3 module yog tswj los ntawm cov lus txib tau txais los ntawm Arduino cov ntawv. Hauv cov txheej txheem no, peb siv SoftwareSerial lub tsev qiv ntawv thiab ua raws kab lus ntawm Arduino cov lej digital.

Yog li, koj yuav tuaj yeem siv Arduino los tswj lub MP3 module los ntawm cov lus txib xa mus rau nws.

Ib qho ntxiv, peb tau teeb tsa lub koob ntawm cov lej digital thiab pib ua haujlwm ntawm MP3 Card module

rau (tus pin = 8; tus pin <13; tus pin ++) {pinMode (tus pin, INPUT); } sendCommand (CMD_SEL_DEV, 0, DEV_TF); ncua (500);

Tom qab ua qhov teeb tsa, peb yuav tsum mus rau lub laj thawj tseem ceeb hauv qhov tsis muaj dab tsi ua haujlwm.

Kauj Ruam 10: Lub luag haujlwm tseem ceeb Void Loop ()

Cov cai yog qhov yooj yim heev thiab tag nrho cov qauv muaj tswv yim tau nthuav tawm hauv qab no. Hauv qab no, kuv yuav piav qhia rau koj ua tiav logic ntawm lub luag haujlwm tseem ceeb.

void lub voj ()

{pin = 8; randomSeed (analogRead (A0)); numero = random (8, 12); SortNumber = tooj; numero = numero - 7; Serial.println (tus lej); sendCommand (0x03, 0, numero); ncua (1000); ua {khawm = digitalRead (tus pin); Serial.println (khawm); tus pin ++; yog (tus pin> 13) {tus pin = 8; } Serial.println ("Varrendo …"); Serial.println (tus pin); // ncua (1000); } thaum (khawm! = 1); Serial.println ("Saiu …"); yog (khawm == 1 && (pin-1)! = sortNumber) {sendCommand (0x03, 0, 6); ncua (3000); } yog (khawm == 1 && (pin-1) == SortNumber) {sendCommand (0x03, 0, 7); ncua (3000); } // Txheeb xyuas cov lus teb. yog (mp3.available ()) {Serial.println (decodeMP3Answer ()); } ncua (100); //Serial.println("Tocando musica … "); }

Ntawm txhua qhov pib ntawm lub voj kev ua haujlwm, peb yuav tsim tus nqi tshiab ntawm 8 thiab 12 los tsim lub suab ntawm tus vowel. Tus nqi ntawm 8 txog 12 hais txog tus lej digital ntawm tus vowel.

Cov cai rau kev tsim tus lej tsis raug yog qhia hauv qab no.

pin = 8;

randomSeed (analogRead (A0)); numero = random (8, 12); SortNumber = tooj;

Ib qho ntxiv, peb rho 7 los ntawm tus lej kos ntawm 8 thiab 12. Qhov no yuav tso cai rau peb taw tes rau txoj haujlwm ntawm 1 txog 5 ntawm cov nkauj kaw rau ntawm daim npav nco.

numero = numero - 7;

Tom qab ntawd, Kuv rov tsim dua lub suab ntawm lub vowel kos ntawm kab hauv qab no.

sendCommand (0x03, 0, numero);

ncua (1000);

Tam sim no lub sijhawm tseem ceeb tau los txog: lub sijhawm uas peb yuav mus nyeem lub pob nyem los ntawm tus menyuam. Tshooj cai tau nthuav tawm hauv qab no.

ua

{khawm = digitalRead (tus pin); Serial.println (khawm); tus pin ++; yog (tus pin> 13) {tus pin = 8; } Serial.println ("Varrendo …"); Serial.println (tus pin); // ncua (1000); } thaum (khawm! = 1);

Lub voj no yuav ua tiav kom txog thaum tus neeg siv nias lub pob. Lub voj tso cai rau koj luam theej duab 5 tus lej digital thiab lub sijhawm tus menyuam nias ib lub khawm, nws yuav tawm ntawm lub voj thiab tshawb xyuas yog tias tus menyuam tau teb raug lawm.

Koj yuav ua qhov pov thawj siv tus lej hauv qab no.

yog (khawm == 1 && (pin-1)! = SortNumber)

{xaCommand (0x03, 0, 6); ncua (3000); } yog (khawm == 1 && (pin-1) == SortNumber) {sendCommand (0x03, 0, 7); ncua (3000); }

Thawj qhov xwm txheej yuav raug ua tiav thaum tus neeg siv ua yuam kev vim tias lub pob tau raug nias thiab qhov txiaj ntsig ntawm tus lej tau txawv ntawm tus pin kos (SortNumber).

Txij ntawm no mus, koj yuav tsum ua cov lus txib hauv qab no.

sendCommand (0x03, 0, 6);

ncua (3000);

Cov lus txib no yog siv los ua kom lub suab tsis raug. Thaum kawg, peb muaj qhov xwm txheej thib ob uas yuav siv los tshuaj xyuas seb tus menyuam puas raug.

yog (khawm == 1 && (pin-1) == SortNumber)

{xaCommand (0x03, 0, 7); ncua (3000); }

Kauj ruam 11:

Duab
Duab

Yog tias lub pob tau nyem thiab tus lej digital uas tau nias yog zoo ib yam li tus pin kos, lub kaw lus yuav ua kom lub suab teb raug.

Raws li kuv piav qhia rau koj, cov cai no yooj yim heev thiab yuav pab txhua tus menyuam txhim kho lawv txoj kev paub ntawm vowels los ntawm kev ua si nrog Arduino.

Hauv daim duab saum toj no lub thawv suab tau ua tiav zaj nkauj khaws tseg hauv SD Card ntawm MP3 Module YX5300.

Kauj Ruam 12: Xaus

Kev kawm hauv chav kawm yuav tsum tau hloov pauv tas li thiab Arduino tuaj yeem yog phooj ywg zoo hauv kev tsim cov haujlwm lom zem.

Los ntawm txoj haujlwm no, nws muaj peev xwm txhim kho cov haujlwm yooj yim uas tuaj yeem txhim kho menyuam yaus txoj kev txawj los ntawm kev paub txog lub suab thiab sau ntawv ntawm txhua tus vowel.

Tsis zoo li txoj kev qhia ib txwm muaj, cov menyuam yuav kawm los ntawm kev lom zem hauv chav kawm los ntawm kev ua si thiab khoom siv hluav taws xob.

Kauj Ruam 13: Kev lees paub

Txoj haujlwm no tau tsim los ua tsaug rau kev txhawb nqa thiab txhawb nqa ntawm lub tuam txhab JLCPCB. Lawv txhawb kev kawm thiab caw peb los txhim kho kev ua si ntawm vowels rau kev qhia menyuam yaus hauv chav kawm.

Yog tias koj xav yuav daim phiaj hluav taws xob ntawm Game of Vowels, koj tuaj yeem nkag mus rau qhov txuas no thiab yuav 10 chav rau $ 2 ntawm JLCPCB.

Pom zoo: