Cov txheej txheem:

Yooj Yim Arduino Chess Clock: 5 Kauj Ruam
Yooj Yim Arduino Chess Clock: 5 Kauj Ruam

Video: Yooj Yim Arduino Chess Clock: 5 Kauj Ruam

Video: Yooj Yim Arduino Chess Clock: 5 Kauj Ruam
Video: Thai Sounders - Yooj Yim (Official Music Video) 2024, Kaum ib hlis
Anonim
Image
Image
Yooj Yim Arduino Chess Clock
Yooj Yim Arduino Chess Clock
Yooj Yim Arduino Chess Clock
Yooj Yim Arduino Chess Clock
Yooj Yim Arduino Chess Clock
Yooj Yim Arduino Chess Clock

Thaum kuv xav ua Chess Clock nrog Arduino, lub hom phiaj yog tsim kom siv cov phiaj xwm yooj yim yam tsis siv chav kawm thiab ua haujlwm nrog AVR rau npe. Lub hauv paus siv yog Arduino Siv. Qhov nyuaj tshaj plaws yog tswj lub sijhawm siv tsuas yog Arduino millis (). Lub tswv yim yog txoj haujlwm tuaj yeem muaj txiaj ntsig los ntawm cov tub ntxhais kawm pib ntawm Arduino.

Kauj ruam 1: Nta

  • Ua kom tiav lub sijhawm hloov kho siv cov keyboard rau teev, feeb thiab vib nas this, ntawm 1 sec txog 10 teev
  • Cia hloov kho zaum kawg hauv eeprom
  • Kev tswj lub sijhawm los ntawm Kev Tuag ရုတ်တရက် lossis nce mus txog 99 seg
  • Pause timer siv ib qho ntawm cov keypad thiab tso tawm siv game buttoon
  • Lub suab los txheeb xyuas qhov khawm game tau raug nias thiab thaum ua si tas lawm

Kauj Ruam 2: Qhov Chaw

  • Arduino Uno lossis lwm yam
  • 2 Laub khawm R13-502
  • Buzzer
  • Rau LCD daim phiaj thaiv, tuaj yeem siv LCD Keypad Shield lossis DIY siv:

    • LCD 16 x 2
    • 6 Tactile Push Button Switch
    • Universal Circuit Board
    • Kab Pin Header

Kauj ruam 3: Circuit Court

Circuit Court
Circuit Court
Circuit Court
Circuit Court

Qhov teeb meem nyuaj tshaj plaws yog LCD Keypad Shield, yog tias daim ntawv no tau yuav khoom npaj tas yog qhov yooj yim.

Kauj ruam 4: Cov ntaub ntawv

Arduino code:

Arduino sawv ntsug:

Bauhaus Chess Teeb:

Kauj Ruam 5: Hloov Kho - 2021 Lub Ib Hlis

Hloov tshiab - 2021 Lub Ib Hlis
Hloov tshiab - 2021 Lub Ib Hlis
Hloov tshiab - 2021 Lub Ib Hlis
Hloov tshiab - 2021 Lub Ib Hlis
Hloov tshiab - 2021 Lub Ib Hlis
Hloov tshiab - 2021 Lub Ib Hlis
Hloov tshiab - 2021 Lub Ib Hlis
Hloov tshiab - 2021 Lub Ib Hlis

Qhov sib txawv ntawm qhov sawv ntsug tshiab no yog tias kuv tau siv Arduino Pro Mini hloov chaw Arduino Uno. Raws li Pro Mini siv tib Atmega 328 tsis muaj dab tsi hloov pauv hauv cov cai lossis cov khoom siv hluav taws xob sib txuas:

Arduino Stand Definitive Edition:

Pom zoo: