Cov txheej txheem:

GameGirl5110: 13 Cov Kauj Ruam (nrog Duab)
GameGirl5110: 13 Cov Kauj Ruam (nrog Duab)

Video: GameGirl5110: 13 Cov Kauj Ruam (nrog Duab)

Video: GameGirl5110: 13 Cov Kauj Ruam (nrog Duab)
Video: 1 tsug 13 hnub _part#2_phees lauj fullmusic MV 2022-2023 2024, Hlis ntuj nqeg
Anonim
GameGirl5110
GameGirl5110

Nyob zoo! Kuv yog vlvaro Rubio, Kuv xav tsim kuv tus kheej lub console qub rau cov nyiam kev ua si retro thiab qhov tshwm sim: GameGirl 5110.

Nws muaj cov ntawv luam tawm 3d tshwm sim hauv GameBoy Classic. Thiab …

Y Vim li cas 5110?

Txhawm rau ua kom nws rov qab ntau dua Kuv txiav txim siab siv thawj Nokia 5110 lub lcd screen nrog lub teeb ci xiav.

-I'ts raws Arduino, koj tuaj yeem siv tus qauv koj xav tau, hauv kuv qhov xwm txheej kuv tau xaiv Arduino Nano rau qhov chaw txwv.

-Koj muaj 6 lub programmable nyees khawm rau tso cov game koj nyiam! Ntawm no kuv yuav program Snake game.

-Kuv siv 4 khawm ntawm sab laug rau cov lus qhia thiab khawm sab xis nws yog qhov rov pib dua, koj tuaj yeem hloov cov kev tswj hwm hauv cov ntaub ntawv arduino.

-Nws muaj piezoelectric li buzzer rau lub suab.

Khoom siv

Cov ntaub ntawv:

  • Arduino Nano Cov
  • Nokia 5110 LCD screen
  • Mini swb hloov ON/OFF
  • Khawm B3F Omron 12mm xim
  • Pawg thawj coj saib xyuas
  • 9V lub roj teeb tuav
  • Hlau
  • Dupont Cable Poj Niam-Poj Niam
  • PLA lossis ib tus neeg uas luam koj rooj plaub
  • Ntxig txiv ntseej
  • Ceev thiab bolts 2mm

Cov Cuab Yeej:

  • Soldering Hlau
  • Tin thiab flux
  • Phom phom
  • ntsia hlau

Kauj ruam 1: Code:

Txoj Cai
Txoj Cai

Txoj haujlwm no yog rau 'Creative Electronics', Beng Electronics Engineering module ntawm University of Málaga, Tsev Kawm Ntawv Kev Sib Txuas Lus (https://www.uma.es/etsi-de-telecomunicacion/).

Ua ntej tshaj plaws, Kuv tau ua haujlwm 'Snake' game siv lub tsev qiv ntawv LCD5110_Graph.h.

Koj tuaj yeem rub nws thiab tau txais phau ntawv qhia ntawm no.

Kuv yuav tsis nkag mus tob rau hauv txoj haujlwm tab sis yog tias koj muaj lus nug koj tuaj yeem nug kuv hauv cov lus!:)

Nyem qhov no mus rub kuv cov ntaub ntawv arduino los ntawm Github, Nws tau qhia siv MIT License.

Kauj Ruam 2: Tsim 3D

3D Tsim
3D Tsim
3D Tsim
3D Tsim

Cov kauj ruam tom ntej yog ua rooj plaub 3D luam tawm. Kuv pom zoo kom luam thawj rooj plaub thiab tom qab ntawd ua cov cuab yeej kho kom yooj yim dua rau rooj plaub. Kuv siv Freecad los tsim qhov qauv no (thawj zaug siv 3D) thiab kuv tab tom faib cov ntaub ntawv siv CC License.

Muaj 4 cov ntaub ntawv:

  1. Rov qab
  2. Pem hauv ntej
  3. 'GameGirl5110' Logo
  4. Lub hauv paus kom txhawb nqa kho vajtse.

Nws muaj peev xwm tias koj lub rooj tsav xwm tsab lossis koj lub cuab yeej khoos phis tawj sib txawv dua li kuv thiab koj yuav tsum tau hloov qee qhov kev hloov pauv no lossis koj cov khoom kho vajtse.

Txoj haujlwm no tau ntawv tso cai los ntawm Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

Kauj ruam 3: Kho vajtse - Mainboard

Kho vajtse - Mainboard
Kho vajtse - Mainboard
Kho vajtse - Mainboard
Kho vajtse - Mainboard
Kho vajtse - Mainboard
Kho vajtse - Mainboard

Ua ntej tshaj plaws kuv tau ua lub rooj tsav xwm tsab rau arduino nano thiab LCD, Kuv muag ob tus poj niam lub taub hau 15 tus pin rau lub rooj sib tham tsab ntawv nrog qhov deb ntawm tus pin arduino thiab lwm 8 tus poj niam lub taub hau rau LCD txuas. Saib uas kuv muab 8 tus poj niam lub taub hau nyob rau hauv txoj haujlwm ntawm tus pin D3, D4, D5, D6, D7 uas kuv tau muab tso rau ntawm tus pin arduinos. 3 tus pin txuas tom ntej yog VCC BL thiab GND, koj yuav tsum tau muab VCC thiab BL txuas rau ib qho 5V tus pin thiab GND rau ib qho kev sib txuas hauv av ntawm koj lub rooj tsavxwm, nrog rau qhov no peb ua tiav thawj ntawm 3 pawg thawj coj. Siv tus poj niam lub taub hau peb tuaj yeem tshem tawm cov arduino thiab tshuaj ntsuam thaum koj xav tau lossis koj tuaj yeem hloov nws yog tias qee yam tawg tsis muaj qhov xav tau ntxiv. Koj tuaj yeem pom daim duab nrog qhov tshwm sim, tom qab ntawd koj yuav tsum txuas lub LCD nrog dupont cables li extensor.

Kauj Ruam 4: Kho Vajtse - Khawm 1

Kho vajtse - Nyees khawm 1
Kho vajtse - Nyees khawm 1
Kho vajtse - Nyees khawm 1
Kho vajtse - Nyees khawm 1

Tam sim no peb tab tom ua khawm sab laug rau cov lus qhia hauv qhov kev ua si. Kev siv cov tshuaj tiv thaiv yog xaiv tau, koj tuaj yeem siv sab hauv sab hauv ntawm cov khoom siv arduino siv kab INPUT_PULLUP (PIN); tab sis koj yuav tsum tau ntxiv lossis hloov qee kab ntawm cov cai, hauv cov kauj ruam tom ntej no kuv yuav ua piv txwv ntawm txoj hauv kev txuas cov nyees khawm no.

Koj muaj cov phiaj xwm kev sib tham nyob rau sab laug, koj yuav tsum tau muab 4 khawm khawm tom qab qhov kev ncua nruab nrab ntawm lawv los ntawm daim ntawv 3d lossis hloov kho tus qauv los kho nws rau koj cov cuab yeej tshiab.

Koj tuaj yeem siv Analog inputs raws li digital tsuas yog txhais lawv li cov tswv yim.

Cov xaim ntsuab yog cov xaim hluav taws xob uas koj xav tau los txuas rau cov khoom siv arduino, Kuv tau siv:

  • UP -> tus pin 16 (A2)
  • LEFT -> tus pin 17 (A3)
  • DOWN -> tus pin 18 (A4)
  • RIGHT -> tus pin 19 (A5)

Tsis tas li koj yuav tsum tau muab VCC txuas rau 5V thiab GND rau ib qho hauv av ntawm lub rooj tsavxwm tseem ceeb.

TSEEM CEEB: Kuv hais qhia kom txuas cov kab hluav taws xob ntev ntawm cov laug cam, tom qab ntawd koj tuaj yeem txav mus thiab kho nws zoo dua hauv rooj plaub yam tsis muaj dab tsi tsoo.

Kauj Ruam 5: Kho vajtse - Khawm 2

Kho vajtse - Nyees khawm 2
Kho vajtse - Nyees khawm 2
Kho vajtse - Nyees khawm 2
Kho vajtse - Nyees khawm 2

Tam sim no peb yuav tsum ua 2 khawm ntawm sab xis. Hauv qhov no kuv yuav qhia koj yuav siv INPUT_PULLUP li cas yog tias koj xav siv sab hauv sab hauv.

Kuv yuav siv khawm sab saud raws li rov pib dua, tom qab ntawd kuv yuav muab txuas ib sab rau tus pin RST ntawm lub hauv paus thiab lwm sab txuas rau GND.

Hauv qhov kev ua si no kuv tsis xav tau khawm thib ob tab sis kuv yuav siv nws los siv rau lwm qhov kev ua si yav tom ntej, tom qab ntawd koj tsuas yog xav tau txuas ib sab rau A1 thiab lwm sab rau GND. Thaum koj xav siv nws nco kom siv INPUT_PULLUP (15); thiab siv nws nrog digitalRead.

Kauj Ruam 6: Kho vajtse - Fais fab thiab ON/OFF

Kho vajtse - Hwj chim thiab ON/OFF
Kho vajtse - Hwj chim thiab ON/OFF
Kho vajtse - Hwj chim thiab ON/OFF
Kho vajtse - Hwj chim thiab ON/OFF

Kuv yuav siv lub roj teeb 9v thiab lub ntsuas hluav taws xob hloov pauv, tom qab ntawd kuv yuav lub roj teeb uas koj xav tau los xaim cov xaim dub rau GND thiab xaim liab rau VIN, tab sis ua ntej koj yuav ntxiv qhov hloov pauv siv cov hlau liab los ntawm lub roj teeb rau tus pin nruab nrab ntawm qhov hloov pauv thiab ib qho ntawm lwm tus pin txuas rau VIN. Tom qab ntawd koj tab tom kaw qhov Circuit Court.

Kauj Ruam 7: Kho vajtse - Buzzer

Kho vajtse - Buzzer
Kho vajtse - Buzzer
Kho vajtse - Buzzer
Kho vajtse - Buzzer

Txhawm rau tsim lub suab Kuv yuav siv lub piezoelectric, koj tuaj yeem siv qhov koj xav tau, koj yuav tsum tau siv ib txoj hlua rau GND thiab lwm txoj xov hlau rau tus lej digital 2 nrog tus lej no. Koj tuaj yeem hloov nws yog tias koj xav tau.

Tom qab ntawd kuv kho nws rau sab nraub qaum ntawm lub roj teeb nrog rab phom phom kom nws nrov dua li koj pom.

Kauj Ruam 8: Ntxuav Cov Ceev

Ntxig Ceev
Ntxig Ceev
Ntxig Ceev
Ntxig Ceev

Tam sim no koj tau ua tiav kho vajtse ntawm lub console, sim nws ua ntej tso rau hauv rooj plaub !!

Thaum koj paub tseeb tias lub console tau npaj tiav, nrog cov ntsiab lus ntawm cov laug koj tuaj yeem ntxig cov txiv ntseej yaj cov yas hauv plaub pawg.

Kauj Ruam 9: Haum - LCD thiab Zawv Zawg Hloov

Fitment - LCD thiab Zawv Zawg Hloov
Fitment - LCD thiab Zawv Zawg Hloov
Fitment - LCD thiab Zawv Zawg Hloov
Fitment - LCD thiab Zawv Zawg Hloov

Koj lub console yuav luag npaj txhij !!

Kuv pib nrog LCD, tsuas yog muab tso rau hauv nws qhov chaw thiab kho nws nrog rab phom yas.

Tom qab ntawd koj tuaj yeem ntxig qhov hloov pauv thiab ntsia hlau nws, koj tuaj yeem siv txiv ntoo yog tias nws tsim nyog.

Kauj Ruam 10: Haum - Nyees khawm

Fitment - Nyees khawm
Fitment - Nyees khawm
Fitment - Nyees khawm
Fitment - Nyees khawm

Qhov no yog qhov nyuaj tshaj plaws, koj yuav tsum tau muab cov nyees khawm tso rau hauv lawv qhov kev hwm, thiab koj yuav tsum kho nws nrog qhov siab qhov tseeb vim tias yog koj tsis ua qhov no, koj lub pob yuav nias. Txhawm rau ua qhov no kuv tso qee daim ntawm cov ntawv nplaum yas zoo li koj tuaj yeem pom hauv daim duab saum toj thiab hauv qab ntawm lub rooj tsavxwm, koj tuaj yeem siv txhua yam nrog ob peb centimeters los ua kom qhov siab.

Thaum koj tau txais txoj haujlwm raug rau daim ntawv pov thawj tsuas yog kho nws nrog rab phom yas thiab khaws txoj haujlwm kom txog thaum nws qhuav. Ua nws nrog ob daim ntawv pov thawj.

Tam sim no sim yog tias koj tuaj yeem nias txhua lub pob kom raug, tom qab ntawd koj tau npaj rau qib tom ntej.

Kauj Ruam 11: Kev Kho - Kaw

Fitment - Kaw
Fitment - Kaw
Fitment - Kaw
Fitment - Kaw

Tam sim no koj yuav txhim kho daim yas uas peb tau luam tawm thiab nws tau siv los ua kom nws muaj zog dua thiab tom qab ntawv cov laug cam tsis mus tob dua thaum koj nias nrog lub zog.

Tsuas yog kho nws nyob nruab nrab ntawm ob lub rooj zaum thiab kho nrog rab phom yas, nias kom txog thaum nws qhuav thiab tom qab ntawd koj tuaj yeem tso lub roj teeb rau hauv qhov chaw seem.

Kho tag nrho cov kab hluav taws xob thiab lub rooj tsav xwm tseem ceeb nyob rau sab saum toj ntawm rooj plaub, thiab tom qab ntawd koj tuaj yeem kaw nws.

Koj GameGirl5110 yuav luag npaj siv;)

Kauj Ruam 12: Ntxiv GameGirl5110 Logo

Ntxiv GameGirl5110 Logo
Ntxiv GameGirl5110 Logo
Ntxiv GameGirl5110 Logo
Ntxiv GameGirl5110 Logo
Ntxiv GameGirl5110 Logo
Ntxiv GameGirl5110 Logo

Tam sim no koj yuav tsum txhim kho lub logo rau lub vijtsam, rau qhov no kuv xav siv me ntsis ntawm Superglue thiab pleev xim nws nrog tus cim ruaj khov yog tias koj nyiam nws!

Kauj Ruam 13: Txaus Siab Rau Koj GameGirl5110

Txaus Siab Rau Koj GameGirl5110
Txaus Siab Rau Koj GameGirl5110

Qhov no yog qhov tshwm sim! Yog tias koj muaj lus nug nug kuv hauv cov lus thiab kuv yuav pab koj sai li sai tau!

Vam tias koj txaus siab rau qhov ua tiav ntawm kev ua koj tus kheej GameGirl5110 thiab muaj kev lom zem ua si!;)

Pom zoo: