Cov txheej txheem:

Suab Mouse: 17 Kauj Ruam (nrog Duab)
Suab Mouse: 17 Kauj Ruam (nrog Duab)

Video: Suab Mouse: 17 Kauj Ruam (nrog Duab)

Video: Suab Mouse: 17 Kauj Ruam (nrog Duab)
Video: nKauj tshua lub suab raj #suabmai #koobhmoov 2024, Kaum ib hlis
Anonim
Suab Nas
Suab Nas

Hauv xyoo 2016, tom qab tau txais kev tshoov siab los ntawm kab yeeb yaj kiab ntawm Scanman Line Follower hauv YouTube, Kuv pib ua haujlwm ntawm cov cuab yeej siv hluav taws xob siv Toshiba TCD1304 linear CCD los ua ke suab los ntawm cov ntaub ntawv spectrogram (lossis cov duab kab lus txhais ua spectrogram cov ntaub ntawv) siv Michel Rouzic's ARSS code (lub hauv paus ntawm nws daim ntawv thov Photosounder). Qhov no dhau los ua qhov hnyav dhau, kho vajtse-ntse, thiab tiag tiag tsis ua haujlwm raws li tus tswj ib leeg, yog li kuv muab tso rau sab nraub qaum.

Tsis ntev los no kuv tau paub tias cov cuab yeej ua los ntawm Agilent rau khoos phis tawj khoos phis tawj ua ntau yam ua haujlwm sab hauv, ob qho tib si tuaj yeem muab cov duab me me (qeeb heev) thiab nruab nrab qhov tsaus ntuj nrog rau kev hloov pauv hauv X thiab Y siv cov lus yooj yooj yim thov (ntau sai dua) ntau dua li yuav tsum tau ua nrog lub nrawm-sib piv rau digital hloov pauv zoo li Scanman / Toshiba sensor. Yog li, kuv txiav txim siab los ua qhov yooj yim dua ntawm CCD synth siv tus nas tsis siv lub tshuab luam ntawv. Los ntawm kev hloov kho lub tsev qiv ntawv Arduino tsim los ntawm Conor Peterson rau nyeem cov ntaub ntawv pixel los ntawm Agilent sensor los nyeem kev txav chaw thiab nruab nrab qhov tsaus ntuj Kuv tuaj yeem lob cov ntaub ntawv nrawm txaus rau qhov yooj yim tab sis ua haujlwm sawv ntsug ib leeg ua ke sib xyaw ua ke

Cov khoom siv hauv cov cuab yeej no tuaj yeem yuav tau tsawg dua kaum daus las thiab cov lej yog yooj yim txaus rau yuav luag txhua tus neeg hloov kho, ua qhov no ua lub suab sai thiab tsis kim rau kev ua haujlwm lossis ua prank.

Siv cov software hauv qab no, khawm khawm hloov ntawm cov qauv: 1 - suab raws X -txoj haujlwm, 2 - suab raws lub koob yees duab nkag, 3 - sib xyaw ntawm ob. Cov nas khawm sab laug yog qhov tshwm sim tam sim thiab sab xis yog latching. Lub scrollwheel hloov ntau zaus thiab scrollwheel ntxiv rau sab laug khawm hloov qhov chaw nruab nrab ntawm qhov ntawd. Sab laug khawm ntxiv rau nruab nrab khawm toggles ntim hloov pauv ntawm Y-axis.

Kauj Ruam 1: Qhov Yuav Tsum Tau

Qhov Yuav Tsum Tau
Qhov Yuav Tsum Tau

Cov khoom siv xav tau: -24 awg cov xov hlau (ntau xim) -USB mini cable-Arduino Nano (lossis clone) -Speaker-Mouse nrog Agilent sensor A1610 lossis A2610 (tejzaum lwm tus)

Cov cuab yeej xav tau: -Mini sab cutters-Mini rab koob-ntswg piers -Wire strippers-Soldering iron & solder-Hot glue gun & glue-Precision screwdrivers -Helping hands-Permanent marker-Drill-1/16 ", 1/4" and expanding /kauj ruam me ntsis

Tsis pom: -5v USB them nyiaj

Kauj Ruam 2: Tshem Tawm Taw thiab Screws thiab Qhib Tus nas

Tshem Tawm Taw thiab Ntsia Hlau thiab Qhib Tus nas
Tshem Tawm Taw thiab Ntsia Hlau thiab Qhib Tus nas
Tshem Tawm Taw thiab Ntsia Hlau thiab Qhib Tus nas
Tshem Tawm Taw thiab Ntsia Hlau thiab Qhib Tus nas
Tshem Tawm Taw thiab Ntsia Hlau thiab Qhib Tus nas
Tshem Tawm Taw thiab Ntsia Hlau thiab Qhib Tus nas
Tshem Tawm Taw thiab Ntsia Hlau thiab Qhib Tus nas
Tshem Tawm Taw thiab Ntsia Hlau thiab Qhib Tus nas

Tshem cov ntaub los ntawm hauv qab ntawm koj tus nas yog tias lawv tau npog thiab ntsia hlau. Tshem cov ntsia hlau thiab ua tib zoo qhib nas. Nco ntsoov khaws cov ntsia hlau qhov twg koj tuaj yeem pom lawv!

Kauj Ruam 3: Disconnect USB Cable thiab Tshem Encoder Log

Disconnect USB Cable thiab Tshem Encoder Log
Disconnect USB Cable thiab Tshem Encoder Log
Disconnect USB Cable thiab Tshem Encoder Log
Disconnect USB Cable thiab Tshem Encoder Log
Disconnect USB Cable thiab Tshem Encoder Log
Disconnect USB Cable thiab Tshem Encoder Log
Disconnect USB Cable thiab Tshem Encoder Log
Disconnect USB Cable thiab Tshem Encoder Log

Txuas tus nas lub USB cable thiab muab pov tseg. Feem ntau yuav muaj qhov txuas tab sis yog tias tsis muaj, tsuas yog txiav cov kab siv sab txiav, ceev faj kom tsis txhob txuas qhov txuas ntawm cov xov hlau (sib koom hauv av kov lub +5v tuaj yeem cuam tshuam nrog kev ua haujlwm ntawm lub ntsuas). Tshem lub log log log kom nws tsis ploj.

Kauj Ruam 4: Mouse Sensor PCB thiab Kev Sib Txuas

Mouse Sensor PCB thiab Kev Sib Txuas
Mouse Sensor PCB thiab Kev Sib Txuas
Mouse Sensor PCB thiab Kev Sib Txuas
Mouse Sensor PCB thiab Kev Sib Txuas
Mouse Sensor PCB thiab Kev Sib Txuas
Mouse Sensor PCB thiab Kev Sib Txuas

Nov yog Fritzing daim duab ntawm kev sib txuas thiab daim duab qhia pom kev sib txuas ua siv Kensington nas kuv tab tom siv rau kev qhia.

Kauj Ruam 5: Tinning Cov Xov

Tinning Cov Xov
Tinning Cov Xov
Tinning Cov Xov
Tinning Cov Xov

Txiav thiab tin 10 4inch ntev ntawm cov hlau rau kev sib txuas. Qhov no yuav ua rau nws yooj yim dua rau lawv los ua PCB. Koj tuaj yeem tshem tawm IC hauv av vim nws yog qhov sib txuas zoo ib yam li lwm qhov hauv av.

-cov-laug khawm-nruab nrab khawm-txoj cai khawm-encoder a-encoder b-IC +5v-IC av -IC sck-IC sdio

Kauj Ruam 6: Siv Lub Tshuab Hluav Taws Xob rau Microswitches thiab Encoder Log

Soldering Cov Hluav Taws Xob rau Microswitches thiab Encoder Log
Soldering Cov Hluav Taws Xob rau Microswitches thiab Encoder Log
Soldering Cov Hluav Taws Xob rau Microswitches thiab Encoder Log
Soldering Cov Hluav Taws Xob rau Microswitches thiab Encoder Log
Soldering Cov Hluav Taws Xob rau Microswitches thiab Encoder Log
Soldering Cov Hluav Taws Xob rau Microswitches thiab Encoder Log
Soldering Cov Hluav Taws Xob rau Microswitches thiab Encoder Log
Soldering Cov Hluav Taws Xob rau Microswitches thiab Encoder Log

Pib nrog cov xaim av, muab cov xaim txuas rau sab hauv qab ntawm lub rooj tsavxwm hauv cov chaw uas tau piav qhia ua ntej. Koj tseem tuaj yeem txuas IC pins ntawm sab hauv ib yam nkaus. Kuv tau ua cov no saum toj kawg nkaus vim tias kuv tau hais txog daim ntawv tshwj xeeb thaum siv cov khoom siv. Tig lub rooj tsavxwm thiab teeb tsa cov xov hlau kom lub rooj tsav xwm tuaj yeem zaum tau yam tsis muaj qhov khoob ntxiv los ntawm cov xov hlau.

Kauj Ruam 7: Ruaj Ntseg Cov Hluav Taws Xob thiab Thiab PCB Nrog Kub Kub

Ruaj Ntseg Cov Hluav Taws Xob thiab Thiab PCB Nrog Kub Kub
Ruaj Ntseg Cov Hluav Taws Xob thiab Thiab PCB Nrog Kub Kub
Ruaj Ntseg Cov Hluav Taws Xob thiab Thiab PCB Nrog Kub Kub
Ruaj Ntseg Cov Hluav Taws Xob thiab Thiab PCB Nrog Kub Kub
Ruaj Ntseg Cov Hluav Taws Xob thiab Thiab PCB Nrog Kub Kub
Ruaj Ntseg Cov Hluav Taws Xob thiab Thiab PCB Nrog Kub Kub
Ruaj Ntseg Cov Hluav Taws Xob thiab Thiab PCB Nrog Kub Kub
Ruaj Ntseg Cov Hluav Taws Xob thiab Thiab PCB Nrog Kub Kub

Siv rab phom nplaum kub los xaim xov hlau mus rau ntawm ntug ntawm lub rooj tsavxwm. Tsis txhob hnov qab tig rab yaj phom! Cov kev sib txuas yuav tsis tawg los ntawm kev sib tsoo thiab nws ua rau lawv yooj yim txheeb xyuas thaum lub rooj tsav xwm tau ntxeev vim tias lawv tau ua raws.

Kauj Ruam 8: Siv Lub Tshuab Hluav Taws Xob mus rau Optical Mouse Sensor

Soldering Cov Hluav Taws Xob rau Optical Mouse Sensor
Soldering Cov Hluav Taws Xob rau Optical Mouse Sensor
Soldering Cov Hluav Taws Xob rau Optical Mouse Sensor
Soldering Cov Hluav Taws Xob rau Optical Mouse Sensor
Soldering Cov Hluav Taws Xob rau Optical Mouse Sensor
Soldering Cov Hluav Taws Xob rau Optical Mouse Sensor
Soldering Cov Hluav Taws Xob rau Qhov Khoos Phis Tawj Sensor
Soldering Cov Hluav Taws Xob rau Qhov Khoos Phis Tawj Sensor

Kuv tau siv cov xov hlau ncaj qha mus rau IC, tab sis lawv tuaj yeem yooj yim muab muag rau sab hauv qab ntawm PCB. Kuv pib los ntawm tinning ob txhais ceg ntawm IC uas kuv xav tau rau solder rau, thiab tom qab ntawd yaj cov txheej txheej txheej rau ntawm txhais ceg thiab xaim ua ke nrog cov hlau txuas. Ruaj ntseg cov kev sib txuas no nrog cov kua nplaum kub thiab txiav ib qho xov hlau uas tawm ntawm sab saum toj ntawm lub rooj tsavxwm kom tiv thaiv lawv los ntawm kev ua yuam kev kov Arduino Nano.

Kauj Ruam 9: Txuas lub Optical Sensor mus rau Nano

Txuas lub Optical Sensor mus rau Nano
Txuas lub Optical Sensor mus rau Nano
Txuas lub Optical Sensor mus rau Nano
Txuas lub Optical Sensor mus rau Nano
Txuas lub Optical Sensor mus rau Nano
Txuas lub Optical Sensor mus rau Nano
Txuas lub Optical Sensor mus rau Nano
Txuas lub Optical Sensor mus rau Nano

Txiav cov xov hlau los ntawm lub ntsuas kom ntev thiab muab txuas rau Arduino. Kuv nkag mus hauv qab thiab muab tshuaj txhuam rau saum kom siv chav me me li sai tau. D2, D3, 5v thiab GND.

Kauj Ruam 10: Txuas Txoj Cai thiab Khawm Khawm rau Nano

Txuas Txoj Cai thiab Lub Hauv Paus Khawm rau Nano
Txuas Txoj Cai thiab Lub Hauv Paus Khawm rau Nano
Txuas Txoj Cai thiab Lub Hauv Paus Khawm rau Nano
Txuas Txoj Cai thiab Lub Hauv Paus Khawm rau Nano

Txiav txoj cai thiab nruab nrab khawm xov hlau kom ntev thiab muab lawv txuas rau D7 & D8.

Kauj Ruam 11: Txuas Lub Pob Khawm Sab laug mus rau Nano

Txuas Sab laug khawm mus rau Nano
Txuas Sab laug khawm mus rau Nano
Txuas Sab laug khawm mus rau Nano
Txuas Sab laug khawm mus rau Nano

Txiav sab laug khawm hlau kom ntev thiab muab nws txuas rau D6.

Kauj Ruam 12: Txuas lub Encoder Log rau Nano

Txuas lub Encoder Log rau Nano
Txuas lub Encoder Log rau Nano
Txuas lub Encoder Log rau Nano
Txuas lub Encoder Log rau Nano

Txiav cov kab xev hluav taws xob kom ntev thiab muab lawv txuas rau D9 & D10.

Kauj Ruam 13: Txuas Tus Hais Lus rau Nano

Txuas Tus Hais Lus rau Nano
Txuas Tus Hais Lus rau Nano
Txuas Tus Hais Lus rau Nano
Txuas Tus Hais Lus rau Nano
Txuas Tus Hais Lus rau Nano
Txuas Tus Hais Lus rau Nano

Thaum kawg txuas koj tus neeg hais lus rau Arduino. + Yuav mus rau D5 thiab - yuav mus rau hauv av. Txij li thaj av tau raug coj los, Kuv tau siv USB tiv thaiv vim tias nws muaj ntau lub lauj kaub tuav nws qhov chaw. Txuas lub USB mini cable thiab pub nws mus rau qhov qhib rau nas nas. Hauv qhov piv txwv no kuv yuav tsum haum nws nruab nrab ntawm lub log log thiab khawm lub log, yog li kuv hle lub rwb thaiv tsev me ntsis kom ua kom haum rau qhov sib txawv nqaim.

Kauj Ruam 14: Npaj Ua Kom Zoo Rau Ntug Tus Hais Lus,

Kev Npaj Ua Kom Zoo Rau Cov Neeg Hais Lus Mounting,
Kev Npaj Ua Kom Zoo Rau Cov Neeg Hais Lus Mounting,
Kev Npaj Ua Kom Zoo Rau Cov Neeg Hais Lus Mounting,
Kev Npaj Ua Kom Zoo Rau Cov Neeg Hais Lus Mounting,
Kev Npaj Ua Kom Zoo Rau Cov Neeg Hais Lus Mounting,
Kev Npaj Ua Kom Zoo Rau Cov Neeg Hais Lus Mounting,

Txheeb xyuas sab hauv qab ntawm lub hau nas. Feem ntau yuav muaj qee yam spacer thiab cov khoom sib txuas kom cov nas tsis yooj yim sib tsoo nrog rau qee yam los tuav lub khawm sib dhos. Cov nas no muaj cov yas yas txheej uas hla thoob plaws saum npoo uas ua haujlwm ua cov nyees khawm uas nias sab hauv sab hauv. Qhov no tau tuav hauv qhov chaw los ntawm daim yas yas dawb qhia saum toj no. Kuv pom tias kuv tuaj yeem siv thaj chaw ntawd rau tus hais lus yog tias kuv kub kua nplaum pivot rau lub khawm thaum gluing tus hais lus. Txiav tawm txhua yam uas tuaj yeem ua raws li tus hais lus.

Kauj Ruam 15: Laum thiab nthuav qhov rau Kev Hais Lus Mounting

Laum thiab Qhib Qhov rau Hais Lus Mounting
Laum thiab Qhib Qhov rau Hais Lus Mounting
Laum thiab Dav Qhov rau Tus Hais Lus Mounting
Laum thiab Dav Qhov rau Tus Hais Lus Mounting
Laum thiab Qhib Qhov rau Hais Lus Mounting
Laum thiab Qhib Qhov rau Hais Lus Mounting

Kos ib qho chaw rau tus hais lus qhib thiab xyaum hla nws nrog me ntsis. Qhov kev sim tsav no cim qhov chaw rau kev ua haujlwm ntxiv nrog me ntsis loj dua. Yog tias lub qhov txhab nthuav tawm sai heev cov yas tuaj yeem tawg. Pib los ntawm kev tshem lub khawm sib dhos thiab tom qab ntawd nthuav dav txhua qhov sib cais nrog peb lub hlis ntiv tes me ntsis thiab tom qab ntawd nrog cov kauj ruam me ntsis. Ntxuav cov ntug nrog rab riam, tshem tawm cov cuab yeej lossis cov ntaub ntawv puag ncig.

Kauj Ruam 16: Txuas Ib Leeg Cov Khoom Siv Hluav Taws Xob thiab Mount Tus Hais Lus

Txuas ib qho khoom siv uas tsis xoob thiab txuas tus hais lus
Txuas ib qho khoom siv uas tsis xoob thiab txuas tus hais lus
Txuas ib qho khoom siv uas tsis xoob thiab txuas tus hais lus
Txuas ib qho khoom siv uas tsis xoob thiab txuas tus hais lus
Txuas ib qho khoom siv uas tsis xoob thiab txuas tus hais lus
Txuas ib qho khoom siv uas tsis xoob thiab txuas tus hais lus

Ua ntej muab cov kua nplaum tso rau ib sab (xws li khawm khawm hauv qhov piv txwv no) siv rab phom kub yaj. Qhov no yuav tsis tsim nyog, nws nyob ntawm tus qauv ntawm nas. Tom qab ntawd muab tus neeg hais lus thiab lo rau ib puag ncig kom ruaj ntseg. Kuv feem ntau pib nrog ib qho blog ntawm cov kua nplaum, ntxeev nws thaum nws tseem kub rau nruab nrab nws thiab cia qhov qhuav. Tom qab ntawd ua kom tiav los ntawm kev ua raws ib puag ncig ntawm tus neeg hais lus, ua tib zoo saib kom tsis txhob muab kua nplaum rau ntawm lub npog npog, lossis npog ib qho ntawm cov nraub qaum.

Kauj Ruam 17: Rov Sib Sau Dua, Hloov / Kho Cai

Txuas tus nas lub hau rov rau lub cev. Yog tias nws tsis haum, rov kho cov xov hlau thiab xyuas kom tseeb tias lub qhov ntsia hlau tsis tau npog. Ntsia nws ua ke thiab txuas nws mus rau lub khoos phis tawj kom rub cov software siv Arduino IDE. Yog tias koj siv Nano knockoffs ntawm Mac koj yuav tau rub cov tsav tsheb ntxiv los rub tawm cov ntawv. Txoj cai tuaj yeem rub tawm los ntawm no.

www.bryanday.net/mousesynth_v0_1_4.zip

Tshem tawm los ntawm lub khoos phis tawj thiab txuas rau lub zog USB. Muaj kev lom zem!

Cov qauv pom zoo: Txhawb nqa ntau lub suab yoj suab, txhawb nqa roj teeb tau, Bluetooth ua haujlwm, CV tso tawm …

Pom zoo: