Cov txheej txheem:

Hnab Chess: 4 Kauj Ruam
Hnab Chess: 4 Kauj Ruam

Video: Hnab Chess: 4 Kauj Ruam

Video: Hnab Chess: 4 Kauj Ruam
Video: Plab Plab Ntswg..(Pluav Pluav Ntswg) Maiv Twm New Song 2023-2024 2024, Hlis ntuj nqeg
Anonim
Hnab tshos Chess
Hnab tshos Chess

Nws yog chess! Hauv koj lub hnab ris.

Txoj haujlwm no lub hom phiaj los tsim cov cuab yeej me me uas tuaj yeem ua si me me xws li nab, pac-man, tetris thiab txawm tias chess.

Khoom siv

- 1.3 128x64 OLED duab duab

- Arduino Pro Mini (Koj tuaj yeem siv ob qho 5V thiab 3.3V modules. 3.3V ib qho yuav yooj yim siv thaum 5V ib qho nrawm dua)

- Tactile Hloov Khawm

- 1K Ohm Resistors

- Li-Po Roj teeb (Lub peev xwm roj teeb tsis muaj teeb meem tiag tiag tab sis lub roj teeb me me yooj yim dua kom haum)

- Li-Po Charger Module (Nws zoo dua los yuav ib qho nrog 5v lub zog txhawb nqa lwm yam koj yuav tau ua ib qho)

- Prototype PCB txhawm rau txhawm rau txhawm rau cov khoom siv

- Ib qho On/Off switch

- Ib lub tshuab luam ntawv 3D rau rooj plaub

Sau ntawv

Yog tias koj xaiv siv 3.3v arduino, koj tuaj yeem siv 3.3v tus tswj hwm ntawm arduino los ua lub zog nrog lub roj teeb li-po. Tab sis yog tias koj yuav siv 5v arduino, koj yuav xav tau 3.3v txog 5v lub zog los txhawb nws. Txoj hauv kev yooj yim los ua qhov no yog los ntawm kev yuav lub roj teeb li-po nrog rau kev txhawb nqa 5v lossis yuav ib qho cais 3.3v txog 5v lub zog txhawb nqa.

Kuv tsis muaj ob qho ntawm tes yog li kuv tau sib cais lub suab hais lus bluetooth qub thiab desoldered 3 mus rau 5v cov khoom txhawb nqa thiab rov kho nws ntawm kuv tus kheej lub rooj tsavxwm. Yog tias koj xav paub yuav ua li cas koj tuaj yeem saib daim vis dis aus no.

Kauj ruam 1: Circuit Court

Circuit Court
Circuit Court
Circuit Court
Circuit Court
Circuit Court
Circuit Court

Yog li lub Circuit Court yog qhov yooj yim, tsuas yog muaj ntau cov xov hlau los txuas.

Thaum siv lub pcb nws yog ib qho tseem ceeb yuav tau ceev faj kom tsis txhob xau cov laug ntawm lwm sab ntawm lub rooj tsavxwm vim tias yuav muaj cov khoom siv nyob ntawd.

Koj tuaj yeem pom cov phiaj xwm hluav taws xob saum toj no.

Kauj ruam 2: Software

Txhawm rau rub tawm software mus rau arduino pro mini, koj yuav tsum siv tus programmer. Muaj ntau cov lus qhia yuav ua li cas thiaj li kuv yuav tsis piav qhia hauv qhov no. Nov yog qhov txuas rau ib ntawm lawv.

Yog tias koj tsis muaj tus programmer koj tuaj yeem siv lwm lub arduino los ua haujlwm rau nws. Nov yog qhov txuas rau qhov ntawd.

Yog li tus lej chess yog u8glib tus lej piv txwv piv txwv. Nws ua haujlwm tau zoo tiag tiag thiab txhawb nqa ntau cov ntxaij vab tshaus oled nrog cov tsav sib txawv. Txhawm rau upload nws ua ntej koj yuav tsum rub lub tsev qiv ntawv. Tom qab ntawd koj yuav tsum ntxiv nws rau koj cov ntawv khaws cia hauv arduino. Tom qab ntawd koj tuaj yeem rub cov kab ntawv txuas thiab xa nws mus rau koj li arduino. (Kuv tab tom txuas kuv tus kheej cov cai vim tias kuv hloov qee yam khoom me me rau cov nyees khawm ua haujlwm nrog cov koob sib piv thiab lwm yam)

Kauj Ruam 3: Rooj plaub

Rooj plaub
Rooj plaub
Rooj plaub
Rooj plaub
Rooj plaub
Rooj plaub

Tom qab muab txhua yam tso tseg thiab xa cov cai, kuv tsim thiab luam tawm 3D rooj plaub kom muab tso rau hauv. Kuv luam tawm ib daim ntawm dub thiab lwm qhov tawm ntawm PLA grey. Qhov txias tshaj plaws ntawm rooj plaub no yog tias nws haum haum. Yog li nws tuaj yeem tshem tawm tau yooj yim yog xav tau.

Kauj ruam 4: Qhov Kawg

Qhov Kawg
Qhov Kawg
Qhov Kawg
Qhov Kawg

Yog li tam sim no koj tuaj yeem ua dab tsi nrog nws. Kuv txoj hauv kev tseem ceeb rau txoj haujlwm no yog kom tuaj yeem nqa lub cuab yeej los ua si chess nyob txhua qhov chaw. Tab sis cov duab kos ua si zoo li nab, pac-txiv neej lossis tetris tuaj yeem pom hauv internet. Txij li qhov no muaj 4 khawm nws yuav txaus ua si cov game no.

Tso tseg cov lus nug lossis lus pom zoo.

Pom zoo: