Cov txheej txheem:

Hack Koj Tus Usb Missile Launcher Rau Hauv "Auto-aiming Autoturret!": 6 Cov kauj ruam
Hack Koj Tus Usb Missile Launcher Rau Hauv "Auto-aiming Autoturret!": 6 Cov kauj ruam

Video: Hack Koj Tus Usb Missile Launcher Rau Hauv "Auto-aiming Autoturret!": 6 Cov kauj ruam

Video: Hack Koj Tus Usb Missile Launcher Rau Hauv
Video: Как сделать High Powered M Launcher из шприца - Гидравлическая игрушка 2024, Hlis ntuj nqeg
Anonim
Hack Koj Tus Usb Missile Launcher Rau Hauv
Hack Koj Tus Usb Missile Launcher Rau Hauv
Hack Koj Tus Usb Missile Launcher Rau Hauv
Hack Koj Tus Usb Missile Launcher Rau Hauv
Hack Koj Tus Usb Missile Launcher Rau Hauv
Hack Koj Tus Usb Missile Launcher Rau Hauv

Yuav ua li cas kom koj lub foob pob hluav taws usb lub hom phiaj ntawm nws tus kheej. Cov lus qhia no yuav qhia koj kom tig koj lub usb lub foob pob hluav taws hauv lub autoturret uas yuav pom thiab tsom mus rau IR lub hom phiaj. (thov txim tsuas yog lub hom phiaj IR)

Kauj ruam 1: Yam Koj Xav Tau

Yam Koj Xav Tau!
Yam Koj Xav Tau!
Yam Koj Xav Tau!
Yam Koj Xav Tau!

Kuv xav tau dab tsi?

Koj xav tau: 1 wiimote: bluetooth qhib pc 1 Usb lub foob pob hluav taws (duh!) Ducttape GlovePie (Programmable input emulator) Koj tuaj yeem rub tawm glovepie los ntawm: https://glovepie.org/poiuytrewq.php Me ntsis ntawm kev paub dhau los (tsis yog tsim nyog tiag tiag, tab sis, pab koj nkag siab cov phiaj xwm ua tau zoo dua)

Kauj ruam 2: Kev npaj

Kev npaj
Kev npaj

Siv daim kab xev txhawm rau txuas koj lub wiimote rau saum lub foob pob hluav taws. Xyuas kom tseeb tias cov cuaj luaj tseem tuaj yeem tua tau. Lub wiimote yuav tsum taw tes rau pem hauv ntej, thiab muab tso rau hauv nruab nrab ntawm lub foob pob hluav taws zoo li ntawm daim duab. Nco ntsoov tsis txhob npog 1 thiab 2 cov nyees khawm ntawm wiimote, vim tias koj yuav tsum muaj peev xwm nias lawv txhawm rau txuas lawv mus rau koj lub PC (saib cov kauj ruam tom ntej).

Kauj ruam 3: Txuas Wiimote

Txuas Wiimote
Txuas Wiimote

Tam sim no txuas koj lub wiimote rau koj lub PC. Yog tias koj twb paub yuav ua li cas lawm, koj tuaj yeem hla cov kauj ruam no.

Yog tias koj siv bluesoleil ua qhov no: Qhib bluesoleil thiab nias lub pob liab/txiv kab ntxwv nyob nruab nrab ntawm lub vijtsam, qhov no yuav ua rau koj lub pc luam theej duab rau bluetooth li. Thaum koj lub PC ntsuas, nias thiab tuav 1 thiab 2 khawm ntawm koj lub wiimote (LEDs yuav tsum tam sim no pib ntsais muag) thaum koj lub khoos phis tawj pom koj li wiimote koj tuaj yeem tso cov nyees khawm dua. Cov cuab yeej wiimote yuav tsum tshwm ntawm koj lub vijtsam bluesoleil zoo li "Nintendo RVL-CNT-01" lossis qee yam zoo li ntawd. Tam sim no ob npaug nyem qhov tshiab wiimote ntaus ntawv koj lub PC pom. Qhov no yuav ua rau nws luam theej duab rau cov kev pabcuam tau. Tam sim no tus nas icon yuav tsum hloov txiv kab ntxwv. Nyem rau lub cim icon. Yog tias lub cim wiimote tig ntsuab koj tau ua tiav koj li wiimote rau koj lub khoos phis tawj.

Kauj ruam 4: Programming Part1

Programming Qhov 1
Programming Qhov 1

Nrog koj li wiimote txuas nrog lub khoos phis tawj kom raug koj yuav tsum muaj peev xwm siv cov ntawv glovepie nrog nws. Qhib GlovePIE thiab sau qhov no:

debug = wiimote.dot1x yog wiimote.dot1y <462 ces keyboard. Down = tseeb lwm keyboard. Down = tsis tseeb yog wiimote.dot1y> 562 ces keyboard. Up = tseeb lwm keyboard. Up = tsis tseeb yog wiimote.dot1x <462 ces keyboard. Sab laug = qhov tseeb lwm tus keyboard. Left = cuav yog wiimote.dot1x> 562 ces keyboard. Right = tseeb lwm keyboard. Right = cuav Thawj kab ntawv tsis tsim nyog tiag tiag tab sis nws pab koj pom tias koj li wiimote ua haujlwm tau zoo. 2 kab tom ntej no tuav lub hom phiaj kab rov tav. thiab qhov kawg 2 ua haujlwm rau lub hom phiaj ntsug. Nws ua qhov no los ntawm nias lub pob kom yog nyob rau hauv lub foob pob hluav taws software raws li qhov chaw IR lub hom phiaj yog. Yog tias koj lub foob pob hluav taws software siv lwm yam uas tsis yog cov xub tuav rau lub hom phiaj, koj yuav tsum tau hloov kho tus lej. Yog tias koj muaj ntau dua ib lub wiimote txuas nrog koj lub PC, tom qab ntawd hloov qhov "wiimote" nrog "wiimote" ua raws tus lej wiimote koj xav siv. Piv txwv li, yog tias koj siv koj li wiimote thib ob rau qhov no koj yuav sau "wiimote2". Yog tias koj tsis paub meej txog tus lej twg koj yuav tsum siv, tsuas yog muab "wiimote" tsis muaj tus lej nyob ntawd thiab GlovePIE feem ntau yuav xam nws tawm ntawm nws tus kheej.

Kauj Ruam 5: Txoj Kev Kawm Ntu 2: Tua Hluav Taws

Cov kab hauv qab no ntawm tus lej yuav saib xyuas ntawm Shooting mechanism. Tam sim no tom kawg ntawm tsab ntawv ntxiv qhov no: wiimote. Led1 = wiimote.dot1vis wiimote. Led2 = wiimote.dot1vis wiimote. Led3 = wiimote.dot1vis wiimote. Led4 = wiimote.dot1vis Qhov no yuav ua rau LEDs ntawm lub wiimote teeb thaum twg los xij tuaj yeem "pom" lub teeb pom kev deb. Qhov no ua rau koj pom yooj yim dua yog tias wiimote tau txais cov teeb liab IR. Tam sim no peb yuav ntxiv qhov kev tua. Qhov no yuav yog qhov nyuaj me ntsis dua li kab dhau los ntawm cov cai, tab sis kuv vam tias koj nkag siab nws. Thaum kawg ntawm tsab ntawv ntxiv cov hauv qab no: yog wiimote.dot1vis = muaj tseeb ces {yog wiimote.dot1x> 412 thiab wiimote.dot1x412 thiab wiimote.dot1y <612 ces {keyboard. Enter = keyboard tseeb. Enter = cuav}} Thawj kab txheeb xyuas yog tias wiimote tuaj yeem "pom" ib qho IR teeb liab. Kab 2 txheeb xyuas yog tias lub teeb IR nyob hauv nruab nrab ntawm wiimotes "thaj chaw saib". Yog tias yog, lub foob pob hluav taws yuav tsum tsom mus kom raug, thiab lub foob pob hluav taws yuav tua lub foob pob. Yog tias koj lub software foob pob hluav taws tsis siv Enter los tua cov cuaj luaj, koj yuav tsum hloov "keyboard. Enter" mus rau qhov tseem ceeb uas koj siv software.

Kauj ruam 6: Tiav lawm

Tiav lawm
Tiav lawm

Tam sim no koj muaj tag nrho autoaiming wiimote/missile-launcher turret. Qhib koj lub foob pob hluav taws software, thiab txuas lub foob pob hluav taws. Yog tias koj tau teeb tsa txhua yam kom raug, koj tuaj yeem mus tom ntej thiab pib GlovePIE tsab ntawv los ntawm kev ntaus, tom qab ntawd hloov mus rau koj lub foob pob hluav taws software thiab saib raws li lub foob pob foob pob lub hom phiaj thiab tua ntawm IR lub hom phiaj. Nws yuav muaj peev xwm txhawm rau txhua yam uas tso tawm hluav taws xob InfraRed, zoo li tswm ciab, tswj chaw taws teeb lossis wii sensor bar. Yog tias koj ntsib teeb meem lossis muaj lus nug rau kuv, tawm lus lossis xa xov ntiag tug, thiab kuv yuav zoo siab los pab.

Pom zoo: