Cov txheej txheem:

Retro Arcade Moos - Arduino: 6 Kauj Ruam (nrog Duab)
Retro Arcade Moos - Arduino: 6 Kauj Ruam (nrog Duab)

Video: Retro Arcade Moos - Arduino: 6 Kauj Ruam (nrog Duab)

Video: Retro Arcade Moos - Arduino: 6 Kauj Ruam (nrog Duab)
Video: NOOBS PLAY CLASH ROYALE FROM START LIVE 2024, Hlis ntuj nqeg
Anonim
Image
Image
Retro Arcade Moos - Arduino
Retro Arcade Moos - Arduino
Retro Arcade Moos - Arduino
Retro Arcade Moos - Arduino

Tsim kom muaj kev sib tham sib tham hauv lub txaj ntawm lub moos, nrog lub vijtsam kov, thiab cov duab ua suab nrov uas koj tuaj yeem kaw lub suab ntawm qhov koj xaiv rau lub tswb.

Nov yog qhov hloov kho ntawm qhov haujlwm yav dhau los uas tam sim no suav nrog 3D Luam Ntawv Case thiab plaub qhov kev pab cuam cais los xaiv

1. Arcade Moos - DK Mario, Chaw Invaders & Pacman kev ua yeeb yaj kiab

2. Pacman Moos - Sib tham sib Animated Pacman game nrog moos ua haujlwm

3. DK Clock - Sib tham sib Animated DK game nrog moos ua haujlwm

4. Tumble Ghost - Animated Pacman Ghost game raws Flappy Bird

Ntau qhov lom zem los tsim thiab khoom plig zoo rau txhua tus neeg uas nyiam rov zoo siab ntawm 80s arcade game cim

** Yog tias koj nyiam cov lus qhia no thov pov npav rau nws hauv "Clocks Contest" los ntawm kev thawb lub pob hauv qab ntawm nplooj ntawv ***

Ua tsaug ntau !!

Kauj Ruam 1: Sau cov Khoom

Sau Cov Khoom
Sau Cov Khoom
  1. Arduino Board - Arduino Mega 2560 (Cov khoom 1, 2 thiab 3 tuaj yeem xaj ua ib qho kev xaj khoom)
  2. Kov Screen Arduino Shield - 3.2 nti Mega Touch LCD Expansion Board Shield
  3. Kov Screen - 3.2 "TFT LCD Zaub + Kov Screen rau Arduino Mega 2560
  4. Sijhawm Sijhawm Sijhawm Sijhawm - DS3231 RTC
  5. Lub Suab Recorder Module - ISD1820 Lub Suab Lub Suab
  6. PLA Filament rau 3D Tshuab Luam Ntawv
  7. Ob Qhov Epoxy Resin rau cov ntaub ntawv ua ke
  8. USB Cable 2m ntev USB charger (siv rau lub hwj chim rau lub moos)
  9. Kub kua nplaum phom
  10. Txoj hlua khi X 3

Yeem Pib Rov Qab Lub Teeb Dimming Cheebtsam tsuas yog xav tau yog Lub Sijhawm Ib Leeg

  1. Kev tiv thaiv 270k Ohm
  2. Zener Diode 3.3v
  3. 0.5 watt Resistor 47 Ohm
  4. Lub Teeb Ntsuas Tus Kheej (LDR)

Kauj Ruam 2: Luam 3D Case

Sau 3D Case
Sau 3D Case
Sau 3D Case
Sau 3D Case

Kuv luam tawm rooj plaub ntawm Creality Ender 3. Txhua yam ntawm 3D luam cov ntaub ntawv thiab cov lus qhia rau rooj plaub tuaj yeem pom ntawm no ntawm Thingiverse

Kauj ruam 3: Tsim Circuit Court

Tsim Circuit Court
Tsim Circuit Court
Tsim Circuit Court
Tsim Circuit Court
Tsim Circuit Court
Tsim Circuit Court

Zuag qhia tag nrho muaj lub Sijhawm Tiag, Arduino Mega, Suab Module, Touch Screen thiab Screen Sheild.

1. Lub Sijhawm Tiag

Mount Realtime moos nyob tom qab ntawm Arduino Mega raws li hauv daim duab muab. Kuv siv rab yaj phom kub thiab ntim ua npuas kom ntseeg tau tias lawv tsis kov thiab muaj qee qhov cushioning kom nqus tau txav mus los. Hauv kuv qhov xwm txheej, kuv tau muag 2 ntawm RTC ob txhais ceg ncaj qha mus rau Arduino thiab siv xaim txuas txuas 5v thiab GND rau Arduino.

2. Suab kaw suab Module

Cov no yog qhov txias heev thiab siv tau yooj yim. Hauv qhov zoo ib yam li saum toj no, siv ua npuas dej thiab kua nplaum kub los tso tus qauv thiab tus hais lus nyob tom qab ntawm Arduino saib xyuas kom ntseeg tau tias lawv raug thaiv los ntawm kev kov. Lub Suab Suab tau tshwm sim los ntawm D8 ntawm Arduino, yog li qhov no thiab lub zog xa khoom xav tau txuas raws li daim duab qhia chaw muab.

3. Auto Backlight Dimmer (Tsis teb los tau)

Yog tias koj npaj siab siv ua lub moos tom txaj, tom qab ntawd koj yuav zoo li yuav xav tau lub teeb pom kev thaum hmo ntuj kom nws thiaj tsis cuam tshuam rau koj pw. (Yog tias tsis yog li ntawd koj tuaj yeem hla cov kauj ruam no!) Hmoov tsis zoo, lub teeb pom kev hauv TFT lub vijtsam nyuaj rau hauv +3.3v thiab tsis tuaj yeem hloov kho nrog Arduino. Qhov no txhais tau tias peb yuav tsum txuas nws thiab txuas mus rau PWM tus pin ntawm Arduino los tswj qhov Backlight ci ci. Kuv xav ua qhov no nrog kev puas tsuaj tsawg kawg rau cov pins lossis taug qab ntawm cov khoom siv yog li coj raws li hauv qab no. Ua raws cov theem hauv qab no ua tib zoo

(a) Kom ua tiav qhov Teeb Pom Kev Ntsib Teeb (LDR) nyob rau tom qab ntawm chav tsev txhawm rau txhawm rau pom lub teeb. Laum ob 3mm qhov hauv qhov rooj thiab thawb LDR ob txhais ceg hla lub qhov. Siv cov kua nplaum kub rau sab hauv ntawm lub txee los tuav ob txhais ceg nyob hauv qhov chaw. Muab ob lub xov hlau tso rau sab hauv ntawm rooj plaub thiab txuas lawv raws li daim duab qhia chaw. Ntxiv 270k Ohm Resistor rau A7 ntawm Arduino raws li daim duab qhia chaw.

(b) Tshem tawm TFT Zaub, thiab muab tso rau ntawm qhov chaw ruaj khov. Txheeb tus pin 19 (LED_A) thiab ua tib zoo tshem tawm ob peb millimeters yas ntawm lub hauv paus ntawm tus pin. Khoov tus pin tiaj tus thiab nyob deb ntawm qhov txuas raws li daim duab saum toj no. Txheeb xyuas tias TFT Sheild tuaj yeem ntsaws tau yooj yim thiab tus pin khoov tsis thaiv qhov ntsaws lossis lub qhov (socket).

(c) Solder 47 Ohm sau npe rau khoov hla tus pin thiab txuas xov hlau los ntawm tus tiv thaiv rau D9 ntawm Arduino Mega. Arduino D9 tus pin tuaj yeem nqus tau txog 40mA yog li tus tiv thaiv txwv qhov no kom tsawg dua qhov no. Txuas 3.3v Zener Diode rau tib tus pin (LED_A) thiab txuas qhov no rau hauv ntiaj teb raws li daim duab. Lub hom phiaj ntawm qhov no yog tiv thaiv lub teeb pom kev zoo los ntawm overvoltage vim nws yuav tswj hwm qhov hluav taws xob mus rau 3.3v.

4. TFT Screen thiab Arduino Shield

Ua tib zoo thawb 3.2 'TFT Touch Screen txuas mus rau hauv TFT Arduino Shield. Tom qab ntawd ua tib zoo txuas mus rau sab saum toj ntawm Arduino raws li daim duab muab. RTC muaj lub roj teeb yog li yuav khaws lub sijhawm raug txawm tias lub zog raug tshem tawm lawm. Lub Tswb Sijhawm tau khaws cia hauv Eeprom ntawm Arduino uas txhais tau tias nws yuav raug khaws cia yog tias muaj lub zog txiav.

Kauj Ruam 4: Thauj Txoj Cai

Thauj cov Code
Thauj cov Code

Runner Up hauv Kev Sib Tw Clocks

Pom zoo: