Cov txheej txheem:
- Kauj Ruam 1: Lub Teeb Sensor Modules
- Kauj ruam 2: Lub Hom Phiaj Kho Vajtse
- Kauj ruam 3: Phom Kho Vajtse
- Kauj ruam 4: Software
Video: Rootin ', Tootin', Shootin 'Game: 4 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
Thaum kuv nyob hauv Nroog Orange, California ob qhov chaw ua haujlwm loj tshaj plaws ntawm cov menyuam kawm ntawv qib siab yog Disneyland thiab Knott's Berry Farm. Vim tias kuv tau kawm txuj ci hluav taws xob los ntawm cov tub rog Kuv tuaj yeem tau txais txoj haujlwm hauv Knott lub chaw tua hluav taws es tsis txhob hnav khaub ncaws lom zem. Cov phom tau siv cov raj hluav taws xob siab nrog cov tsom iav tsom iav thiab lub hom phiaj siv cov duab yees. Cov phiaj xwm phiaj xwm sib tw siv germanium transistors teeb tsa ua flip-flops. Cov transistors tau dhau los ua qhov nyuaj kom nrhiav tau ib tus neeg tau sim hloov lawv nrog cov khoom siv silicon. Hmoov tsis zoo, lawv pom tias lub sijhawm hloov pauv sai ntawm silicon transistors ua rau lawv ua rau muaj suab nrov ntau dua. Qhov ntawd txhais tau tias kev ntaus ib zaug ntawm lub hom phiaj yuav ua rau lub suab nrov dhau thiab ua rau txhua lub teeb nyob ib zaug. Cov lus qhia ntawm no yog qee zaum qeeb yog qhov zoo.
Tsis ntev los no kuv tau xav txog cov hnub ntawd thiab txiav txim siab seb kuv puas tuaj yeem tsim qhov kev ua si tua yooj yim rau kuv cov xeeb ntxwv. Qhov kev ua si tau piav qhia ntawm no pits ob tus neeg sib tw ua ke kom pom leej twg tuaj yeem tau txais tsib hits ua ntej. Kuv kuj tau txiav txim siab siv qhov pheej yig liab laser diode ua lub plawv ntawm rab phom. Koj tuaj yeem siv cov cim taw qhia laser yog tias koj xav tau tab sis lub Circuit Court Kuv suav nrog rau rab phom kom ntseeg tau tias koj tau txhaj ib zaug es tsis txhob khov ntawm nqaj.
Kauj Ruam 1: Lub Teeb Sensor Modules
Thaum xub thawj kuv yuav tsuas yog siv cov duab transistors rau lub ntsuas hluav taws xob tab sis tom qab ntawd kuv tau pom lub teeb pom kev zoo qauv qhia saum toj no. Kuv yuav ib pob ntawm 10 rau tom ntej tsis muaj dab tsi los ntawm Tuam Tshoj tus xa khoom. Cov qauv siv cov duab transistor tab sis lawv khiav lub ntsuas hluav taws xob mus rau hauv LM393 sib piv yog li nws muab cov digital tso tawm nrog rau qhov sib piv. Lub potentiometer onboard tuaj yeem hloov kho kom teeb tsa qib kev mus los ntawm tus neeg sib piv. Nws kuj tseem suav nrog lub zog ntawm LED thiab LED uas teeb thaum tus sib piv hloov cov digital tso tawm. Qhov ntawd ua rau nws yooj yim los kho qib kom raug.
Kauj ruam 2: Lub Hom Phiaj Kho Vajtse
Feem ntau ntawm cov kho vajtse muaj 10 LEDs thiab 10 tus tiv thaiv. Kuv siv tus qauv 5mm ci ntsa iab dawb LEDs rau cov cim 1-4 thiab qeeb flashing LED rau qhov ntsuas thib 5. Qhov hloov pauv yog ib txwm qhib kev sib tham ib ntus thiab tau siv los rov pib ua si. PIC microcontroller yog tus qauv uas kuv tau siv hauv lwm qhov haujlwm. Raws li koj tuaj yeem pom hauv cov duab, Kuv tau tsim cov qauv LED sib cais kom yooj yim los nrhiav lawv hauv lub hom phiaj.
Kauj ruam 3: Phom Kho Vajtse
Cov cuab yeej yooj yim thiab cov txheej txheem rau rab phom laser tau qhia saum toj no. Kuv ua kuv tus kheej rau hauv cov khoom ua si yas airsoft phom. Lub raj raj rau cov pellets yuav luag qhov zoo tshaj plaws rau cov qauv laser diode thiab kuv muaj peev xwm haum lub roj teeb rau ob lub roj teeb AAA hauv qhov qhib rau cov ntawv xov xwm. Muaj ntau qhov pheej yig laser diode modules tawm muaj thiab hauv paus lawv sib txawv tsuas yog tus nqi ntawm qhov tam sim no txwv resistor mounted onboard. Tus resistor txiav txim siab qhov ntsuas hluav taws xob ntawm lub laser module. Kuv siv ob lub roj teeb AAA yog li kuv tau xaiv 3 volt lasers. Qhov hloov pauv yog ib tus ncej, muab ob npaug rau micro hloov. Lub capacitor yog siv los yuam ib qho tawg ntawm lub teeb nrog txhua qhov rub ntawm qhov ua rau. Hauv ib txoj haujlwm ntawm qhov hloov pauv tus capacitor tsub thiab nyob rau lwm txoj haujlwm nws tawm los ntawm lub laser.
Kauj ruam 4: Software
Zoo li txhua yam ntawm kuv cov phiaj xwm PIC, cov software tau sau ua cov lus sib dhos. Dab tsi ua rau txoj haujlwm no txawv txawv me ntsis yog tias Lub hauv paus tseem ceeb tsis muaj dab tsi vim tias txhua qhov kev nqis tes ua tshwm sim hauv tus cuam tshuam cuam tshuam. PIC muaj qhov tshwj xeeb hu ua cuam tshuam-ntawm-kev hloov pauv uas, hauv PICs qub, tsim kev cuam tshuam ntawm ib qho zoo rau qhov tsis zoo lossis tsis zoo rau kev hloov pauv ntawm tus lej I/O. Qhov PIC tshwj xeeb no tso cai rau software teeb tsa qhov cuam tshuam los ua qhov zoo, ntug tsis zoo, lossis ob sab. Lub teeb pom kev zoo module yuav tsim ob sab ntawm kev hloov pauv yog li cov yam ntxwv no tau siv yooj yim. Hauv qhov no, software tos kom txog thaum lub ntsuas hluav taws xob hloov pauv rov qab siab (tawm) ua ntej qhov cuam tshuam tau tsim.
Thaum tau txais kev cuam tshuam sensor, software ib ntus cuam tshuam qhov kev nkag thiab teeb tsa lub sijhawm. Hauv qhov ua tau zoo, lub sijhawm ua haujlwm zoo li kev sib cav hauv Circuit Court rau kev hloov pauv. Ntawm 8-MHz moos xaiv rau PIC thiab teeb tsa rau lub sijhawm, tag nrho lub sijhawm tas li yog txog 130ms. Thaum lub sijhawm ua tiav, nws tseem tsim kev cuam tshuam. Nyob rau ntawm qhov ntawd, lub tswv yim nkag tau rov qhib dua. Txhua lub tswv yim nkag tau nws tus kheej lub sijhawm teem tseg yog li tsis muaj kev sib cav ntawm cov neeg ua si.
Txhua lub sensor cuam tshuam tseem yuav teeb ib qho ntawm LEDs rau tus neeg ua si ntawd. Hloov chaw ntawm lub txee, software siv qhov sib txawv uas muaj teeb tsa me ntsis. Qhov me ntsis tau sab laug txav nrog txhua qhov cuam tshuam thiab tom qab ntawd OR'ed rau hauv qhov chaw nres nkoj tso tawm kom pom lub teeb ci LED tom ntej. Thaum LED kawg tau teeb, tus cuam tshuam cuam tshuam cuam tshuam kev cuam tshuam txuas ntxiv thiab qhov ua tau zoo kaw lwm tus neeg ua si. Qhov hloov pauv tau txuas nrog MCLR cov tswv yim ntawm PIC thiab cov khoom teeb tsa tau teeb tsa los tso cai ua haujlwm ntawd. Thaum rov pib dua, nias lub software yuav rov pib dua thiab tshem tawm cov LEDs.
Nov yog nws rau kab ntawv no. Txheeb xyuas kuv lwm cov phiaj xwm hluav taws xob ntawm www.boomerrules.wordpress.com
Pom zoo:
Game Game in Flick in 5 Steps: 5 Kauj Ruam
Kev Tsim Game hauv Flick hauv 5 Kauj Ruam: Flick yog txoj hauv kev yooj yim heev ntawm kev ua si, tshwj xeeb yog qee yam xws li kev sib dhos, kev pom tshiab, lossis kev ua si lom zem
Yuav Ua Li Cas Ntxuav Yuav luag Txhua Tus Game Game Controller: 5 Kauj Ruam
Yuav Ua Li Cas Ntxuav Yuav luag Txhua Tus Tswj Kev Ua Si: Kuv muaj ib txhais tes ntawm cov Logitech Dual Action tswj uas kuv siv rau Raspberry Pi emulator uas kuv yuav tau tshaj tawm Cov Lus Qhia rau sai sai. Thaum sim siv lub maub los no dhau ib xyoos), feem ntau ntawm cov nyees khawm ntawm th
NeoPixels Matrix Game Snake Game: 4 Cov Kauj Ruam
NeoPixels Matrix Game Snake Game: Koj puas tseem nco tau game nab uas peb tau ua ntawm peb lub npov game lossis mobile thaum peb tseem me? Hnub no peb yuav kawm paub yuav ua li cas ua si nab nrog 8*8 NeoPixels Matrix. Peb xaiv Arduino uno ua lub chaw tswj hwm thiab Joystick breakout module los ua ke
Yuav Ua Li Cas Txhim Kho Kev Tswj Xyuas AGS-001 Pem Hauv Ntej Rau Hauv Qhov Game Game Boy Advance (Tsis Muaj LOCA!): 5 Kauj Ruam (nrog Duab)
Yuav Ua Li Cas Txhim Kho Kev Tswj Xyuas AGS-001 Pem Hauv Ntej Rau Hauv Qhov Kev Ua Si Thawj Tub Ntxhais Ua Ntej (Tsis Muaj LOCA!): Koj tab tom nrhiav kom pom koj lub Game Game Boy Advance qub. Koj tsis tuaj yeem pom cov khoom siv tshiab IPS backlit IPS nyob txhua qhov chaw, thiab cov khoom siv AGS-101 qub dhau ntawm cov khoom lossis cov nqi ntau dhau. Dhau li, koj xav kom tuaj yeem pom lub vijtsam thaum koj nyob nraum zoov
Simon Game - Game Fun!: 5 Kauj Ruam
Simon Game - Game Fun!: Siv: Tom qab lub asthiv ntev, koj yuav tsum mob siab ua kom tiav txhua txoj haujlwm thiab ua haujlwm uas koj muaj lub luag haujlwm. Nws yog lub sijhawm rau peb qhia peb lub hlwb, puas yog? Dhau li ntawm cov kev ua si lom zem thiab tsis muaj qab hau, muaj game uas hu ua Simon Game