Cov txheej txheem:

Arduino-Tamagotchi Project (Kuv Yog Tamagotchi): 5 Kauj Ruam (nrog Duab)
Arduino-Tamagotchi Project (Kuv Yog Tamagotchi): 5 Kauj Ruam (nrog Duab)

Video: Arduino-Tamagotchi Project (Kuv Yog Tamagotchi): 5 Kauj Ruam (nrog Duab)

Video: Arduino-Tamagotchi Project (Kuv Yog Tamagotchi): 5 Kauj Ruam (nrog Duab)
Video: Selfmade Arduino Tamagotchi | Technic Joe 2024, Hlis ntuj nqeg
Anonim
Image
Image

Kuv tau dhuav hauv kev cais tawm thiab txiav txim siab los ua Arduino Tamagotchi. Vim kuv ntxub ntau tus tsiaj kuv xaiv kuv tus kheej ua Tamagotchi. Ua ntej kuv tsim kuv lub console ntawm lub khob cij. Txoj hlua yog yooj yim heev. Tsuas muaj peb lub khawm, lub suab nrov thiab Nokia 5110 LCD.

Kauj Ruam 1: Tsim Txoj Haujlwm ntawm Breadboard

Tsim Txoj Haujlwm ntawm Breadboard
Tsim Txoj Haujlwm ntawm Breadboard
Tsim Txoj Haujlwm ntawm Breadboard
Tsim Txoj Haujlwm ntawm Breadboard

Kuv xaiv cov koob digital 2, 3, thiab 4 rau cov nyees khawm thiab 5 rau lub buzzer. Kuv txiav txim siab tso 47 Ohm resistor nruab nrab ntawm tus hais lus thiab tus pin, vim tias lub suab nrov nrov tsis zoo. Nokia LCD tau txuas nrog 8, 9, 10, 11 thiab 12. Tom qab txuas kuv tau pib ua haujlwm, uas yog feem ntau ntawm ua hauj lwm.

Kauj ruam 2: Programming

Programming
Programming
Programming
Programming

Txoj haujlwm tau siv sijhawm ntau dua ob lub lis piam thiab xaus rau qhov kev tsis sib haum tiag tiag - tab sis nws tsis zoo. Kuv xav qhia koj kom tsis txhob hloov pauv ntau qhov programm, vim nws yog ib nrab lus German ib nrab lus Askiv thiab nkag siab yuam kev me ntsis. Hauv thawj kab yog cov ntaub ntawv tseem ceeb tshaj plaws, zoo li khawm khawm thiab LCD sib piv. Kuv xav tias qhov no muaj txiaj ntsig. Kuv tsim txhua daim duab nrog xim thiab siv LCDAssistant los hloov cov duab ua hex.

Kuv ntxiv kev tshaib kev nqhis, lom zem thiab nkees. Ib nrab teev twg muaj 75 % txoj hauv kev uas ib qho xwm txheej poob. Koj tuaj yeem sau cov xwm txheej tuav tseg ntawm kev noj zaub mov, ua si game lossis mus pw.

Kuv ntxiv cov ntaub ntawv rar (Tama2.rar) thiab ob daim ntawv cais (Graphic.c & Tama2.ino). Koj tuaj yeem xaiv ntawm ib qho ntawm cov kev xaiv no.:)

Kauj Ruam 3: Tsim Lub Rooj Tsav Xwm

Tsim kom muaj Circuit Board
Tsim kom muaj Circuit Board
Tsim kom muaj Circuit Board
Tsim kom muaj Circuit Board

Tom qab kuv ua tiav cov phiaj xwm kuv tsim lub rooj tsav xwm nrog Eagle. Vim tias nws qhov me me kuv tau xaiv Arduino Mini ua Lub Hlwb ntawm kuv lub console game. Cov laug cam loj tsuas yog 93, 4mm x 49, 25mm (3, 67 x 1, 94 nti). Kuv siv qhov kev pabcuam ntawm JLCPCB rau kuv lub rooj sib tham. Arduino Minis qis dua tus nqi moos (8 MHz) ua cov games yooj yim heev thiab qeeb, yog li kuv hloov kho qhov nrawm. Tsis tas li kuv tau hloov lub buzzer rau ib qho me me.

Kauj Ruam 4: Ntxiv Roj Teeb

Ntxiv Roj Teeb
Ntxiv Roj Teeb

Txhawm rau Tamagotchi tuav kuv tau siv lub roj teeb qub thiab them tus nqi them. Lub roj teeb yog los ntawm lub xov tooj ntawm tes thiab muab lub zog rau ntau tshaj peb hnub. Tus nqi them yog 18650 USB Lithium Battery Charging Board. Nws tuaj yeem them lub roj teeb hauv ob peb teev.

Kauj Ruam 5: Tsim thiab Luam Ntawv Case

Tsim thiab Luam Ntawv Case
Tsim thiab Luam Ntawv Case
Tsim thiab Luam Ntawv Case
Tsim thiab Luam Ntawv Case

Thaum kawg kuv siv 3D-Tshuab Luam Ntawv los tsim rooj plaub rau kuv Tamagotchi. Kuv tsim tag nrho CAD-Cov Ntaub Ntawv hauv Thinkercad thiab tom qab ob peb qhov luam tawm tsis tiav kuv tau txais cov ntaub ntawv zoo thiab ruaj khov. Kuv ntsia txhua yam ua ke thiab txoj haujlwm tau ua tiav.

Qhov ntawd yog kuv qhov project. Yog tias koj muaj lus nug dab tsi tsuas yog sau cov lus hauv qab no.:)

Pom zoo: