Cov txheej txheem:
- Kauj Ruam 1: Txuas Keypad rau Arduino
- Kauj Ruam 2: Txuas cov LED rau Arduino
- Kauj ruam 3: Khiav Code
Video: Tic Tac Toe W/ Ua & Keypad: 3 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:30
Hauv txoj haujlwm no, peb yuav tsim Tic-Tac-Toe game siv Arduino Uno thiab cov keyboard
Qhov kev ua si yuav tso cai rau koj ua si Tic-Tac-Toe, thiab tom qab ntawd LED coj mus rau tus yeej yuav teeb.
Cov Ntaub Ntawv Xav Tau:
- 1 - Arduino Uno
- 1 - Keypad
- 13 - Cov xov hlau
- 2 - 220 Ohm resistors
- 2 - LED teeb
- Ua Software
Kauj Ruam 1: Txuas Keypad rau Arduino
Txuas tus Keypad rau Arduino. Peb yuav siv tus pin 2-9.
- Txuas tus pin raws li qhia hauv daim duab saum toj no.
- Nrog lub ntsej muag lub ntsej muag, koj yuav tsum txuas tus pin sab laug deb ntawm cov keyboard rau tus pin 9.
- Tom qab ntawd, txuas mus rau sab xis thiab txuas lawv txhawm rau nqis Arduino mus rau tus pin 2
Kauj Ruam 2: Txuas cov LED rau Arduino
Peb yuav txuas 2 LED's rau Arduino los qhia seb leej twg yog tus yeej.
1. Muab 2 LED tso rau hauv daim ntawv tais.
2. Txuas 220Ohm resistor los ntawm Anode ntawm Blue LED (sab ntev) mus rau tus pin 11 ntawm Arduino
3. Txuas 220Ohm resistor los ntawm Anode ntawm Liab LED (sab ntev) mus rau tus pin 11 ntawm Arduino
4. Txuas ib lub xaim los ntawm cathode ntawm Blue LED (sab luv dua) mus rau hauv av tsheb nqaj hlau ntawm lub khob cij
5. Txuas ib lub xaim los ntawm cathode ntawm Red LED (sab luv) mus rau hauv av tsheb nqaj hlau ntawm lub khob cij
6. Txuas cov tsheb nqaj hlau hauv av rau tus pin hauv av ntawm Arduino
Kauj ruam 3: Khiav Code
Rub tawm thiab khiav 2 cov ntaub ntawv muab nrog qhov kev qhia no
Koj tuaj yeem rub tawm Kev Ua Haujlwm ntawm processing.org
1. Khiav Tic_Tac_Toe.ino cov ntaub ntawv hauv Arduino IDE
2. Khiav Tic_Tac_Toe.pde cov ntaub ntawv hauv Kev Ua
3. Siv cov keyboard los ua si Tic-Tac-Toe!
Pom zoo:
Python Tic Tac Toe Game: 4 Kauj Ruam
Python Tic Tac Toe Game: nab nab tic tac ntiv taw kev ua si qhov kev ua si no yog tsim los ntawm nab nab uas yog lub khoos phis tawj siv kuv tau siv tus kws kho mob nab nab hu ua: pycharm koj kuj tseem tuaj yeem siv tus nab npawb sej code editor ib yam nkaus
Arduino Touch Tic Tac Toe Game: 6 Kauj Ruam (nrog Duab)
Arduino Touch Tic Tac Toe Game: Nyob zoo cov phooj ywg zoo siab txais tos rau lwm qhov kev qhia Arduino! Hauv qhov kev qhia ntxaws no peb tab tom tsim Arduino Tic Tac Toe game. Raws li koj tuaj yeem pom, peb tab tom siv lub vijtsam kov thiab peb tabtom tawm tsam lub computer. Qhov kev ua si yooj yim zoo li Tic Tac Toe yog
Electronic Tic-Tac-Toe Game in a Wood Box: 5 Kauj Ruam
Electronic Tic-Tac-Toe Game in a Wood Box: Nyob zoo Kuv qhia qhov kev lom zem Tic-Tac-Toe game hauv kev tshaj tawm tshiab.Kuv tshawb xyuas lub vev xaib rau qhov haujlwm zoo sib xws, tab sis lub tswv yim ntawm no yog qhov tshwj xeeb
Tic Tac Toe: 12 Kauj Ruam
Tic Tac Toe: Hnub no peb yuav ua Tic Tac Toe game ntawm TinkerCad siv Arduino. Peb tab tom yuav siv ntau yam yooj yim thiab siv cov cai los khi lawv txhua tus ua ke. Lub hauv paus tseem ceeb ntawm cov kab ke no uas coj txhua qhov no ua ke yog cov cai. Qhov program no
Microbit Tic Tac Toe Game: 4 Kauj Ruam (nrog Duab)
Microbit Tic Tac Toe Game: Rau qhov haujlwm no, kuv tus neeg ua haujlwm ua haujlwm - @descartez thiab kuv tau tsim qhov txaus ntshai tic tac ntiv taw kev ua si siv xov tooj cua ua haujlwm ntawm microbits. Yog tias koj tsis tau hnov txog microbits ua ntej, lawv yog qhov txaus microcontroller tsim los qhia cov menyuam txoj haujlwm. Lawv