Cov txheej txheem:
- Kauj Ruam 1: Tau Cov Khoom
- Kauj Ruam 2: Ua Tus Thawj Coj Loj
- Kauj Ruam 3: Ua Game Cartridge
- Kauj Ruam 4: Thawb Kev Ua Si Rau Hauv Cartridge
Video: Credit Card ATtiny Game Console: 4 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
Nov yog cov lus qhia txhawm rau tsim Attiny 85 game console ua los ntawm daim npav rho nyiaj tas sij hawm.
Kev ua qauv qhia ntawm cov khoom tiav tuaj yeem pom hauv qhov youtube txuas no:
gametiny ntawm daim npav rho nyiaj tiag.
Kuv tau txais kev tshoov siab los ntawm cov khoom ua si me me raws li lub zog muaj txiaj ntsig ATtiny85 MCU.
Muaj ntau qhov kev tsim game game retro: Attiny Joypad tsim los ntawm Daniel Champagne.. (Electro LIB) 2018 GPL V3 yog lub platform zoo nrog 4 txoj hauv kev khawm/joystick thiab lwm lub khawm hluav taws. Lwm lub platform hu ua Attiny Arcade tsim los ntawm webbloggles kuj tseem yog lub mini game console zoo nrog qhov yooj yim ntawm tsuas muaj ob lub nyees khawm. Ob lub platform tau tshoov siab kuv los tsim qee yam coj los ua qhov zoo tshaj plaws los ntawm ob lub ntiaj teb.
Cov ntawv ntawm pawg game no kuv hu ua "gametiny" yog ua raws Attiny Joypad tsim los ntawm Daniel Champagne. Kuv hloov kho nws kom ntxiv ib lub taub hau rau USBasp programmer uas ua ob npaug los ua lub qhov (socket) rau cov game cartridge uas muaj ATtiny85 nti. Koj tuaj yeem ua ob peb daim cartridge thiab thauj khoom koj nyiam ua si yog li koj tuaj yeem sib pauv cov game ntawm koj qhov kev mus. ATtiny85 yog lub zog siv tau zoo heev. Koj tsuas xav tau ib lub roj teeb CR2032 ntawm tes los ua si ntau teev. Dhau li ntawm lub pob A uas feem ntau siv los ua lub pob hluav taws, Kuv ntxiv lub pob B los rub PB3 rau hauv av. Qhov no tso cai rau cov lej cuam tshuam los ua haujlwm rau ob qho tib si PB1 thiab PB3, ua kom yooj yim dua los hloov cov game sau rau Attiny arcade los ua haujlwm ntawm Attiny joypad.
Txuas
Thawj Tus Me Nyuam Joypad tsim los ntawm Daniel Champagne.
sites.google.com/view/arduino-collection
Thawj Attiny Arcade cov khoom siv tseem ceeb
webboggles.com/attiny85-game-kit-assembly-instructions/
Arduino pawg thawj coj tsav tsheb rau attiny85
raw.githubusercontent.com/damellis/attiny/…
cov lej thiab cov lej cim hauv
Kauj Ruam 1: Tau Cov Khoom
1. Rau txhua qhov game cartridge, ib qho ATtiny85 SOD-8 (nto teeb tsa), ib qho me me ib sab perf board (tsab ntawv tsa suab qauv), ib tus txiv neej 8 tus pin header.
2. 0.9 I2C Mono OLED (nrog kos SSD1306 tus tswj) ntawm 4 tus pin (GND, VCC, SCK, SDA).
3. CR2032 3.3V Lithium cell roj teeb.
4. Lub roj teeb tuav rau CR2032.
5. mini piezo suab chav.
6. 3.5mm lub mloog pob ntseg nkaus nrog hloov
7. 6 khawm ntsiag to
8. mini 10K VR rau ntim tswj.
9. 8-pin poj niam lub taub hau rau txuas rau game cartridge.
10 Mini swb hloov rau lub zog khawm
11. 2 daim npav rho nyiaj tas sij hawm lossis ntawv/ntawv yas uas zoo ib yam.
12. 0.2 hli lossis 0.3 hli laminated (insulated) xaim
13. USBasp programmer.
14. 8 tub ntxhais hlua hlua.
15. 8 tus pin poj niam lub taub hau thiab 2x4 pins poj niam lub taub hau rau cov phiaj xwm kab.
Kauj Ruam 2: Ua Tus Thawj Coj Loj
Txoj haujlwm no siv daim npav rho nyiaj tas sij hawm raws li tus qauv. Koj kuj tseem tuaj yeem siv cov duab los qhia lossis cov laug cam yas.
Tsim cov txheej txheem ntawm cov nyees khawm ntawm lub zog taw tes. Luam tawm lub hwj chim taw tes rau daim ntawv nrog qhov loj me. Kuv siv cov chaw teeb tsa ntawm ob daim swb ntawm ib nplooj ntawv kom txo nws mus rau qhov loj me. Khaws qhov txheej txheem mus rau daim npav rho nyiaj siv ob daim kab xev. Laum qhov siv 0.5mm laum qhov rau ntawm cov cim cim rau tus pin ntawm cov nyees khawm thiab lwm yam khoom siv los teeb tsa rau hauv daim npav rho nyiaj. Cov xov hlau luv luv txuas rau ob sab ntawm txhua lub khawm ntsiag to kom lawv tuaj yeem tso rau hauv daim npav rho nyiaj. Muaj D-PAD khawm kom nce, nqis, sab laug, sab xis, thiab cov nyees khawm hluav taws (A thiab B). Ntxig cov nyees khawm thiab lwm yam khoom siv rau hauv daim npav rho nyiaj. Rau cov khoom uas muaj ob txhais ceg ntev dua, xws li cov nyees khawm, khoov ob txhais ceg hauv qhov kev coj rov qab los tuav nws hauv qhov chaw. Txwv tsis pub, siv ob daim kab xev lossis kua nplaum los tuav cov khoom sib dhos. Xaim cov kab hluav taws xob siv 0.3mm laminated (insulated) xov hlau raws li daim duab kos. Txhawm rau ua kom lub rooj tsavxwm tseem ceeb li nyias ua tau, OLED tau muab ncaj qha txuas rau cov hlau tsis txhob siv tus txiv neej lub taub hau. Ib tus 8 tus pin poj niam lub taub hau tau siv los txuas rau daim cartridge game uas yog qhov tseeb tau teeb tsa saum npoo Attiny 85 micro-maub los.
Npog cov xov hlau nyob tom qab nrog daim npav rho nyiaj thib ob.
Kauj Ruam 3: Ua Game Cartridge
1. Txiav ib daim txiag me me uas tuaj yeem haum 4 kab ntawm 8 qhov
2. Siv lub tshuab txiav kom faib kab thib 3 ua ob qho sib txuas ib nrab (rau nruab nrab ob tus pin ntawm Attiny 85 kom sawv ntsug).
3. Cuab tus ATtiny85 SOD-8 (Surface mounted) rau ntawm lub rooj tsavxwm.
4. Siv tus 8-pin txiv neej lub taub hau tso rau thawj kab.
5. Txhim kho daim kab xev raws li daim duab qhia chaw siv 0.3mm laminated (insulated) xov hlau.
Kauj Ruam 4: Thawb Kev Ua Si Rau Hauv Cartridge
1. Yog tias koj yog tus tshiab rau Arduino, rub tawm arduino los ntawm arduino.cc. Nyem Software. Nyem Download. Tom qab ntawd xaiv qhov version rau koj lub PC lossis Mac. download thiab nruab.
2. xauj mus rau https://github.com/MrBlinky/Arduboy-homemade-package thiab ua raws cov lus qhia muaj ntxiv cov lus txhais ntawm lub rooj tsavxwm thiab cov tsev qiv ntawv rau tsev ua Arduboy thiab Flash laub txhawb nqa. Kuv yuav piav qhia hauv cov theem hauv qab no:
3. Pib Arduino IDE. Nyem Nyiam los ntawm Arduino cov ntawv qhia saum toj kawg nkaus. Nkag cov ntawv no rau hauv "Tus Thawj Saib Xyuas Ntxiv URLs" https://raw.githubusercontent.com/damellis/attiny/ide-1.6.x-boards-manager/package_damellis_attiny_index.json Yog tias koj twb muaj lwm cov ntawv sau rau ntawm daim teb, ntxig qhov no cov ntawv ntxiv thaum pib, tom qab ntawd ntxiv "," thiab khaws lwm qhov URL uas twb muaj lawm.
4. Tawm Arduino IDE thiab pib IDE dua kom muaj kev hloov pauv saum toj no.
5. Nyem Cov Cuab Yeej -> Pawg Thawj Coj: -> Tus Thawj Saib Xyuas Haujlwm. Sau "Attiny" los tshawb nrhiav. Xaiv los nruab qhov hloov tshiab kawg ntawm Attiny board tsav tsheb. Lub pob yuav raug ntxiv rau Arduino.
6. Tam sim no xaiv Cov Cuab Yeej-> Pawg Thawj Coj: “ATtiny 25/45/85”
thiab xaiv cov ntsuas hauv qab no:
Tus Txheej Txheem: Attiny 85
Moos: Sab hauv 8Mhz (tsuas yog rau Pac Man game, xaiv Internal 16Mhz)
Tus tsim tawm: USBasp
7. Tau txais USBasp programmer, hloov nws mus rau 5V (tsis yog 3V). Txuas tus programmer USBasp mus rau USB chaw nres nkoj thiab txuas cov hlua kab rau tus programmer. Txuas lwm qhov kawg ntawm kab xov txuas nrog 8 tus pin poj niam lub taub hau rau tus txiv neej lub taub hau ntawm daim cartridge game (nrog Attiny 85 nti soldered rau nws).
8. Nyem "Hlawv Bootloader" txhawm rau hlawv lub fuse mus rau Attiny 85. Txheeb xyuas qhov tso tawm uas nws ua tiav.
9. Los ntawm Arduino IDE, qhib qhov chaws ntawm qhov kev ua si rau hauv Arduino IDE. Xa mus rau kuv qhov GitHub txuas ntawm no:
10. Nyem “->” txhawm rau sau thiab xa cov game los ntawm USBasp programmer mus rau ATtiny85 nti ntawm daim cartridge game. Txheeb xyuas tias kev xa tawm tiav.
11. Ntxig daim cartridge game mus rau lub rooj tsavxwm loj. Qhib lub game board siv lub swb swb thiab pib ua si.
12. Feem ntau ntawm cov kev ua si tau sau nyob rau hauv ib txoj hauv kev mus rau hom pw tom qab kev ua si tas lawm. Txhawm rau kom nws sawv, tsuas yog nias A lossis B khawm.
13. Yog tias cov nyees khawm lossis lub suab tso tawm tsis ua haujlwm, ntsaws qhov "Attiny Tester" los ntsuas seb qhov txiaj ntsig ntawm cov nyees khawm hloov pauv kom raug thaum cov nyees khawm raug nias thiab tso tawm thiab koj tau hnov lub suab nrov thaum koj nias lub pob. Txheeb ob zaug thiab kho cov teeb meem txuas lossis txuas.
Pom zoo:
Credit Card Sized Contactless Voltage Detector (555): 3 Kauj Ruam
Credit Card Sized Contactless Voltage Detector (555): Lub tswv yim tuaj saib lwm qhov Qhia: https: //www.instructables.com/id/Contactless-Volta..Kuv tau xaiv qhov tsim nrog 555 vim kuv muaj ob peb 555 nyob ib puag ncig thiab kuv nyiam tsim cov phiaj xwm me me, zoo li qhov no lwm daim npav rho nyiaj qhov project.https:
Yuav Ua Li Cas Thiaj Li Hloov Koj Lub Xov Tooj Ntawm Tes Rau Hauv Credit/Debit Card: 5 Kauj Ruam
Yuav Ua Li Cas Thiaj Li Hloov Koj Lub Xov Tooj Ntawm Tes Rau Hauv Daim Npav Credit/daim debit Card: Yooj yim rau kev hloov pauv rau daim npav rho nyiaj ntxiv/daim npav rho nyiaj nrog RFID nti (piv txwv li Paypass). Siv txoj hauv kev no, koj yuav tuaj yeem nrhiav thiab rho tawm daim npav RFID hauv koj daim npav them nyiaj uas muaj peev xwm hla thiab muab tso rau hauv koj lub xov tooj ntawm tes. Qhov no yuav tso cai rau koj los qhia koj
Credit Card IPhone Stand: 6 Cov Kauj Ruam (nrog Duab)
Credit Card IPhone Stand: Yog tias koj muaj daim npav ua tswv cuab uas tau tas sijhawm thiab tsuas yog siv qhov chaw koj tuaj yeem hloov nws mus rau hauv koj tus kheej iPhone lossis iPod sawv nrog tsuas yog txiav me me. Kuv siv Dremel kom ua tiav txoj haujlwm ntawm no, tab sis koj tuaj yeem yooj yim ua tib yam nrog ob txhais tes txiab
Credit Card IPhone Stand: 4 Kauj Ruam (nrog Duab)
Credit Card IPhone Stand: Puas yog koj lub iPhone nkees nkees ntawm ib puag ncig ntawm koj lub rooj? Xav kom nws nce thiab txav mus nrog nws lub neej? Tom qab ntawd ua kom sawv ntsug nrawm ntawm daim npav rho nyiaj qub lossis lwm daim npav ua tswv cuab yas. Txhua yam koj xav tau yog ob peb feeb thiab txiab txiab. Kuv
Credit Card IPhone / Ipod Stand: 6 Kauj Ruam
Daim npav rho nyiaj IPhone / Ipod Sawv: Kuv tau nkees nqa ib puag ncig lossis nqa kuv lub iPhone los saib cov yeeb yaj kiab yog li kuv rub daim npav ID qub uas kuv muaj hauv kuv lub hnab nyiaj thiab khawm nws kom sawv ntsug. Ib qho nyuaj yas ID lossis daim npav rho nyiaj qub yuav ua haujlwm thiab lawv tuaj yeem rov ua dua thiab plam