Cov txheej txheem:

Beyblade Arena Nrog Lub Teeb thiab Suab Zoo: 8 Kauj Ruam
Beyblade Arena Nrog Lub Teeb thiab Suab Zoo: 8 Kauj Ruam

Video: Beyblade Arena Nrog Lub Teeb thiab Suab Zoo: 8 Kauj Ruam

Video: Beyblade Arena Nrog Lub Teeb thiab Suab Zoo: 8 Kauj Ruam
Video: NOOBS PLAY CLASH ROYALE FROM START LIVE 2024, Hlis ntuj nqeg
Anonim
Beyblade Arena Nrog Lub Teeb thiab Suab Zoo
Beyblade Arena Nrog Lub Teeb thiab Suab Zoo
Beyblade Arena Nrog Lub Teeb thiab Suab Zoo
Beyblade Arena Nrog Lub Teeb thiab Suab Zoo
Beyblade Arena Nrog Lub Teeb thiab Suab Zoo
Beyblade Arena Nrog Lub Teeb thiab Suab Zoo

Beyblade Burst Arena yog thaj chaw nrog lub teeb thiab suab nrov rau cov khoom ua si saum nrog cov hniav. Raws li kuv tus tub tuaj rau kuv thiab qhia kuv nws lub tsho "Beyblade" thiab raws li peb pom lawv ncig ncig ib leeg, tsoo ib leeg thiab tawg ua tej daim, peb ob leeg pom zoo tias peb xav muaj thaj chaw zoo li tsis muaj leej twg li. Tab sis peb muaj kev lom zem heev nrog txoj haujlwm no uas peb tau txiav txim siab los qhia rau koj thiab peb vam tias koj yuav muaj kev lom zem ntau npaum li peb muaj nrog rau thaj chaw no.

Thaum peb xav txog hom kev ua yeeb yam peb tau saib kaum ob ntawm Youtube cov yeeb yaj kiab. Cov arenas feem ntau yog ua los ntawm cov thawv ntawv thawv lossis qee yam zoo li ntawd. Tom qab ntawd muaj ib hnub, ua haujlwm hauv kuv lub nkas -las, cov tais diav qub thiab tsis siv tau tuaj rau hauv kuv qhov kev pom. Kuv tau hu kuv tus tub thiab nws ob lub qhov muag ci - yog, qhov no yuav yog lub hauv paus zoo rau peb qhov kev ua yeeb yam.

Kauj Ruam 1: Koj Yuav Tsum Ua Dab Tsi Rau Arena no …

Rau qhov chaw

  • Satellite tais 40 cm txog 60 cm inch
  • Cov hniav (xws li dawb, dub, txiv kab ntxwv, txho)
  • Kub kua nplaum
  • 10 lub tsom iav yas txhaj tshuaj
  • Ntshiab cov khoom siv

Rau khib

  • Ntoo
  • Ntsia Hlau

Cov khoom siv hluav taws xob

  • 1 Lub hwj chim muab 5V lossis USB cable rau txuas nws mus rau 5V qhov chaw
  • 10 LEDs rau thaj chaw teeb pom kev zoo (2 ntawm txhua qhov dawb, daj, liab, xiav thiab ntsuab)
  • 1 LED chaw (dawb)
  • 10 Resistors rau 10 LEDs (220 Ohm)
  • 1 Resistor rau qhov chaw LED (220 Ohm)
  • 2 SN74HC595 8-Bit tso zis hloov pauv rau npe
  • 1 SN74HC165 8-ntsis cov tswv yim hloov pauv rau npe
  • 1 DFPlayerMini (neeg uas ua ntawv MP3)
  • 1 Micro-SD daim npav rau MP3 player
  • 1 Kuj (1k Ohm)
  • 1 Tus hais lus, 4 Ohm
  • 1 Arduino Uno lossis Nano
  • 4 Cov hloov pauv ib ntus (Pib Sib Tw, Ua Tus Cawm Seej Ua tiav, Nplua Nuj Ua Ntej, Tiav Tiav)
  • 2 Momentary keyboards (Volume down, volume up)
  • 6 Resistors rau cov hloov pauv tam sim no (pulldown)
  • 1 On-/off hloov
  • 1 PCB rau teeb tsa cov khoom siv hluav taws xob ntawm nws
  • 1 IKEA lub thawv yas

Software

  • Arduino IDE 1.8.5
  • Fritzing

Kauj Ruam 2: Npaj thiab Xim Xim Lub Satellite Dish

Npaj thiab Xim Xim Satellite Dish
Npaj thiab Xim Xim Satellite Dish
Npaj thiab Xim Xim Satellite Dish
Npaj thiab Xim Xim Satellite Dish
Npaj thiab Xim Xim Satellite Dish
Npaj thiab Xim Xim Satellite Dish
Npaj thiab Xim Xim Satellite Dish
Npaj thiab Xim Xim Satellite Dish

Ua ntej pleev xim rau lub phaj satellite nws yog qhov tsim nyog los ntxuav nws. Tsuas yog tom qab ntawd peb pleev xim nws ob zaug nrog cov xim dawb. Tom qab ntawd peb siv cov ntawv xov xwm qub thiab daim kab xev nplaum los npog qhov kev xav tau ntawm lub tais thiab pleev xim rau xim. Rov ua cov kauj ruam no rau txhua tus qauv lossis ib feem qauv.

Peb muaj kab dub hla, lub voj voos grey ze ntawm ciam teb ntawm cov zaub mov. Ib qho ntxiv peb pleev xim lub voj voog txiv kab ntxwv nyob ze ntawm qhov chaw. Qhov chaw nws tus kheej tau pleev xim liab.

Thaum tag nrho cov xim ziab peb tau siv lub tsho ntshiab los tsim txheej tiv thaiv rau cov xim. Qhov no tiv thaiv thaj tsam ntawm cov xim sib cais.

Kauj Ruam 3: Ntxiv Teeb Pom Kev Zoo

Ntxiv Teeb Pom Kev Zoo
Ntxiv Teeb Pom Kev Zoo
Ntxiv Teeb Pom Kev Zoo
Ntxiv Teeb Pom Kev Zoo
Ntxiv Teeb Pom Kev Zoo
Ntxiv Teeb Pom Kev Zoo
Ntxiv Teeb Pom Kev Zoo
Ntxiv Teeb Pom Kev Zoo

Raws li peb thaj chaw yuav tsum muab cov phiaj xwm teeb pom kev zoo, peb txiav txim siab ntxiv ob peb LEDs nyob ze ntawm ntug ntawm lub phaj satellite. Peb suav nws nyob rau hauv clockwise kom nco ntsoov qhov twg los txuas lub teeb twg rau hauv kev sib txuas ua ke.

Mount LEDs rau lub tais yooj yim xyaum 5mm qhov nyob ib puag ncig ncig lub voj voog. Muab lawv nrog kua nplaum kub. Tom qab ntawd teeb lub iav tsom iav txhawm rau tiv thaiv LED los ntawm cov khoom ua si saum toj ib ncig.

Hlau cov LEDs nyob tom qab ntawm lub tais, hom phiaj txuas lawv rau cov ntsaws.

Rau kev tswj hwm cov LEDs peb siv ob 8-Bit tso tawm cov npe hloov pauv (SN74HC595) txhawm rau txhim kho lub peev xwm ntawm peb cov Arduino digital pins, ib qho rau ib nrab ntawm txoj cai ntawm lub teeb pom kev zoo (LED 1-5) thiab ib qho rau ib nrab sab laug (6- 10). Ntxiv nrog rau cov teeb no, peb tom qab ntxiv ib qho dawb LED qhov chaw ntawm lub satellite phaj ntawm caj npab thiab txuas nrog nws raws li qhov thib rau tso tawm. Ob qho SN74HC595 txuas nrog Arduino nrog tsuas yog peb tus pin. Hauv Arduino peb siv 16-ntsis tsis tau kos npe ua ke kom khaws cov xwm txheej ntawm LEDs. Txhawm rau kom pom ob lossis ntau lub LEDs yooj yim ntxiv lawv qhov txiaj ntsig.

Peb muaj cov phiaj xwm teeb pom kev zoo hauv qab no.

Booting lub arena

Txhua lub LED tau ci rau 50ms hauv ib puag ncig. Tom qab ntawd tag nrho cov LEDs tau hloov mus rau 1, 5 vib nas this, LED spot blazes 2 vib nas this ntev dua.

Pib sib ntaus sib tua (3… 2… 1… cia nws… rip!)

Ob lub teeb liab liab LEDs rau 1 thib ob, tom qab ntawd kaw rau 200ms. Tom qab ntawd cov liab LED tau qhib rau 1 thib ob thiab tom qab ntawd tua. Tom qab 200ms lub teeb daj daj tau qhib rau 1 thib ob thiab rau 200ms tawm. Txoj cai tom qab ntawd tuag LEDs lub teeb daj rau 1 thib ob thiab tom qab ntawd tua tawm. Tom qab 200ms lub teeb ntsuab ntsuab thiab lub teeb pom kev pom LED rau 2 vib nas this, lub teeb pom kev pom lub teeb 2 vib nas this ntev dua.

Qhib tawm tiav

10 ncig txhua thiab txhua lub teeb LED rau 25ms thiab raug tua rau 25ms.

Survivor tiav

Sab laug ib nrab ntawm LEDs thiab ib nrab txoj cai hloov 10 zaug.

Kev tawg tag

Cov dawb LEDs teeb rau 200ms nrog ncua ntawm 100ms. Tom qab ntawd tag nrho cov LEDs teeb rau 2 vib nas this thiab ua ntu zus hauv 750ms ntsuas ntshav dawb, liab, daj, ntsuab thiab xiav sawv tawm.

Kauj Ruam 4: Tsim Cov Tswj Vaj Huam Sib Luag

Tsim Cov Tswj Vaj Huam Sib Luag
Tsim Cov Tswj Vaj Huam Sib Luag
Tsim Cov Tswj Vaj Huam Sib Luag
Tsim Cov Tswj Vaj Huam Sib Luag
Tsim Cov Tswj Vaj Huam Sib Luag
Tsim Cov Tswj Vaj Huam Sib Luag
Tsim Cov Tswj Vaj Huam Sib Luag
Tsim Cov Tswj Vaj Huam Sib Luag

Lub vaj huam sib luag tswj yog ib daim ntoo pleev xim lossis yog tias koj nyiam slat. Tsuas yog laum plaub qhov rau qhov hloov pauv tam sim no (Pib Tsov Rog, Ntiv Tawm Tiav, Ciaj sia taus tas thiab tawg tag) thiab teeb tsa lawv mus rau koj lub rooj tswj hwm. Raws li kuv tus tub thiab kuv tau tawm tsam ob peb kev sib ntaus nrog thawj tus qauv ntawm thaj chaw peb pom tias kev tswj hwm ntim yog lub tswv yim zoo. Qhov tseeb nws tuaj yeem ua haujlwm rau nws hauv Arduino tab sis nws yog qhov txias dua los tswj lub ntim los ntawm ob qhov hloov pauv ib ntus ntxiv. Yog li, laum ob qhov ntxiv rau Volume+ thiab Volume-.

Tsawg kawg ntxiv qhov hloov pauv rau lossis hloov chaw ua khoom siv hluav taws xob.

Kauj Ruam 5: Tsim Lub Plawv Nrog Arduino

Tsim Lub Plawv Nrog Arduino
Tsim Lub Plawv Nrog Arduino
Tsim Lub Plawv Nrog Arduino
Tsim Lub Plawv Nrog Arduino
Tsim Lub Plawv Nrog Arduino
Tsim Lub Plawv Nrog Arduino

Tsim kho vajtse rau peb thaj chaw mloog zoo li muaj qee yam los rau hauv lub neej. Saib Fritzing txoj kev npaj rau txuas Arduino mus rau SN74HC595 thiab SN74SN165, DF player mini, lub sijhawm hloov pauv thiab LEDs. Nws tau pom zoo kom ua haujlwm ntawm lub khob cij ua ntej kom paub zoo txog lub Circuit Court thiab nws cov haujlwm.

Tom qab tsim cov qauv kev hloov pauv rau npe thiab cov resistors solder lawv mus rau lub rooj sib tham tsis muaj dab tsi. Ntxiv DF player mini rau pawg no, ib yam. Cia qhov chaw txaus rau txuas cov xov hlau ntawm cov tais ci LEDs.

Txuas lub sijhawm hloov pauv ntawm lub vaj huam sib luag tswj lub hauv ntej thiab lub zog hloov.

Kauj Ruam 6: Lub Teeb Pom Kev Zoo thiab Lub Suab

Lub software (arena.zip) suav nrog thaj chaw suab thiab teeb pom kev zoo. Rub tawm nws thiab upload nws ntawm Arduino IDE rau koj Arduino.

Tuag ArenaButton chav kawm suav nrog kev nkag mus rau rau rau lub sijhawm hloov pauv nyob rau hauv kev txuas mus rau cov khoom sib txuas ua ke, SN74HC165 (8 ntsis kev nkag ua haujlwm hloov npe).

Chav Kawm ArenaLighting siv lub teeb pom kev zoo los ntawm kev nkag mus rau cov khoom tsim tawm ua ke SN74HC595 (8 ntsis tso tawm ua haujlwm hloov npe).

ArenaSound chav kawm ua suab nrov los ntawm kev nkag mus rau DF player mini. Txhawm rau nkag mus rau MP3 player koj yuav tsum suav nrog lub tsev qiv ntawv (rub tawm los ntawm DFRobot) rau hauv koj qhov project Arduino. Tsis txhob hnov qab theej cov ntawv MP3 rau hauv daim npav SD (cov ntaub ntawv MP3 tsis tau muab) rau kev sib txuas ua ntu zus, pib kev sib ntaus sib tua, qhib lub nplhaib kom tiav, muaj txoj sia nyob ua tiav thiab tawg tas.

Koj tuaj yeem pom Chav Kawm Arena zoo li thiab chav kawm paub daws teeb rau ArenaLighting thiab ArenaSound, vim tias cov kev siv no muaj cov npe txheej txheem ib txwm muaj, yog li cov qauv ntawm lub voj tseem ceeb tseem yooj yim heev.

Kauj Ruam 7: Muab tag nrho ua ke

Muab Nws Tag Nrho Ua Ke
Muab Nws Tag Nrho Ua Ke
Muab Nws Tag Nrho Ua Ke
Muab Nws Tag Nrho Ua Ke
Muab Nws Tag Nrho Ua Ke
Muab Nws Tag Nrho Ua Ke

Mount cov khoom siv hluav taws xob rau hauv lub thawv yas. Ceev faj nrog txhua lub xov hlau kom tsis txhob tawg ib qho ntawm lawv lossis muaj cov pob qij txha txias. Txwv tsis pub koj yuav muaj txoj haujlwm debugging kho vajtse qias neeg heev. Nyob rau pem hauv ntej nce lub vaj huam sib luag tswj.

Tam sim no muab tag nrho lub npov rau ntawm cov ntoo. Lub tais satellite yuav tsum - tau kawg - tau teeb tsa saum lub khib thiab txuas txhua lub xov hlau LED.

Kauj Ruam 8: Muaj Kev Lom Zem

Tam sim no nws yog lub sijhawm los tsim thawj lub sijhawm khawv koob. Hloov mus rau ntawm thaj chaw thiab pom thaj chaw ua kom tsaug zog. Txaus siab rau lub sijhawm zoo siab no!

Qhov kawg koj yuav tsum ua tam sim no yog caw koj cov phooj ywg thiab ua tus tswv ntawm kev sib tw epic!

Tam sim no txaus siab rau koj tus kheej kev sib ntaus sib tua hauv qhov khoom ua si zoo tshaj plaws sab saum toj puas tau!

3… 2… 1….ua tsaug…. rov!

Pom zoo: