Cov txheej txheem:
- Kauj ruam 1: Tsis lees paub
- Kauj Ruam 2: Qhov Chaw thiab Cov Cuab Yeej
- Kauj Ruam 3: Cov Khoom Siv Hluav Taws Xob
- Kauj Ruam 4: Txuas VGA Cable
- Kauj Ruam 5: Programme ATmega Microcontroller
- Kauj Ruam 6: Siv AODMoST
- Kauj Ruam 7: Tsim Txheej Txheem
Video: Hloov Hloov Dichoptic Hloov Kho ntawm Stereoscopic Transmission [ATmega328P+HEF4053B VGA Superimposer]: 7 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:24
Tom qab kuv qhov kev sim nrog iav tsom iav siv los thaiv qhov muag (ntawm no thiab nyob ntawd), Kuv txiav txim siab los tsim qee yam uas tsis yooj yim dua thiab tseem tsis yuam kom tus neeg siv hnav PCB ntawm nws lub hauv pliaj (tib neeg qee zaum tuaj yeem coj tus yam ntxwv kev ua siab phem thaum pom lwm tus nrog cov khoom siv hluav taws xob tawm ntawm lawv lub cev, cyborgs tsuas yog tsis muaj nws yooj yim hnub no). Ntaus ntawv kuv tsim hloov kho VGA teeb liab xa mus rau 3D zaub (yees duab yuav tsum yog nyob rau sab saum toj - Hauv qab lossis Sab Ntawm Ib Sab Hom), txhim kho cov teeb liab video nrog dichoptic kev txhawb siab. Lub tsev qiv ntawv loj heev ntawm cov yeeb yaj kiab thiab kev ua si uas tuaj yeem saib thiab ua si hauv 3D sib xws yuav tsum ua rau txhua tus neeg siv AODMoST zoo siab thiab koom nrog. Muaj cov kev tshawb fawb qhia, uas yog hom kev kho mob uas muaj peev xwm ua tau nrog AODMoST tau txais txiaj ntsig zoo rau cov neeg uas muaj qhov muag tsis pom kev.
Kauj ruam 1: Tsis lees paub
Kev siv cov cuab yeej zoo li no tuaj yeem ua rau qaug dab peg lossis lwm yam kev phom sij hauv qhov me me ntawm cov cuab yeej siv. Kev tsim cov cuab yeej zoo li no yuav tsum siv cov cuab yeej phom sij me ntsis thiab yuav ua rau muaj kev puas tsuaj lossis puas tsuaj rau vaj tse. Koj tsim thiab siv cov cuab yeej piav qhia ntawm koj tus kheej txoj kev pheej hmoo
Kauj Ruam 2: Qhov Chaw thiab Cov Cuab Yeej
Qhov thiab cov khoom siv:
- ATmega328P-PU microcontroller
- HEF4053BP analog hloov
- 7805 hauv TO-220 pob tswj qhov hluav taws xob
- 3x 2N2222 transistors
- BS170 transistor
- 2x diffused xiav 3mm LEDs
- diffused liab 3mm LED
- 2x diffused daj 3mm LEDs
- diffused ntsuab 3mm LED
- 20 MHz HC49/Asmeskas siv lead ua
- 10 tus pin AVR ISP (IDC) txiv neej txuas
- 2-pin PCB ntsia hlau davhlau ya nyob twg thaiv 5.08mm txuas
- 8x 6x6mm tactile hloov khawm
- 3x 1k ohm trimpot 6 hli
- 3x 75 ohm 1/4W resistor
- 3x 1k ohm 1/4W resistor
- 3x 2k7 ohm 1/4W resistor
- 3k3 ohm 1/4W resistor
- 11x 10k ohm 1/4W resistor
- 2x 20pF ceramic capacitors
- 3x 100nF ceramic capacitors
- 2x 100uF electrolytic capacitors
- perfboard (70mm x 90mm, min 24 x 31 qhov array)
- ob peb daim xov hlau
- insulating daim kab xev
- ntawv
- VGA txiv neej rau VGA txiv neej cable
- 12V - 15V DC fais fab mov
Cov Cuab Yeej:
- kab pheeb ces kaum txiav
- pliers
- ntsia hlau ntsia hlau
- me me phillips ntsia hlau
- riam riam
- multimeter
- qhov chaw nres tsheb soldering
- laug
- AVR programmer (tus neeg ua haujlwm ib leeg zoo li USBasp lossis koj tuaj yeem siv ArduinoISP)
Kauj Ruam 3: Cov Khoom Siv Hluav Taws Xob
Yog tias koj xav tau phiaj xwm ATmega ua ntej siv lub tshuab ua kom zoo, ua nws (koj tuaj yeem tso tawm CON1 tawm ntawm PCB). Muab tag nrho cov khoom siv hluav taws xob tso rau hauv prefboard. Siv cov xov tooj tooj liab (0.5 hli txoj kab uas hla los ntawm UTP cable yuav tsum yog qhov zoo tshaj plaws) los ua hluav taws xob sib txuas ntawm cov khoom siv. Nco ntsoov tias cov xaim hluav taws xob tsis ua rau luv-Circuit Court. Yog tias muaj kev pheej hmoo ntawm luv-Circuit (raws li nws yog qhov ua rau ib qho ntawm R21, xaim nyob rau sab xub ntiag ntawm SW8 thiab C7 thiab xaim nyob ntawm sab xub ntiag tom ntej ntawm Y1), npog cov hlau nrog cov kab xev insulating lossis cua sov -Shrink lub cev.
Yog tias koj nyiam, koj tuaj yeem txhua tus PCB, tsis txhob siv prefboard. Kuv piav qhia txheej txheem ntawm kev ua PCB siv cov txheej txheem hloov pauv toner hauv kuv txoj haujlwm dhau los. Pawg thawj coj hauv.svg cov ntaub ntawv yuav tsum muaj 64.77mm x 83.82mm. Cov ntawv txuas nrog uas muaj cov kab ke teeb tsa yuav tsum yog kev pab zoo txawm tias koj tab tom ua kev sib txuas ntawm prefboard nrog cov xov tooj liab.
Kauj Ruam 4: Txuas VGA Cable
Txiav koj lub VGA cable ib nrab thiab hle tag nrho cov xov hlau los ntawm rwb thaiv tsev. Kos ib feem ntawm kev txiav kab li IN thiab lwm yam li OUT. Siv cov xov hlau txuas rau cov ntaub qhwv tsim nyog ntawm PCB. Txhawm rau txheeb xyuas cov xov hlau twg txuas nrog tus pin hauv qhov txuas, siv qhov ntsuas txuas mus ntxiv hauv koj lub multimeter thiab tom qab ntawv sab laj VGA tus pin txhawm rau txheeb xyuas txhua lub hom phiaj xaim. Koj tsuas yog yuav tsum txuas cov xov hlau uas xa liab, Ntsuab thiab Xiav video thiab kab rov tav thiab ntsug sib txuas ua ke. Yog tias muaj lwm cov xov hlau hauv koj lub xov tooj tsuas yog txuas lawv rov qab ua ke, lossis zoo dua tseem tau txuas lawv rov qab los ntawm prefboard, ib yam li kuv tau ua nrog xaim dawb uas txuas tus pin 11 hauv VGA txuas (txuas tam sim no nyob nruab nrab ntawm R7 thiab R8). Daim npav vis dis aus pom tias VGA cov duab tau txuas los ntawm kev nkag siab tsis kam nyob hauv kwv yees li ntawm 50 ohm txog 150 ohm ntawm R, G thiab B video pins thiab hauv av (75 ohm txiav tawm qhov tiv thaiv hauv cov zaub, AODMoST ntxiv rau qhov tsis kam), yog li I2C pins tsis tsim nyog tiag tiag thiab VGA cable tuaj yeem ua haujlwm yam tsis muaj lawv txuas nrog (zoo li hauv kab kuv tau siv, tau kawg tsis muaj I2C txhais tau tias saib yuav tsis tuaj yeem xa cov ntaub ntawv hais txog kev txhawb nqa kev daws teeb meem thiab uas tuaj yeem muaj teeb meem). Yog tias muaj kev pheej hmoo ntawm kev tua hluav taws xob, siv daim kab xev insulating lossis cov cua sov ua kom sov. Txuas kev tiv thaiv hauv ob ntu ntawm cov xaim ib leeg thiab siv daim kab xev thaiv kom ruaj ntseg ob ntu ntawm VGA cable ua ke thiab txuas cov hlua ruaj khov rau PCB. Muab ob peb txheej ntawv ntawm sab nraum qab ntawm PCB txuas nrog daim kab xev insulating.
Kauj Ruam 5: Programme ATmega Microcontroller
Txuas koj lub AVR programmer rau CON1 nrog cov hlua txuas uas tsim nyog lossis poj niam rau poj niam jumper xov hlau. Kuv siv USBasp thiab AVRDUDE, yog li uploading.hex cov ntaub ntawv xav kom kuv ua raws li cov lus txib hauv qab no:
avrdude -c usbasp -p m328p -B 8 -U nyem: w: aodmost.hex
Kuv kuj xav hloov fuse cov khoom rau E: FF, H: D9, L: F7, yog li microcontroller yuav siv 20MHz siv lead ua. Kuv tau khaws cia ncua txuas ntxiv thiab siab fuse byte qhov tseem ceeb, thiab hloov pauv qis fuse byte tus nqi los ntawm L: 62 rau L: F7 nrog kev siv cov lus txib hauv qab no:
avrdude -c usbasp -p m328p -B 8 -U lfuse: w: 0xF7: m
Yog tias koj tau txais qhov yuam kev thaum rub tawm.hex cov ntaub ntawv, koj yuav xav hloov -B (bitclock) tus nqi los ntawm 8 mus rau qee yam siab dua, zoo li 16.
Kauj Ruam 6: Siv AODMoST
Txuas 12V- 15V DC fais fab mov rau cov ntsia hlau txuas (- ze dua rau sab saum toj ntawm PCB). Plug VGA txuas los ntawm IN ib nrab ntawm VGA cable rau daim npav video, txuas los ntawm OUT ib nrab rau 3D zaub. Cov cuab yeej muaj 4 hom, 3 ntawm lawv kos ob kab ntawm cov duab plaub thaum yees duab. Muaj 6 nplooj ntawv ntawm stetting. Cov uas muaj tus lej 0 thiab 3 muaj cov kev teeb tsa ntawm zaus/sijhawm, qhov tshwm sim tsis txaus, duab plaub nyob rau/tawm thiab xws li. Nplooj ntawv 1 thiab 4 muaj qhov chaw teeb tsa thaum nplooj ntawv 2 thiab 5 muaj qhov teeb tsa me me. Los ntawm nias MODE + PAGE cov nyees khawm koj rov qab teeb tsa lub hauv paus hauv txhua hom. Koj tuaj yeem nyeem ntxiv txog kev teeb tsa AODMoST hauv user_manual.pdf
Ib qhov ua tau los ntawm 3D cov ntsiab lus nyob rau Sab Saum - Hauv qab lossis Ib Sab Ntawm Sab yog cov khoos phis tawj computer. Yog tias koj siv GeForce daim npav video, ntau qhov kev ua si los ntawm cov npe no tuaj yeem ua si nrog CustomShader3DVision2SBS hauv 3DMigoto qhib. Yo tuaj yeem kawm paub yuav ua li cas thiab daws qhov teeb meem ntawm tint tso rau ntawm lub vijtsam los ntawm 3D Vision Tshawb pom anaglyph 3D hom ntawm no (ceeb toom: Kuv tau pom tias koj yuav tsum teeb tsa "LeftAnaglyphFilter" rau "& HFF00FF00" thiab "RightAnaglyphFilter" rau " "& HFFFF0000" "[lwm qhov sib xyaw ua ke ntawm cov xim yuav tsum ua haujlwm, tsuas yog ua rau ib qho xim tsis muaj xim] thiaj li ua rau tint hauv Tshawb pom hom anaglyph). Radeon thiab GeForce cov neeg siv yuav tsum muaj peev xwm siv TriDef 3D software. Muaj cov kev ua si zoo li GZ3Doom (ViveDoom) uas ib txwm txhawb 3D thiab tuaj yeem ua si yam tsis muaj software tshwj xeeb.
Kho: Kuv muaj teeb meem nrog kev xiam oob khab 3D Pom Pom tint hauv qhov tshiab ntawm NVIDIA cov tsav tsheb. Qhov ntawd coj kuv mus rau qhov pom ntawm SuperDepth3D, ReShade post-process shader. Qhov software no tau sib xws nrog tsam 20+ kev ua si, thiab ua haujlwm nrog GPUs los ntawm cov tuam txhab sib txawv.
Kho 2: Kuv pom qhov kev daws teeb meem tsis muaj peev xwm ua tsis tau 3D Vision Pom tint hauv NVIDIA cov tsav tsheb tshiab. Koj xav tau, ib txwm hloov pauv "StereoAnaglyphType" mus rau "0" hauv "HKLM / SOFTWARE / WOW6432Node / NVIDIA Corporation / Global / Stereo3D \" thiab tom qab ntawd xauv tus yuam sij sau npe. Txhawm rau qhib Registry Editor, nias WIN+R, tom qab ntawd ntaus regedit thiab nias ENTER. Xauv tus yuam sij yuav xav kom koj nyem rau ntawm nws, xaiv Tso Cai, Ua Ntej, Xiam oob qhab, lees paub qhov ua tsis tau ntawm qhov qub txeeg qub teg, rov qab mus rau Qhov Chaw Tso Cai, thiab thaum kawg khij Deny cov thawv rau txhua tus neeg siv thiab pab pawg uas tuaj yeem zuam thiab lees paub nws nrog nyem rau ntawm lub pob OK. Nco tseg tias yuav muaj qhov xav tau hloov qhov txiaj ntsig ntawm "LeftAnaglyphFilter" "RightAnaglyphFilter" ib yam. Yog tias koj xav hloov pauv, koj yuav tsum qhib lub npe yuam sij los ntawm kev rho tawm cov thawv tsis pom zoo lossis ua kom muaj txiaj ntsig qub txeeg qub teg.
Yog tias koj muaj teeb meem nrog ua kom pom kev 3D nyob hauv thawj qhov chaw, vim teeb tsa tus kws pab tswv yim hauv NVIDIA Tswj Vaj Huam Sib Luag poob, koj yuav tsum hloov "StereoVisionConfirmed" rau "1" hauv "HKLM / SOFTWARE / WOW6432Node / NVIDIA Corporation / Global / Stereo3D \”. Qhov no yuav ua rau 3D Lub Zeem Muag hauv Tshawb nrhiav hom (uas yuav tso cai rau koj siv 3DMigoto raws kev hloov kho/kho, uas tso cai rau koj tso SBS/TB 3D rau ib qho zaub tom qab tsis pom zoo "khiav = CustomShader3DVision2SBS" hauv "d3dx.ini" mod/kho teeb tsa ntaub ntawv).
Nco tseg tias hauv 32 ntsis Windows qhov chaw tseem ceeb yog "HKLM / SOFTWARE / NVIDIA Corporation / Global / Stereo3D \". Tsis tas li HKLM yuav hloov los ntawm HKEY_LOCAL_MACHINE.
Kho 3: NVIDIA yuav tshem tawm kev txhawb nqa rau 3D Lub Zeem Muag nyob rau lub Plaub Hlis 2019 (lawv tab tom tham txog Kev Tso Tawm 418 ua tus tsav tsheb tshiab tshaj plaws uas txhawb nqa nws, tab sis 3D Vision tseem txhawb tau tsawg kawg 425.31).
Kauj Ruam 7: Tsim Txheej Txheem
Lub teeb liab VGA muaj 3 xim sib xyaw: Liab, Ntsuab thiab Xiav. Txhua tus ntawm lawv tau xa los ntawm cov xaim sib cais, nrog kev sib xyaw ntawm cov xim sib xyaw rau hauv qib hluav taws xob uas tuaj yeem sib txawv ntawm 0V thiab 0.7V. AODMoST thim cov duab plaub (overlay) los ntawm kev hloov xim teeb liab tsim los ntawm daim npav video nrog qib ntsuas hluav taws xob muab los ntawm transistors Q1-Q3 hauv emitter follower teeb tsa, uas hloov qhov tsis muaj zog ntawm qhov hluav taws xob ntawm 2k7 resistor-1k trimpot voltage faib. Hloov cov cim qhia tau ua tiav los ntawm HEF4053B analog multiplexer/demultiplexer, siv los ntawm 12V - 15V DC fais fab mov. Kev tiv thaiv hla HEF4053B txuas nrog nws cov khoom siv hluav taws xob (siab dua qhov hluav taws xob - qis dua kev tiv thaiv). Yog tias qis dua qhov siv hluav taws xob yuav siv, daim npav video yuav tsis tuaj yeem kuaj pom cov zaub.
So ntawm AODMoST yog siv los ntawm 5V DC muab los ntawm 7805 tus tswj hluav taws xob. Qib ntawm lub teeb liab los ntawm microcontroller uas tswj kev hloov pauv ntawm HEF4053B tau hloov pauv los ntawm nrawm BS170 MOSFET.
Kab rov tav thiab ntsug synchronization pulses sib txawv hauv qib voltage ntawm 0V thiab 5V thiab cov xov hlau uas nqa lawv tau txuas ncaj qha rau ATmegas cuam tshuam cov pins teeb tsa raws li qhov siab impedance inputs.
Rau qee qhov laj thawj ATmega328P-PU microcontrollers uas kuv muaj (lawv muaj cov lej sib txawv nyob rau saum lawv), txhua tus muaj teeb meem nrog sab hauv rub-up resistors, yog li kuv siv sab nraud 10k rub tawm. Tsuas yog qhov laj thawj vim li cas rau tus cwj pwm no uas kuv pom, yog qhov kev cai lij choj tseem ceeb ntawm xwm tau hloov pauv nrog kev nthuav dav ntawm lub ntiaj teb thiab uas ua rau kev sib txuas ua haujlwm tsis zoo (uas yog qhov tso dag, tej zaum).
Cov cuab yeej siv kwv yees li 50 mA.