Cov txheej txheem:
- Kauj ruam 1: Cov ntaub ntawv
- Kauj Ruam 2: Cov Cuab Yeej
- Kauj Ruam 3: Ua Tus Saib
- Kauj Ruam 4: Teeb Koj Raspberry Pi
- Kauj ruam 5: Txhim Kho Software
- Kauj Ruam 6: Txuas MPU6050
- Kauj ruam 7: Programming
- Kauj Ruam 8: Muab tag nrho ua ke
- Kauj Ruam 9: Xaus
Video: DIY Raspberry Pi VR Goggles: 9 Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
DISCLAIMER! Vim qhov tseeb tias Raspberry Pi Zero tsis yog lub khoos phis tawj uas muaj zog heev, tus ncej-tus nqi ntawm qhov qis heev (Hauv qab 10 fps) uas tuaj yeem ua teeb meem rau koj lub qhov muag
Cov tsom iav VR no tau tsim los siv Raspberry Pi Zero uas ua rau lawv qis dua tus nqi.
Koj tuaj yeem nkag mus rau USB ntawm sab, uas yog plaub lub chaw nres nkoj. Nws siv ib lub roj teeb thiab lub vijtsam tau txuas ncaj qha rau hauv Raspberry Pi rau lub zog, uas tshem tawm USB chaw nres nkoj.
Tej zaum nws yuav zoo li nws tsuas muaj ntau cov xov hlau nyob saum, tab sis kuv tsis yog tus tuav ntau, thiab tsuas muaj 3 lub xov hlau xwb.
Thov txim yog tias cov duab tsis zoo heev, Kuv tsis muaj teeb pom kev zoo heev thaum kuv coj lawv.
Kauj ruam 1: Cov ntaub ntawv
Nov yog cov npe khoom siv uas kuv siv:
Ib daim npav micro-SD (8-32 gigabyte, ib qho yuav ua haujlwm (Kuv xav)), Qee Cov Poj Niam/Poj Niam Cov Poj Niam Hluav Taws Xob (Yog tias koj tsis muaj lossis tsis paub nrhiav qhov twg ntawm no yog qhov txuas rau Adafruit rau lawv: Poj niam/Poj niam Jumper xov hlau), Raspberry Pi Zero: Raspberry Pi Zero W ntawm Adafruit
Elecrow 5 "TFT Screen: TFT LCD screen (Nws ua haujlwm zoo rau lub vijtsam yam tsis muaj kev tshuaj xyuas) lossis ib qho 5" TFT lcd screen yuav tsum ua haujlwm, Kuv tsuas yog siv teeb tsa rau lub vijtsam no.
5V 1A Cov roj teeb pob (Kuv tsis paub yuav nrhiav qhov twg, Kuv paub tseeb tias koj tuaj yeem pom qee qhov tshwj xeeb rau raspberry pi xoom)
3-Axis Gyroscope/Accelerometer: MPU-6050 ntawm Amazon (Kuv paub tias nws tsis muaj qhov tshuaj xyuas zoo tshaj plaws, tab sis tam sim no nws tau ua haujlwm zoo.)
Ob lub micro USB rau USB cables. (7 ntev lossis yog li yuav tsum ua haujlwm)
Lub zog micro USB rau USB hub: LoveRPi USB hub rau Raspberry Pi xoom
Ib qho me me mini HDMI rau HDMI cable. (Yog tias koj tsuas muaj lub mini HDMI rau HDMI hloov pauv, uas yuav ua haujlwm ib yam, Qhov ntawd yog qhov kuv siv, tab sis kuv tsis muaj cov kab hluav taws xob luv dua 3 'lossis li ntawd)
Daim kab xev, Ua Npuas Ncauj Ob Sab Xev, Cov khoom hauv qab no tuaj yeem xaiv tau, txawm hais tias yog koj tsis siv lawv, Kuv xav kom siv tus saib VR pheej yig koj tuaj yeem tau txais rau koj lub xov tooj. (Thov nyeem tag nrho cov lus qhia ua ntej yuav khoom ib tus neeg saib)
Muaj ntau cov ntawv tsis-corrugated.
Kuv muaj tus qauv los ntawm daim duab duab VR saib tus qauv thiab lub lens uas yog los ntawm Radoishack® thiab koj tuaj yeem zaum pom tus qauv ntawm google duab tshawb. Zoo li tus qauv no: Template
Kuv tsis paub qhov twg koj tuaj yeem pom lub lens tab sis qhov chaw no: DIY VR Viewer Muab cov lus piav qhia ntxaws ntxaws ntawm yuav ua li cas.
Kauj Ruam 2: Cov Cuab Yeej
Cov cuab yeej koj yuav xav tau tsuas yog:
Rab phom kub kub, X-acto Riam, Thiab Txiab.
Kauj Ruam 3: Ua Tus Saib
Txhawm rau ua tus saib, Kuv tau kaw cov qauv rau kuv daim duab los qhia (Yog tias koj tsis muaj cov duab los qhia txaus, txiav tus qauv ib nrab yam tsis txiav ib qho ntawm cov kab tseeb thiab xws li). Tom qab kuv glued tus qauv, Kuv txiav tawm daim duab los rau hauv cov chaw uas tus qauv qhia rau kuv, thiab muab tais rau hauv qhov chaw nws hais rau kuv.
Tom qab kuv tau ua tiav qhov ntawd, Kuv tau muab cov ntawv cais ua ke yog tias kuv xav tau, thiab xaub lub xov tooj los sim nws. Nws ua haujlwm tau zoo nrog nws thawj qhov kev sim.
Kauj Ruam 4: Teeb Koj Raspberry Pi
Koj yuav tsum rub tawm Raspbian Stretch: Stretch Image
Nyem Download ZIP rau Ncab Nrog Desktop.
Thaum rub tawm tiav, Koj tuaj yeem ua raws cov lus qhia ntawm no txhawm rau txhim kho cov duab:
Txhim kho Raspbian Duab
Thaum qhov ntawd ua tiav, ntsaws daim npav SD rau hauv koj li Raspberry Pi Zero thiab khau raj nws!
Koj Raspberry Pi yuav tsum khau raj rau hauv lub desktop, tab sis yog tias nws khau rau hauv lub vijtsam nkag mus:
lub npe siv yog: pi
thiab tus password yog: raspberry
Thaum koj nyob hauv, ua rau koj tus kheej xis nyob nrog nws ua haujlwm li cas thiab txhua yam nyob qhov twg.
Tam sim no peb yuav txav mus rau txhim kho Pi3D.
Kauj ruam 5: Txhim Kho Software
Koj tuaj yeem tau txais pi3D los ntawm no:
github.com/tipam/pi3d
Qhov no yuav muab piav qhia yuav ua li cas rau nruab nws los ntawm kab hais kom ua ntawm Raspberry Pi.
Koj tuaj yeem nruab lub tsev qiv ntawv rau lub ntsuas pa los ntawm kev ua haujlwm yooj yim:
sudo pip nruab mpu6050
Thaum lawv tau teeb tsa, koj tuaj yeem txav mus rau kauj ruam tom ntej.
Kauj Ruam 6: Txuas MPU6050
Cov duab saum toj no yog cov phiaj xwm ntawm qhov uas koj yuav tsum muab MPU6050 Pins rau Raspberry Pi Zeros GPIO pins.
Thaum koj muaj lawv txuas nrog, koj tuaj yeem txav mus rau txoj haujlwm.
Kauj ruam 7: Programming
Muaj cov ntawv txuas nrog uas muaj qhov haujlwm rau VR tsom iav. Qhib nws hauv Geany Programmer's Editor thiab nias F5 kom khiav nws thiab kom paub tseeb tias nws ua haujlwm, tom qab ntawd sim tawm lub ntsuas hluav taws xob los ntawm kev tig nws thiab ua kom ntseeg tau tias nws tau ua tiav nrog kev sib hloov ntawm cov duab. Txhawm rau kaw tawm tsuas yog nias Esc ntawm cov keyboard thiab lub davhlau ya nyob twg yuav tsum tshwm li hais tias "Nias Nkag mus ntxiv" Yog tias koj ua txhua yam kom raug, koj yuav tsum muaj lub vijtsam uas tig los nyob ntawm lub ntsuas hluav taws xob!
Tab sis qhov ntawd tsis yog txhua qhov… Kuv yuav qhia koj yuav ua li cas thiaj ua rau VR tsom iav tas li!
Kauj Ruam 8: Muab tag nrho ua ke
Nov yog qee cov duab ntawm qhov sib txawv thiab lub thawv kuv txiav tawm kom ua tau haum.
Kuv muab lub vijtsam tso rau hauv qhov chaw uas lub xov tooj yuav mus, thiab lub roj teeb pob mus rau sab xis yog tias nws. Kuv siv daim kab xev los txuas lub gyroscope, thiab daim kab xev ob tog los txuas lub USB hub. Raspberry Pi tau txuas nrog daim kab xev ua npuas ncauj thiab lub roj teeb kuv tsuas yog swb rau hauv qhov uas kuv tau ua rau nws.
Lub taub hau pluaj tsis suav nrog, Kuv ua rau cov uas muaj qee qhov ywj pheej thiab lub teeb taub hau qub.
Kauj Ruam 9: Xaus
Tam sim no nws tau ua tiav, koj tuaj yeem sim nws! Txuas lub vijtsam lub zog rau hauv USB hub thiab ntsaws USB hub rau hauv Raspberry Pi Zero. Yog tias koj tsis paub meej tias qhov chaw nres nkoj sib txawv nyob ntawm Raspberry Pi Zero, muaj cov duab saum toj no uas qhia txog cov chaw nres nkoj sib txawv.
Nco ntsoov tias HDMI txuas nrog ntawm Raspberry Pi thiab lub vijtsam. Plug lub Raspberry Pi lub zog rau hauv lub roj teeb thiab qhib nws!
Pom zoo:
DIY - Cov RGB Goggles: 3 Kauj Ruam (nrog Duab)
DIY | Cov RGB Goggles: Hav! Kuv tau ua RGB Goggles siv WS2812B LEDs thiab Arduino Nano.Qhov Goggles muaj ntau yam duab uas lawv tuaj yeem tswj tau siv mobile app.Qhov app tuaj yeem sib tham nrog arduino los ntawm Bluetooth Module
Qhov muag-Tsoo Tswj Lub Teeb Hloov Siv Shota Aizawa's Eraser Head Goggles (My Hero Academia): 8 Kauj Ruam (nrog Duab)
Qhov muag-Blink Tswj Lub Teeb Hloov Siv Shota Aizawa's Eraser Head Goggles (My Hero Academia): Yog tias koj nyeem kuv tus kws tshaj lij kev kawm manga lossis saib kuv tus hero academia anime, koj yuav tsum paub tus kws sau lub npe shota aizawa. Shota Aizawa tseem hu ua Eraser Head, yog Pro Hero thiab tus xibfwb qhia ntawv hauv tsev ntawm UA Chav Kawm 1-A. Shota's Quirk muab nws rau
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