Cov txheej txheem:

Ua Koj Tus Kheej Hyperion New-U Station From Borderlands 2:15 Cov Kauj Ruam
Ua Koj Tus Kheej Hyperion New-U Station From Borderlands 2:15 Cov Kauj Ruam

Video: Ua Koj Tus Kheej Hyperion New-U Station From Borderlands 2:15 Cov Kauj Ruam

Video: Ua Koj Tus Kheej Hyperion New-U Station From Borderlands 2:15 Cov Kauj Ruam
Video: 9xhmtg lus qhuab qhia chiv keeb 27 yakhauj txeeb exaus koob hmoov txhais vajlugkub 2024, Hlis ntuj nqeg
Anonim
Image
Image
Teeb tsa Pi
Teeb tsa Pi

New-U cov chaw nyob hauv Borderlands 2 yog qee qhov tseem ceeb tshaj plaws ntawm qhov kev ua si (txawm tias lawv tsis yog canon). Yog li, kuv txiav txim siab ua ib qho!

txoj haujlwm no yooj yim zoo nkauj thiab yuav xav tau 0 kev paub txog Linux lossis nab hab sej (tshwj tsis yog koj xav tau)

nws yuav suav nrog kev siv lub vev xaib ntsaws rau hauv raspberry pi txhawm rau txheeb xyuas cov lus tsa suab thiab ua yeeb yaj kiab los ntawm kev ua si txhua zaus koj taug kev.

Khoom siv

Tej zaum koj yuav xav tau:

raspberry pib

daim npav micro sd

rakkahol (kom koj lub siab tawm ntawm Bloodwing)

USB lub webcam

saib nrog w/ HDMI

ethernet (yog tias koj tus pi tsis muaj wifi)

qee qhov softwares random (teev tom qab)

drywall spackle

ntawv

Felicia Sexopants 'badonkadonks (lawv tau raug nyiag los ntawm cov tub sab ob peb hnub dhau los. Mus mus' em!)

acrylic xim

soldering hlau (ntxiv rau cov laug thiab cov dej ntws (yog tias koj ua qhov zoo li ntawd))

Kauj ruam 1: Teeb Pi

Teeb tsa Pi
Teeb tsa Pi

yog, kuv paub koj tau ua qhov no ib plhom zaug, tab sis kuv yuav qhia koj ib qho ntxiv vim tias SHUT THE HELL UP MORDY!

Ua ntej tshaj, koj yuav tsum tau lob koj tus kheej qee qhov raspbian. nyem koj tus ntiv tes ntsuas phoo no-a-txoj hauv kev kom rub nws.

tos nws rub tawm, tom qab ntawd rub nws thiab hlawv cov ntaub ntawv.img rau koj daim npav SD nrog win32diskimager.

Kauj ruam 2: Teeb tsa Pi (txuas ntxiv)

Teeb tsa Pi (txuas ntxiv)
Teeb tsa Pi (txuas ntxiv)
Teeb tsa Pi (txuas ntxiv)
Teeb tsa Pi (txuas ntxiv)
Teeb tsa Pi (txuas ntxiv)
Teeb tsa Pi (txuas ntxiv)

tom ntej no, ntsaws tus pi rau koj lub monitor, internet, thiab keyboard thiab nas.

pi yuav tsum khiav koj los ntawm cov txheej txheem teeb tsa yooj yim. ib zaug koj ntaus lub desktop, ua cov hauv qab no:

nce mus rau lub tshuab raj pib, xaub mus rau qhov nyiam thiab coj mus rhaub "raspberry pi teeb tsa". hloov tabs mus rau ntu "cuam tshuam", tom qab ntawd ua kom ob qho tib si VNC thiab SSH, tom qab ntawd rov pib dua koj li pi.

qhib lub davhlau ya nyob twg (hauv qab cov khoom siv hauv cov ntawv qhia zaub mov pib) thiab ntaus

ifconfig

sau tus IP chaw nyob ib sab ntawm "inet".

Tom ntej no, rov qab mus rau koj lub PC thiab rub tawm qhov program no. ib zaug nws ua tiav, qhib qhov program thiab ntxiv koj pi siv qhov inet chaw nyob uas koj sau cia. Tam sim no koj yuav tsum muaj peev xwm siv koj tus pi los ntawm kev nplij siab ntawm koj lub pc!

Kauj Ruam 3: Teeb Webcam

hauv VNC, ntaus cov lus txib:

sudo apt-tau nruab rpi-hloov tshiab

thaum nws ua tiav, ntaus qhov hais kom ua

rpi-hloov tshiab

(los ntawm no, yog tias muaj ob kab ntawm txoj cai: khiav thawj, tos kom nws ua tiav, tom qab ntawd khiav thib ob)

sudo apt-tau hloov tshiab

sudo apt-tau hloov tshiab

xyuas kom tseeb tias koj lub vev xaib raug ntsaws rau hauv pi, tom qab ntawd khiav:

sudo apt-tau nruab fswebcam

fswebcam test.jpg

qhov no teeb tsa lub vev xaib ua ntej yuav tsum tau ua thiab siv daim duab xeem.

qhib tus thawj tswj ntaub ntawv, thiab qhib "test.jpg"

Kauj Ruam 4: Teeb tsa Kev Tshawb Fawb

Teeb tsa Kev Tshawb Fawb
Teeb tsa Kev Tshawb Fawb

tsab ntawv tsa suab yog ib txoj haujlwm tsim los rau kev nyab xeeb ntawm tus kheej, ua rau koj siv lub webcam thiab pi zoo li nws yog CCTV system. peb yuav siv nws txhawm rau txheeb xyuas cov lus tsa suab thiab pib tsab ntawv nab nab thaum nws ua.

sudo apt-tau nruab tsab ntawv tsa suab

Thaum qhov no ua tiav, qhib cov ntaub ntawv teeb tsa nrog:

sudo nano /etc/motion/motion.conf

thawj qhov kev xaiv koj yuav tsum pom yog "daemon", hauv ntu no, hloov "daemon tawm" rau "daemon on"

tom ntej no, nyem Ctrl+W txhawm rau tshawb cov ntawv, thiab ntaus:

event_gap

hloov lub neej ntawd 60 mus rau qhov phem dua 6 (koj tuaj yeem ua qhov no txhua yam koj xav tau, tab sis qhov no ua haujlwm rau kuv)

nias Ctrl+x, nias y, tom qab ntawd ntaus nkag los cawm koj txoj haujlwm

Kauj ruam 5: Ua Random Audio Script

cov kauj ruam tom ntej yog kom tau txais cov lus tsa suab los ua Tus Tshiab-U lub suab kaw thaum nws pom cov lus tsa suab. Hmoov tsis zoo, nws ua tsis tau li ntawd, yog li peb yuav tsum ua kom nws ua nab npawb rau qhov no.

tsis txhob qhia koj li cas rau tus lej, imma tsuas yog cia koj rub cov ntawv yooj yim ntawm no thiab hloov cov ntawv hla VNC

koj txais tos, shorty

txav nws mus

/home/pib

(default nplaub tshev thaum koj qhib cov ntawv browser)

xyuas kom nws lub npe:

rvoice.py ua

Kauj Ruam 6: Ua Tsab Ntawv Teev Npe Ua Tsab Ntawv no

Ua tsab ntawv tsa suab Tsab ntawv no
Ua tsab ntawv tsa suab Tsab ntawv no

ib zaug rvoice.py tau txais kev cawmdim rau /tsev /pi, koj tuaj yeem ua cov lus tsa suab qhib nws. rov qab mus rau hauv motion.conf nrog

sudo nano /etc/motion/motion.conf

dua, nyem Ctrl+W mus tshawb, thiab ntaus:

on_event_start

rho tawm qhov semicolon thiab qhov chaw thaum pib ntawm kab.

tom qab ntawd rho tawm lo lus "tus nqi" thiab hloov nws nrog

/usr/bin/nab hab sej /home/pi/rvoice.py

Kauj ruam 7: Ntxiv Cov Ntaub Ntawv Suab

txhua yam ntawm koj cov ntaub ntawv audio yuav tsum muaj nyob hauv Pi lub suab paj nruag lub neej ntawd (/tsev/pi/Music)

koj tuaj yeem tso ib lub suab uas koj xav tau hauv cov ntawv, yog li nws tuaj yeem ua suab paj nruag ciam teb ua ntej kaw suab kaw suab, kaw lub suab kaw los ntawm cl4p-tp, ntxiv lub tswb nrov thiab ua suab yooj yim qhib lub tswb. lossis txawm tias ntxiv ib zaj nkauj rau Mordecai tus noog ruam (hauv E me).

Kuv muaj tag nrho Borderlands 2 lub ntsiab lus tseem ceeb Tshiab-U lub suab kaw (Kuv tsis tuaj yeem pom ib qho los ntawm DLC)

koj tuaj yeem rub tawm tag nrho 52 ntawm lawv ntawm no.

yog tias koj xav tau qee cov ntaub ntawv suab, qhov Reddit tshaj tawm no tuaj yeem pab tau.

Kauj Ruam 8: Ua Tsab Ntawv Pib Txiav

qhib lub davhlau ya nyob twg zoo nkauj dua ib zaug thiab thawb tus lej no rau hauv nws caj pas:

sudo systemctl pab kom txav tau

thiab qhov ntawd yuav tsum yog nws! cia li reboot, thiab nws yuav pib txiav. (ceeb toom, qhov no tuaj yeem siv sijhawm me ntsis, yog li tos li, ib txog tsib feeb saum toj tom qab koj ntsaws nws) koj tuaj yeem tshawb xyuas yog tias cov lus tsa suab tau khiav nrog:

ps -aux | grep zog

yog tias nws tsis pib txiav, nrhiav lwm tsab ntawv hauv online thiab mob ntxiv rau kab ntawv

Kauj Ruam 9: Ua Lub Webcam Ntau Dua

Ua rau Webcam Ntau Yam Nyiam
Ua rau Webcam Ntau Yam Nyiam

Kuv disassembled kuv lub webcam kom deb li kuv tuaj yeem tau txais, tom qab ntawd tsoo lub hnab yas tawm nrog rauj rau ntawm txoj kev.

tom ntej no, Kuv tau npaj tawm qhov twg kuv xav kom lub vev xaib mus thaum ua ke tag nrho

Kauj Ruam 10: Kaw Kab

Ua kom luv Cable
Ua kom luv Cable
Ua kom luv Cable
Ua kom luv Cable
Ua kom luv Cable
Ua kom luv Cable

Tom qab ntawd kuv txiav cov cables kom ntev dua qhov tsim nyog thiab hle cov xov hlau.

Kuv rov muag dua txhua lub xov hlau thiab tiv thaiv nws nrog hyperion-e-daim kab xev. Kuv cuam rau qee qhov cua sov ntsws tubing thiab ntsaws cov xov hlau rov qab rau hauv lub vev xaib.

Kauj Ruam 11: Ua Case

Ua Case
Ua Case
Ua Case
Ua Case
Ua Case
Ua Case

Kuv ua qhov yooj yim tshaj plaws, lub thawv tsis zoo tshaj plaws uas tau ua los ntawm 1/8 nti plywood, tom qab ntawd kuv txiav lub qhov rau lub koob yees duab thiab lwm qhov ntawm sab rau lub zog, yees duab, thiab suab.

Kuv tau sim ua lub thawv no kom me me li sai tau, tawm hauv yuav luag tsis muaj chav nyob hauv lub thawv, yog li kuv xaus qhov xav tau los laum qhov rau txoj hlua txuas kom xaws ncig.

Kauj Ruam 12: Hlau hauv Tus Hais Lus

Hlau hauv Tus Hais Lus
Hlau hauv Tus Hais Lus
Hlau hauv Tus Hais Lus
Hlau hauv Tus Hais Lus
Hlau hauv Tus Hais Lus
Hlau hauv Tus Hais Lus
Hlau hauv Tus Hais Lus
Hlau hauv Tus Hais Lus

Kuv siv txoj kev loj dhau ntawm tus hais lus rau lub npov no, Kuv xaus qhov xav tau siv lub router los zeb qee qhov chaw rau nws.

Kuv tau sib cais tus qub Bluetooth pod hais lus thiab sau cov amp Circuit thiab tus tsav tsheb.

Kuv ntsia mus siv lub gpio pins rau lub suab tso tawm, tab sis tsis tuaj yeem xam nws tawm, yog li ntawd, kuv yuav muaj hwj chim los ntawm gpio, thiab suab los ntawm qhov chaw nres nkoj aux.

los xaim tus hais lus rau hauv pi, Kuv desoldered Li-ion roj teeb los ntawm amp Circuit thiab txuas qhov zoo thiab hauv av rau hauv gpio pins 04 & 06 feem (saib daim duab saum toj no).

tom ntej no, Kuv tau siv qee qhov ntawm kuv txoj kev cob qhia Tetris rau JAM txhua yam hauv lub thawv.

Kauj Ruam 13: De-crapify Nws

De-crapify Nws
De-crapify Nws
De-crapify Nws
De-crapify Nws

Kuv cuam tshuam qee qhov phab ntsa ntub dej kom puv qhov khoob hauv cov ntiv tes sib txuas, tom qab ntawd muab lawv txhuam kom tiaj thaum nws qhuav.

tom qab ntawd kuv tau ntxiv qee qhov sib tov ntxiv nrog dej thiab smeared nws thoob plaws qhov chaw, tom qab ntawd muab daim ntawv hla nws. Kuv thawb cov pa cua tawm thiab cia nws qhuav.

hnub tom ntej, Kuv tau so ntawm 4-5 lub tsho loj ntawm qee satin polyurethane, qhov no muab nws lub plhaub tawv kom daim ntawv yuav tsis tawg thaum tha xim

tsis yog qhov no zoo nkaus li tawm ntawm Tina lub rhiav, tab sis nws ua rau peb ua kom zoo nkauj tiaj thiab dawb nto kom pib pleev xim.

Kauj Ruam 14: Ua Nws Zoo Li Qub Li Pob Zeb

Ua Nws Zoo Li Qub Li Pob Zeb
Ua Nws Zoo Li Qub Li Pob Zeb
Ua Nws Zoo Li Qub Li Pob Zeb
Ua Nws Zoo Li Qub Li Pob Zeb
Ua Nws Zoo Li Qub Li Pob Zeb
Ua Nws Zoo Li Qub Li Pob Zeb
Ua Nws Zoo Li Qub Li Pob Zeb
Ua Nws Zoo Li Qub Li Pob Zeb

Raws li zoo li tag nrho C4 saib yog, Kuv tsis xav kom raug ntes nrog nws soooooooo:

Kuv txiav li 2x4 qhov loj ib yam li cov cib thiab xyaum pleev xim rau qhov ntawd ua ntej.

Kuv ntxiv qee qhov Hyperion daj rau txhua yam thiab kos kuv tus qauv ntawm lub ntsej muag. Kuv siv tus neeg zoo nraug Jack lub ntsej muag tiag tiag raws li xim kev tshoov siab rau lub cim vault.

Kuv coj nws qeeb, thiab pleev xim rau xim xiav rau ntawm ntug, tom qab ntawd txav mus rau qhov sib dua xiav, thiab thaum kawg yuav luag neon xiav rau qhov tseem ceeb, tom qab ntawd kuv cia lawv qhuav ib hmo.

tom ntej no, Kuv nqa tus pas txhuam hniav thiab pleev xim rau Hyperion lub logo dub.

Kauj ruam 15: Ua tiav

TUAJ !!
TUAJ !!
TUAJ !!
TUAJ !!
TUAJ !!
TUAJ !!
TUAJ !!
TUAJ !!

Tam sim no thawb nws mus rau ntawm phab ntsa zoo li shiv rau hauv truxicans sternum! (thov txim, cov laus liab lance hais tias).

qhov no yog pov thawj ntawm lub tswv yim rau kuv, Kuv npaj yuav ua kom muaj qhov loj me, siv lub tshuab, hloov pauv yav tom ntej, tab sis yog rau yav tom ntej kuv ua haujlwm.

Tam sim no, rov qab mus rau qhov ntawd, thiab qhia 'em dab tsi rau.

Kuv tso IO qhib ntawm pi thaum muaj teeb meem software.

Kuv tau pom qhov yuam kev qhov Motion yuav tsum tsis lees paub kev txav mus tom qab muaj ntau qhov ua rau, thiab npaj yuav sau cov lej yooj yim kom nws pib rov pib qhov haujlwm txhua ob peb teev los daws nws (nws tsis ruam yog tias nws ua haujlwm).

Pom zoo: