Cov txheej txheem:
- Kauj ruam 1: Txheej txheem cej luam
- Kauj ruam 2: Pib
- Kauj Ruam 3: Hloov Kho Lub Teeb Phom
- Kauj ruam 4: Transmitter
- Kauj ruam 5: Txais
Video: Arduino Laser Tag - Duino Tag: 11 Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:31
Duino tagger- Cov lus qhia dav dav Duino lossis yog lub tshuab laser cim raws ib puag ncig ntawm arduino. Thaum kawg lub tshuab laser tag uas tuaj yeem hloov kho thiab hacked kom txog rau thaum koj muaj lub tshuab laser zoo tagnrho rau lub chaw ua haujlwm tsis muaj phom, kev ua tsov rog hauv hav zoov thiab kev sib cav nyob ib puag ncig. Laser tag yog kev sib ntaus sib tua zoo li paintball lossis airsoft tsis muaj mob, nws siv lub teeb infrared (IR) los simulate tagging / tua ntawm lwm tus players lossis lub hom phiaj. Kuv tau ua haujlwm ntawm txoj haujlwm no ib pliag, tab sis tsis pom nws li lawm, Kuv tsuas yog nws yog lub sijhawm kom tau txais coob leej neeg koom nrog. Cia siab tias cov lus qhia no yuav nyob ze txaus ua tiav rau lub sijhawm rau kuv nkag mus rau hauv kev sib tw arduino, txawm hais tias kuv cia siab tias cov ntawv qhia yuav xav tau kho thiab kho dua rau qee lub sijhawm tuaj. Cov lus qhia no lub hom phiaj muab koj nrog cov ntaub ntawv koj yuav xav tau tawm mus thiab tsim koj tus kheej duino tagger. Cov lus qhia no tsom mus rau yuav ua li cas tsim lub duino tagger los ntawm kev hloov kho lub teeb phom tab sis nrog kev ua haujlwm ntxiv me ntsis koj tuaj yeem tsim koj tus kheej rab phom los ntawm kos. Cov lus qhia no tsis saib kom ntxaws ntau dhau ntawm software / code sab ntawm txoj haujlwm, txawm hais tias muaj txoj cai ua haujlwm raws li mais tag raws tu qauv tau muab. Rau cov uas xav kawm paub txog duino tagger programming kuv hais qhia koj pib ntawm qhov qhia tau zoo nyob ntawm A Ideal Terrible. Thoes kev paub txog cov neeg siv arduino tej zaum yuav pom cov ntsiab lus ntawm nplooj ntawv (Kauj Ruam 1) thiab nplooj ntawv nplooj ntawv (Kauj Ruam 8) qhov muaj txiaj ntsig tshaj plaws, cov neeg siv arduino tshiab yuav xav tau ua tib zoo saib ntawm cov lus qhia thiab cov txuas tau muab. Kuv vam tias ntau ntawm koj yuav pom cov lus qhia no muaj txiaj ntsig thiab yuav txuas ntxiv tsim koj tus kheej duino taggers. Muaj ntau txoj hauv kev los txhim kho thiab kho dua tshiab cov kab ke uas tau hais tseg ntawm no. Yog tias koj mus txuas ntxiv txhim kho ntawm duinotagger no thov qhia koj txoj haujlwm thiab vam tias nyob rau lub sijhawm cov txheej txheem yuav hloov pauv mus rau qhov kev paub twv txiaj ntau dua. Youtube cov vis dis aus ntawm kuv tus duino taggers: Cov vis dis aus no qhia kuv siv tus lej thib ob duino kuv tau ua los tua ntawm lub hom phiaj talcapult uas kuv tau ua haujlwm. Kuv vam tias yuav ua ib qho kev qhia paub txog talcapult sai.
Kauj ruam 1: Txheej txheem cej luam
Txheej txheem cej luam Qhov tseem ceeb ntawm duino tagger: IR Transmitter system Dab tsi - Transistor amplifier, lub zog loj IR LED thiab lub lens kom muab lub teeb tsom IR zoo. Vim li cas - Txhawm rau muab tagger txhais tau tias ntawm tagging / tua lwm tus players nrog rau kev sib txuas lus cov ntaub ntawv game. Lub tshuab xa hluav taws xob nthuav dav cov teeb liab xa los ntawm arduino thiab xa nws siv IR LED, lo ntsiab muag tau siv los ua lub teeb liab kom ncaj qha txhawm rau ua kom cov phom coj zoo li phom thiab ua kom ntev kis tau zoo. lub suab kaw / rov ua hluav taws xob los ntawm daim npav tos txais) Vim li cas - Nws yog qhov zoo uas muaj qee cov lus tawm suab los ntawm cov kab ke. Lub suab los qhia rau koj paub thaum tus cim tagger tau raug tua lossis tsis muaj mos txwv lossis lub neej. Receivers Dab tsi - Tus qauv IR tus qauv txais thiab lub hwj chim tswj lub peev xwm Vim li cas - Yog li rab phom paub thaum nws tau raug tua. Kev tsim qauv hauv cov lus qhia no saib ntawm kev siv 3 lub cim 1 ntawm rab phom nrog rau pem hauv ntej thiab nraub qaum lub taub hau. qhia rau koj paub thaum twg koj raug tua. Nqi Los ua ntu no ua phooj ywg thoob ntiaj teb; thaum lub sijhawm sau ntawv: £ 1 GBP = $ 1.6 USD = 1.1 EUR Piv txwv tias koj twb muaj tus arduino cov khoom siv yooj yim ntxiv rau txoj haujlwm no tuaj yeem yuav tau ib ncig £ 10. Tam sim no yog lub sijhawm zoo los sim tsim lub duino tagger vim nws yooj yim kom tuav tau rab phom rab phom pheej yig. Cov phom me yog cov phom uas koj tuaj yeem siv nrog ua si hauv computer, ntau ntawm lawv tsis ua haujlwm nrog cov ntxaij vab tshaus LCD niaj hnub no thiab yog li muaj ntau ntawm lawv mus rau ntawm eBay thiab lwm qhov twg. Kuv yuav ob lub phom phom txhua tus nqi kwv yees li £ 4 ib qho tawm ntawm ebay ib qho los ntawm lub khw siab hlub. Cov phom phom yog lub hauv paus pib zoo rau txoj haujlwm no vim lawv muab cov kho qhov muag, hloov pauv thiab cov ntaub ntawv xav tau rau kev tsim. Koj yuav xav tau: Arduino Lub Teeb Phom Xim Xim LED (nyiam dua 30mA+) IR sensors Tsawg kawg 2x IR LED sib phim rau IR tus txais (nyiam dua 100mA+) Peizo sounder Fais fab transistor /MOSFET Ob peb lub hauv paus hluav taws xob: solder, resistors, capacitors. Koj kuj tseem xav tau seem yas yas LED kab teeb tsav tsav Ntau LED's Sau koj tus kheej cov lus txais tos daim npav Lub kaus mom / lub kaus mom hlau / lub taub hau txhawm rau txhawm rau ntsuas cov cim ntawm
Kauj ruam 2: Pib
BasicsPage sim pab cov khoom siv hluav taws xob noobs. Some cov hauv paus uas muaj txiaj ntsig ntawm ntau lub ntsiab lus hauv kev tsim ntawm duino tagger. R = ResistorC = CapacitorV = VoltageI = CurrentUsing LED'sLED's yuav tsum tau siv nrog tus tiv thaiv kom txwv qhov tam sim no los ntawm lawv. Xaiv qhov tam sim no LED yuav ua haujlwm ntawm R = (V muab -V coj) /INot: Koj yuav zaum tsuas yog tuaj yeem theej cov tshuaj tiv thaiv qhov tseem ceeb uas kuv tau siv. Cov nyees khawm (ua rau lwm yam) hauv txoj haujlwm no tau xav tias yuav muab qhov hluav taws xob qis thaum nias. Cov txheej txheem txheej txheem rau qhov no tau qhia hauv daim duab qhia chaw. FiltersR C (Resistor Capacitor) cov khoom siv hluav taws xob tuaj yeem siv tau ntawm ob peb qhov chaw hauv duino tagger, txawm hais tias ua kom yooj yim hloov pauv ntawm lub zog hluav taws xob lossis hloov PWM cov cim rau hauv qib sib piv, tsis nyuaj li nws yuav zoo li: Siv dej kev sib piv rau hluav taws xob thiab tam sim no tus tiv thaiv ua haujlwm zoo li cov yeeb nkab nqaim (xav txog cov quav) tsuas yog tso dej qeeb (tam sim no) ntws. Lub capacitor ua haujlwm zoo li lub tank dej loj / thoob. Cov lim dej qis hauv daim duab ua haujlwm zoo li quav nyab thiab lub thoob sib xyaw: Txawm tias koj hloov pauv cov dej ntws los lossis tawm ntawm lub thoob qhov siab (qhov hluav taws xob) yuav hloov pauv qeeb. Txiav tawm zaus kom dhau qis: f = 1/(2pi*R*C)
Kauj Ruam 3: Hloov Kho Lub Teeb Phom
Hloov kho rab phom teeb Nov yog qee qhov lus qhia dav dav thiab cov tswv yim: Cov khoom siv muaj txiaj ntsig los tso rau hauv: SwitchesTrigger LED'sLense Ntxiv qhov chaw cia rau koj lub teeb phom: Siv cov khoom haum tuaj yeem nyuaj, koj kuj tseem yuav tsis xav muab koj cov arduino tso rau hauv rab phom. Kuv xav kom tuaj yeem tshem tawm kuv cov arduinos tau yooj yim los ntawm kuv cov duino taggers yog li kuv tuaj yeem siv lawv hauv lwm qhov haujlwm. Ntawm ib qho ntawm kuv tus duino taggers (rab phom MK1) Kuv txiav qhov hauv rooj plaub rau tus pin arduino nano kom dhau mus thiab teeb lub qhov (socket) nyob rau sab hauv ntawm rab phom kom cov arduino ntsaws rau sab nraud ntawm rab phom. Ntawm kuv rab phom Mk2 kuv ntxiv cov ntaub ntawv sab nraud rau arduino thiab sim ua kom nws zoo li lub mos txwv. Cov ntaub ntawv / ammo clip tau ua los ntawm cov yas Kuv tau txais los ntawm cov ntawv nplaum pheej yig lub nplhaib thiab nws npog tau tuav hauv qhov chaw los ntawm cov hlau nplaum muaj zog.
Kauj ruam 4: Transmitter
IR transmitter Koj yuav xav tau: IR LED: Saib rau LED nrog lub nqaim pom lub kaum ntse ntse (kom ntseeg tau tias ntau npaum li cas ntawm IR lub teeb ua rau nws hla lub optics). Xaiv LED nrog lub nthwv dej uas haum koj li IR cov txais. Tau txais qee qhov khoom seem LED raws li lawv tau ua haujlwm siab dua lawv cov ntsuas tam sim no yog li yuav hlawv tawm. Koj tuaj yeem tsuas yog txuas IR LED (nrog qhov txwv tam sim no tiv thaiv) rau tus pin tso tawm ntawm arduino thiab nws yuav tuaj yeem xa tawm, tab sis qhov ntau ntawm duino tagger yuav tsis zoo heev. Txhawm rau txhawm rau txhim kho qhov ntau ntawm duino tagger amplification xav tau. Qhov yooj yim amplifier kuv tau ua yog ib qho yooj yim transistor Circuit (daim duab qhia chaw muab), koj yuav xav txiav txim siab mosfet hloov ntawm transistor. Current los ntawm LED: Kuv tsom rau txog 300mA tam sim no los ntawm IR LED. Qhov no ntau dua li qhov ntsuas tam sim no rau LED, tab sis LED zoo li tuaj yeem tiv taus vim tias koj tsuas yog ua rau lub siab tam sim no rau lub sijhawm luv. Yog tias koj siv 5V muab los ntawm arduino los ua kom lub zog LED nws tsuas tuaj yeem muab kwv yees li 400/500mA yog li siv 300mA rau IR transmitter Led tsis tso ntau dhau rau lwm tus LED thiab hais lus thiab lwm yam, yog li liab qab qhov no hauv siab thaum tsim tsim koj tus duino tagger, nws yuav yog lub tswv yim zoo los ntxiv qhov ntsuas hluav taws xob muaj peev xwm muab cov dej ntws ntau dua. Koj yuav tsum tau siv lub tsom iav tsom mus rau IR nqaj, koj tuaj yeem siv lub tsom iav uas tuaj nrog rab phom. Koj tuaj yeem siv lub teeb liab liab los ua haujlwm qhov twg tso IR coj kom tau txais lub teeb pom kev zoo. Yog xav paub ntau ntxiv saib cov mais mais site.
Kauj ruam 5: Txais
Khiav Tawm Hauv Kev Sib Tw Arduino
Pom zoo:
Cov Duab Duab Duab thiab Cov Duab 1: 4 Cov Kauj Ruam (nrog Duab)
Cov Duab Duab Cubes thiab Cov Duab 1: Thaum sim nrog qee cov ntoo ntoo thiab cov duab los qhia, kuv pom ob peb txoj hauv kev los ua cov voos thiab lwm yam duab los ntawm cov khoom siv yooj yim. Los ntawm kev muab cov no los ua Cov Ntawv Qhia, Kuv vam tias yuav txhawb nqa kev ua si thiab kev kawm. Kev hloov pauv ntawm qhov kev qhia no
Yuav Ua Li Cas Thiaj Li Tshem Tawm Lub Computer Nrog Cov Kauj Ruam Yooj Yim thiab Duab: 13 Kauj Ruam (nrog Duab)
Yuav Tsum Tshem Tawm Lub Khoos Phis Tawj Li Cas Nrog Cov Kauj Ruam Yooj Yim thiab Duab: Nov yog cov lus qhia txog yuav ua li cas tshem lub PC. Feem ntau ntawm cov khoom siv yooj yim yog hloov pauv thiab tshem tawm tau yooj yim. Txawm li cas los xij nws yog ib qho tseem ceeb uas koj tau koom nrog nws. Qhov no yuav pab tiv thaiv koj kom tsis txhob poob ib feem, thiab tseem ua rau kev rov ua dua tshiab
Cov Duab Duab Duab Duab, WiFi Txuas - Raspberry Pi: 4 Cov Kauj Ruam (nrog Duab)
Cov Duab Duab Duab Duab, WiFi Txuas - Raspberry Pi: Nov yog txoj hauv kev yooj yim heev thiab tus nqi qis mus rau cov duab thav duab digital - nrog qhov zoo ntawm kev ntxiv /tshem cov duab hla WiFi ntawm 'nyem thiab luag' siv (pub dawb) xa cov ntaub ntawv . Nws tuaj yeem siv tau los ntawm qhov me me £ 4.50 Pi Zero. Koj tseem tuaj yeem hloov pauv
Infrared Laser Tag Nrog Raspberry Pi Xoom: 6 Cov Kauj Ruam (nrog Duab)
Infrared Laser Tag Nrog Raspberry Pi Zero: Cov lus qhia no yuav taug kev los ntawm cov txheej txheem rau tsim Infrared Laser Tag game siv lub hauv paus server hauv computer thiab Raspberry Pi xoom rau txhua tus neeg ua si. Txoj haujlwm vam khom ntau ntawm Wifi txuas los sib tham nrog tus neeg rau zaub mov uas ua rau
CAR-INO: Hloov pauv tag nrho ntawm Lub Tsheb RC Qub Nrog Arduino thiab Bluetooth Tswj: 5 Cov Kauj Ruam (nrog Duab)
CAR-INO: Kev Hloov Pauv Tag Nrho ntawm Lub Tsheb RC Qub Nrog Arduino thiab Kev Tswj Bluetooth: Qhia Taw Qhia Nws yog xsmas 1990 thaum Santa muab kuv lub Ferrari F40, lub tsheb nrawm tshaj plaws hauv ntiaj teb! … Thaum ntawd T