Cov txheej txheem:

ZOO TSHAJ PLAWS USB JOYSTICK - YOOJ YIM ZOO TSHAJ PLAWS: 5 Kauj Ruam
ZOO TSHAJ PLAWS USB JOYSTICK - YOOJ YIM ZOO TSHAJ PLAWS: 5 Kauj Ruam

Video: ZOO TSHAJ PLAWS USB JOYSTICK - YOOJ YIM ZOO TSHAJ PLAWS: 5 Kauj Ruam

Video: ZOO TSHAJ PLAWS USB JOYSTICK - YOOJ YIM ZOO TSHAJ PLAWS: 5 Kauj Ruam
Video: qhia muab lub suab guitar zoo hauv fl lo hloov MIDI nrov zoo heev 2024, Kaum ib hlis
Anonim
ZOO TSHAJ PLAWS USB JOYSTICK - YOOJ YIM ZOO TSHAJ PLAWS
ZOO TSHAJ PLAWS USB JOYSTICK - YOOJ YIM ZOO TSHAJ PLAWS
ZOO TSHAJ PLAWS USB JOYSTICK - YOOJ YIM ZOO TSHAJ PLAWS
ZOO TSHAJ PLAWS USB JOYSTICK - YOOJ YIM ZOO TSHAJ PLAWS

Nov yog qhov haujlwm ntxiv rau Zero Delay USB Encoder True Analog Joystick Modification.

Koj yuav tsum tau ua tiav hloov kho, sim thiab ntsuas ntsuas tus lej nkag rau hauv qhov haujlwm yav dhau los ua ntej ntxiv cov cuab yeej no.

Thaum ua tiav thiab ua haujlwm nws yuav tshem tawm qhov tsis txaus ntseeg ntawm cov qauv kev coj ua ib txwm pib hauv Digital hom - uas txhais tau tias koj yuav tsum xaiv Analog siv hom hloov pauv txhua lub sijhawm koj xav siv nws.

Hloov kho tshiab: (feb 2021) Ua ntej koj tau nyam ua qhov no - Kuv hloov kho txoj haujlwm tseem ceeb thaum Lub Ob Hlis 2021 hais tias muaj kev hloov kho yooj yim dua li gizmo me ntsis no …

Qhov haujlwm no ua dab tsi yog ua kom zoo li koj nias lub pob hom ib zaug kom nws mus rau Analog hom - siv sijhawm qeeb (cov neeg tiv thaiv thiab lub tshuab hluav taws xob) los ua haujlwm transistor raws li hloov pauv ib ntus.

Cov ntu tsuas yog pib ib zaug USB kev sib txuas tau tsim nrog lub khoos phis tawj - los ntawm kev siv +5v khoom (kwv yees) uas pub RED Led (Digital On) thiab siv qhov ntawd los pib lub sijhawm uas tsuas yog them ntawm C1.

Thaum lub transistor tau hloov pauv ntawm Encoder pom tias yog ib qho MODE hloov pauv nkaus xwb thiab nws hloov mus rau Analog.

Ib zaug hauv Analog hom RED Led tawm mus - tua Timer Circuit thiab GREEN Led tig rau thiab tus Encoder ua haujlwm hauv Analog hom! (Yooj yim!).

Nws yog qhov tseem ceeb kom nco ntsoov tias yog USB txuas nrog lub PC tsis tau tsim - nws yuav tsis pib lub Encoder lossis lub sijhawm

Yog li tsuas yog ntsuas tus Encoder ntawm 5V USB khoom siv (tsis muaj PC) yuav tsis ua haujlwm!

Kuv ntxiv khawm rov pib dua los ua pov thawj tias kuv tuaj yeem rov pib dua nws tus kheej yam tsis tas yuav ntsaws USB txhua lub sijhawm.

Yog tias koj tuaj yeem ua kom zoo dua qub thiab tau ua haujlwm nrog kab txaij lossis Vero board ua ntej nws yooj yim los ua. (Thiab yog tias koj tsis tau - nws tseem tsis nyuaj!).

Thaum ua tiav koj yuav tsum ua 3 qhov txuas rau Encoder raws li tau piav qhia hauv kab ntawv.

Kuv tau suav nrog cov duab uas qhia tias kuv ua kuv li cas (me me li kuv tuaj yeem ua tau) nrog qhov kuv muaj thaum lub sijhawm ntawd.

Khoom siv

Vero board / stripboard - 12 qhov ntev x 4 lossis 5 tooj liab daim kab xev dav - saib cov duab - tsuas yog 1 txoj kab yuav tsum tau txiav ntawm qhov no.

Transistor:

1 x BC107 lossis BC147 lossis BC547 lossis yuav luag txhua lub hom phiaj tseem ceeb silicon NPN yam. Kev kho kom raug B-C-E yog qhov tseem ceeb.

Resistors (3):

1 x 39k 1/8 or 1/4 W

1 x 470k 1/8 lossis 1/4 W

1 x 220 ohm 1/8 lossis 1/4 W

Electrolytic Capacitor 1 x 1000 uF - 6.3 txog 25 volt

Cov hlua kom haum.

Tsis teb los tau: (saib cov duab kab thaiv)

1 x thawb kom hloov (rov pib dua)

1 x rau/tawm hloov SPST

Kauj Ruam 1: Npaj Vero Board / Strip Board

Npaj Pawg Vero Board / Strip Board
Npaj Pawg Vero Board / Strip Board

Sau ua ke tag nrho koj cov khoom ua ntej koj pib.

Txiav koj lub Rooj Tswjhwm Saib Vero rau qhov loj me uas haum rau cov khoom koj yuav siv.

Kuv pom zoo kom sim ua kom haum ntawm cov khoom ua ntej txiav txim siab txiav koj lub rooj tsavxwm thiab taug qab kom loj npaum li cas yog tias koj tsis ua haujlwm zoo ib yam li kuv tau ua.

Siv kuv cov duab rau kev siv kom ua tiav qhov kawg.

Txheeb xyuas ob qho kev sib txuas nrog daim duab schematic.

Yog tias qhov chaw tsis muaj teeb meem hauv koj txoj haujlwm tsim kho nws yog rau koj loj npaum li cas koj ua nws - tsuas yog kev sib txuas raug yog qhov tseem ceeb ntawm no.

Kuv lub rooj tsavxwm yog 12 qhov ntev thiab 5 daim kab xev dav - tab sis raws li koj pom kuv tuaj yeem tau txais nrog 4 kab ntawv.

Cov txheej txheem koj xaiv yuav txhais tau tias koj tsis tas yuav txiav ib qho twg hlo li.

Kauj Ruam 2: Cheeb Tsam Haum

Cheebtsam haum
Cheebtsam haum

Daim duab qhia tag nrho cov khoom haum thiab hloov pauv ntxiv (xaiv tau) uas kuv ntxiv rau yuam xaiv cov Digital (yog - Digital) hom los siv ua qhov rov pib dua los ua pov thawj kev ua haujlwm raug.

Yog tsis muaj qhov ntawd kuv yuav xav tau tshem lub USB ntawm lub PC los ntsuas nws txhua lub sijhawm. Nrog qhov hloov pauv ntxiv kuv tuaj yeem nias nws, saib GREEN Led tawm mus, thiab RED Led tig qhib (pib Timer) tom qab ob peb feeb tom qab lawv yuav pauv rov qab rau GREEN On thiab RED Off.

Yog tias koj xav mus ntxiv ib kauj ruam ntxiv vim tias koj xav tau hloov mus rau Digital qee zaum thiab nyob ntawd, koj tuaj yeem ntxiv On/Off hloov (S1) rau Kab A thiab thaum On Nws Pib Analog Timer ua haujlwm raws li nws yuav tsum tau thiab thaum Off yuav tso cai rau koj ua haujlwm Hom kev hloov pauv tus kheej siv qhov hloov pauv ntxiv S2 (tsis pom).

Kauj Ruam 3: Daim Duab Schematic thiab Kev Sib Txuas Encoder (nrog Kev Xaiv)

Schematic Daim Duab thiab Kev Sib Txuas Encoder (nrog Kev Xaiv)
Schematic Daim Duab thiab Kev Sib Txuas Encoder (nrog Kev Xaiv)

Daim duab qhia pom hauv lub thawv ntsuab qhov hloov pauv tshiab (ntawm koj lub rooj tsav xwm tshiab) thiab hauv Daj qhov Encoder module sib txuas uas cuam tshuam txog ntawm no. Koj tsis tas yuav nkag siab nws - tsuas yog xaim nws txhua qhov kom raug - thiab nco ntsoov - tsis muaj txoj kab ntxiv los txiav ntawm Encoder.

Hauv Encoder:

A = Kev sib tshuam ntawm +5 volt pub los ntawm Encoder nti (Dub blob) rau R10 uas pub RED Led. Qhov kawg ntawm R10 nyob ze rau Blob yog qhov siv.

Nco tseg cov xov hluav taws xob muab los ntawm Suav cov kws tsim khoom uas ntsaws rau hauv Encoder Hom lub qhov (socket) zoo li siv RED rau hauv av (0v) thiab Dub rau hloov pauv - yog li tsis txhob xav tias xim yog qhov tseeb - Txheeb rau koj tus kheej!

B = Hom hloov qhov kev sib txuas sib txuas.

C = 0 Volts - (thiab Hom thib ob txuas txuas)

Kauj Ruam 4: Txheeb Xyuas Kev Sib Txuas - Lub Rooj Tsav Xwm Tshiab

Txheeb xyuas Cov Kev Sib Txuas - Lub Rooj Tsav Xwm Tshiab
Txheeb xyuas Cov Kev Sib Txuas - Lub Rooj Tsav Xwm Tshiab

A = Timer pib pub los ntawm Encoder

B = Cov xaim dub rau Hom Hloov kev sib txuas - saib daim duab tom ntej ntu.

C = 0 Volts - (thiab Hom thib ob txuas txuas)

Kauj Ruam 5: Txheeb Xyuas Qhov Sib Txuas Encoder

Txheeb xyuas qhov sib txuas Encoder
Txheeb xyuas qhov sib txuas Encoder
Txheeb xyuas qhov sib txuas Encoder
Txheeb xyuas qhov sib txuas Encoder

Raws li koj tuaj yeem pom los ntawm cov duab - tsuas yog 3 kev sib txuas - tsis muaj kab los txiav lossis hloov pauv ntawm Encoder - nws yooj yim li A -B -C!

A = Ib txoj hlua txuas rau sab nraum qab ntawm R10 - saib xyuas kom tsis txhob ua dab tsi luv.

B = Cov xaim dub rau Hom hloov kev sib txuas - saib daim duab tom ntej ntu.

C = 0 Volts - (thiab Hom thib ob txuas txuas)

DUBBLE CHECK koj lub xov tooj ua ntej txuas USB rau lub PC

Tam sim no koj yuav tsum pom thaum koj txuas mus rau PC USB lub qhov, tsis ntev tom qab RED Led tig rau, nws yuav tawm thiab GREEN yuav qhib - thiab qhov ntawd yog Encoder tam sim no hauv hom Analog yam koj tsis tau ua nws tus kheej.

Nco tseg R1, R2 thiab C1 cov khoom tivthaiv qhov tseem ceeb kuv siv tau muab ncua kom tsim nyog kom nws ua haujlwm tau zoo. Nyob ntawm lub hnub nyoog thiab qhov zoo ntawm cov khoom koj siv qhov kev ncua tuaj yeem ntev dua lossis luv dua. Tus nqi loj rau C1 (hais tias 1500 uF) yuav tsum yog kev xav siv sijhawm ntev dua rau kev hloov pauv kom tshwm sim.

Muaj Kev Lom Zem!

Pom zoo: