Cov txheej txheem:

5 $ Karduinoss Pad: 5 Kauj Ruam
5 $ Karduinoss Pad: 5 Kauj Ruam

Video: 5 $ Karduinoss Pad: 5 Kauj Ruam

Video: 5 $ Karduinoss Pad: 5 Kauj Ruam
Video: 10 самых АТМОСФЕРНЫХ мест Дагестана. БОЛЬШОЙ ВЫПУСК #Дагестан #ПутешествиеПоДагестану 2024, Kaum ib hlis
Anonim
5 $ Karduinoss Pad
5 $ Karduinoss Pad

Yog li, saib ntawm Kaoss cov pawm thiab cov cuab yeej zoo ib yam, Kuv pom tias tsis muaj ib qho ntsiab lus hauv cov cuab yeej no yog li kim, thaum koj tsuas yog xav siv nws li MIDI maub los.

Mus dhau ntawm kuv qhov chaw ntim khoom, Kuv pom Synaptics touchpad los ntawm lub khoos phis tawj qub thiab xav tias qhov no yuav tsum ua haujlwm nkaus xwb. Ok, thaum kuv hais 5 $, kuv txhais tau tias pheej yig heev. Kom meej meej xoob arduino twb yog 20-25 USD (tab sis koj tuaj yeem hloov nws nrog tsuas yog siv ATMEGA168 nti rau ~ 2 USD), thiab lub touchpad no tej zaum yuav raug nqi koj ib yam thiab, thaum koj tsis tuaj yeem khaws nws los ntawm qub laptop. CEEB TOOM: Kaoss cov pawm thiab cov cuab yeej zoo sib xws txhua tus muaj lub suab tso tawm, qhov haujlwm no tsis …

Kauj Ruam 1: Nrhiav Cov Teeb Meem

Nrhiav Cov Cim
Nrhiav Cov Cim
Nrhiav Cov Cim
Nrhiav Cov Cim
Nrhiav Cov Cim
Nrhiav Cov Cim

Tom qab qee qhov luv luv google (thiab dhau los ntawm cov ntaub ntawv feem ntau tsis muaj ntsiab lus) Kuv pom lub vev xaib no uas tau pab kuv ntau yam:

sparktronics.blogspot.com/2008/05/synaptics-t1004-based-touchpad-to-ps2.html Lub vev xaib no muaj daim duab uas koj pom ntawm no. Los ntawm qhov no kuv xam tawm qhov twg ntawm cov ntawv xeem ntawm lub rooj tsavxwm (wow, ntau!) Qhov twg txuas nrog rau 3 tus pin. (saib daim duab thib ob). Kuv tsis paub tseeb yog tias T1001 tus maub los zoo sib xws hauv tus pin-tawm rau tus tswj hwm no, tab sis cov cim yuav tsum tsis txhob nyuaj rau nrhiav yog tias koj paub saib dab tsi.

Kauj ruam 2: Soldering rau Kov-ncoo

Soldering rau Touch-pad
Soldering rau Touch-pad
Soldering rau Touch-pad
Soldering rau Touch-pad

Zoo, qhov no yooj yim txaus, coj tawm cov ntsiab lus uas koj tau pom: D

Lub tswv yim tseem ceeb yog siv cov xaim hluav taws xob ua ntej thiab ua ntej tau txais cov kob me me ntawm cov laug ntawm qhov chaw ntsuas uas koj tau pom. Ceev faj kom tsis txhob tso cua sov ntau dhau ntawm qhov kov-ncoo, tooj liab tuaj yeem yooj yim xoob los ntawm lub ncoo los ntawm kev ua kom sov. Rau hauv av kuv tau siv lub laj kab sib txuas loj (saib kuj yog tus pin-out duab), tab sis muaj ntau qhov chaw ntxiv uas koj tuaj yeem tau txais lub teeb liab hauv av. Tom qab cov kauj ruam no, tej zaum koj xav kom ruaj ntseg koj cov laug nrog qee cov kua nplaum kub lossis cov khoom zoo sib xws rau kev nyem nyem.

Kauj Ruam 3: Sib cuam tshuam rau Arduino

Kev cuam tshuam rau Arduino
Kev cuam tshuam rau Arduino

Raws li koj tam sim no muaj kov-ncoo nrog cov xov txuas rau nws, cia saib mus rau qhov tau txais txiaj ntsig los ntawm nws.

Muaj cov tsev qiv ntawv ps2 rau arduino ib txwm ua haujlwm li nas thiab tso cai rau hom nas nkag, yog tias koj nkag mus rau yam ntawd;) Hauv qab no koj yuav pom karduinoss.pde kos duab rau arduino raws li lub tsev qiv ntawv ps2 muaj nyob ntawm http:/ /www.arduino.cc/playground/ComponentLib/Ps2mouse uas yuav pib ua kom kov tau-ncoo ua qhov xy xyov tsis suav nrog txog ~ 4000 kauj ruam ib sab. Cov cai ua qee qhov pib ntsuas ntsuas raws qhov txiaj ntsig nws tau txais, thiab qhia cov x, y thiab z qhov tseem ceeb rau MIDI tus tswj kev hloov pauv los ntawm kev siv ttymidi muaj nyob ntawm https://www.varal.org/ttymidi/. Daim duab karduinoss.pde xav tias LED tau txuas nrog tus pin 3, lub xov tooj ntawm tes kov ntawm tus pin 13 thiab cov ntaub ntawv kov-ncoo ntawm tus pin 12.

Kauj Ruam 4: Ntim Nws

Pob Nws
Pob Nws
Pob Nws
Pob Nws

Zoo, cia koj lub tswv yim khiav qus: D

Kuv khaws cov ntim yas los ntawm cov khoom siv los siv rau cov haujlwm zoo li no. Lub ntim kuv ua kom pom tseeb tsis yog qhov ua tau zoo tshaj plaws, tab sis kuv paub tseeb tias nws yuav tuav ob peb qhov kev ua yeeb yam ua ntej kuv yuav tsum xav txog qhov xwm txheej tshiab.

Kauj ruam 5: Siv nws

Siv nws!
Siv nws!

Tam sim no yog lub sijhawm los siv koj li karduinoss ncoo tshiab rau qee qhov kev ua haujlwm zoo midi:)

Hauv qab no koj pom lub vijtsam ntawm 'alsa modular synth' (uas koj tuaj yeem pom ntawm https://alsamodular.sourceforge.net/) Tab sis tau kawg koj tau siv nws dawb hauv ib qho haujlwm twg uas txhawb nqa midi input: DI vam tias txhua tus nyiam qhov no qhia paub thiab yuav pom kev tshoov siab los ua nws tus kheej lub midi maub los tam sim no!

Pom zoo: