Cov txheej txheem:

3D Luam Arduino Macro Keyboard: 6 Kauj Ruam (nrog Duab)
3D Luam Arduino Macro Keyboard: 6 Kauj Ruam (nrog Duab)

Video: 3D Luam Arduino Macro Keyboard: 6 Kauj Ruam (nrog Duab)

Video: 3D Luam Arduino Macro Keyboard: 6 Kauj Ruam (nrog Duab)
Video: Elon musk fires people like a boss😎 Credit: @geomfilms 2024, Kaum ib hlis
Anonim
3D Luam Arduino Macro Keyboard
3D Luam Arduino Macro Keyboard

Nov yog kuv thawj qhov haujlwm ua haujlwm nrog Arduino Pro Micro. Koj tuaj yeem siv nws hauv Zoom lossis Discord sib tham los ua tej yam xws li kaw qhov muag tsis pom, hloov koj lub vis dis aus, lossis faib koj lub vijtsam. Nyob rau sab saum toj ntawm qhov ntawd, koj tuaj yeem program nws kom qhib cov haujlwm nquag siv hauv koj lub khoos phis tawj lossis ua tej yam xws li thaij duab thiab xauv lub vijtsam. Cov cai tuaj yeem kho tau yooj yim zoo rau koj cov kev xav tau yog tias koj xav qhib cov haujlwm sib txawv lossis yog tias koj xav ntxiv koj tus kheej hotkeys.

Txhawm rau siv nws, koj tuaj yeem hloov lub zog thiab siv lub zog nruab nrab hloov, thiab xaiv seb koj puas xav tswj Zoom lossis Discord siv sab tes xis hloov. Tom qab ntawd, tsuas yog thawb lub khawm kom raug thiab ua tej yam xws li hloov koj lub microphone lossis hloov koj lub vis dis aus rau thiab tawm.

Khoom siv

Arduino Pro Micro x1

Perfboard x1 (Kuv paub tseeb tias koj tuaj yeem tau txais nws pheej yig dua qhov chaw. Qhov no tsuas yog thawj qhov tshwm sim kuv pom)

Pushbuttons x 13

Swb hloov x 2

5 hli liab LED x1

220 ohm resistor x1

Super kua nplaum

Khoom siv:

Soldering hlau

3D tshuab luam ntawv

Label txiag (yeem)

Laum (xaiv tau)

Kauj Ruam 1: 3D Luam Ntawv thiab Koom Nrog

3D Luam Ntawv thiab Koom Nrog
3D Luam Ntawv thiab Koom Nrog
3D Luam Ntawv thiab Koom Nrog
3D Luam Ntawv thiab Koom Nrog
3D Luam Ntawv thiab Koom Nrog
3D Luam Ntawv thiab Koom Nrog

Thawj qhov ua yog 3D luam koj lub plhaub. Kuv lub tshuab luam ntawv 3D me me me dhau los sau nws tag nrho hauv ib qho yog li kuv siv qhov no los ua lub sijhawm los xyaum ua cov txheej txheem tshiab rau kev koom ua ke. Ua ntej, rub cov ntawv los ntawm Thingiverse ntawm no. Lawv txhua tus tuaj yeem luam tawm yam tsis muaj kev txhawb nqa lossis rafts.

Koj tseem yuav xav tau pob khawm. Koj tsuas tuaj yeem yuav ib qho los ntawm lub khw muag khoom kho vajtse, tab sis kuv tau xaiv 3D luam kuv ib yam thiab siv qhov kev tsim txaus: https://www.thingiverse.com/thing:1083876 (tsis yog kuv li)

Thaum txhua yam tau luam tawm, koj yuav tsum koom nrog ob ntu hauv qab ua ke thiab tom qab ntawd tib yam nrog rau sab saum toj. Txhawm rau ua qhov no, ua kom sov koj cov hlau txuas thiab kaw ua ke cov khoom koj xav koom nrog. Thaum koj cov hlau yaj kub, tso nws rau ntawm cov nqaws ntawm koj ob ntu thiab rub nws mus rau sab kom yaj ob daim ua ke. Ua qhov no rau sab hauv ntawm lub thawv kom khaws cov khoom kom huv si thiab koj yuav tsum xaus nrog txoj hlua raws li pom hauv cov duab saum toj no. Tom qab ntawd koj tuaj yeem ua tib yam nrog ob daim saum toj kawg nkaus. Yog tias koj tsis paub meej txog qib no, saib hauv Google. Muaj ntau cov yeeb yaj kiab piav qhia yuav ua li cas koom nrog 3d luam tawm nrog cov hlau txuas.

Nyob ntawm qhov chaw koj xav kom USB cable tawm los ntawm, koj kuj tseem yuav xav tau lub qhov nyob hauv ib sab ntawm koj lub npov thiab hla qhov kawg me me ntawm USB cable hla nws. Ib zaug ntxiv, yog tias koj tsis muaj qhov laum, lossis yog tias koj xav tau qhov zoo dua qub, xav tias siv qee qhov khoos phis tawj 3D txhawm rau ntxiv lub qhov ua ntej luam ntawv.

Nyob rau theem no, pleev xim rau txhua qhov yog tias koj xav tau, thiab tom qab ntawd lo lossis lwm yam txuas pob khawm rau sab nraum qab ntawm lub thawv (saib daim duab thib peb saum toj no).

Kauj Ruam 2: Khawm Tso thiab thaiv

Khawm Tso thiab Txuas
Khawm Tso thiab Txuas
Khawm Tso thiab Txuas
Khawm Tso thiab Txuas

Cov nyees khawm thiab cov hloov swb yuav tsum haum zoo nkauj zoo nkauj rau hauv lub plhaub. Thawb rau hauv lub pob nyem los ntawm hauv qab, thiab qhib lub swb swb los ntawm sab saum toj. Nyob ntawm seb koj xav tau koj lub zog LED li cas, tho qhov 5mm qhov thiab ntsais lub LED los ntawm hauv qab ib yam. Yog tias koj tsis muaj qhov laum, Kuv hais qhia siv qee yam xws li TInkercad ntxiv qhov rau lub LED ua ntej koj luam tawm ntu.

Siv me ntsis super kua nplaum kom txhua yam nyob hauv qhov chaw thiab tam sim no koj tau npaj rau txuas txhua yam. Ua raws daim kab xev kab lus saum toj no thiab txhuam txhua yam. Siv perfboard los tsim koj txoj kev tsheb nqaj hlau hauv zej zog. Yog tias perfboard loj dhau, xav tias dawb los txiav nws ua tej daim zoo li kuv tau ua. Nco ntsoov tias koj ceeb toom lub pob twg mus rau tus pin twg los hloov kho txoj cai tom qab.

Nco ntsoov tias koj yuav tsum tsis txhob siv Arduino Uno (Kuv tsuas tuaj yeem siv Uno hauv daim duab thov txim). Txhua tus lej tus lej tseem zoo ib yam, nrog qee qhov sau hauv tus kheej yog tias lawv tsis muaj nyob ntawm Uno. Thov txim rau dodginess ntawm daim duab tab sis nws hopfeully tseem tau txais cov ntsiab lus hla:)

Kauj ruam 3: Code

Nrog rau tag nrho cov thaiv tiav, nws yog lub sijhawm los ntsaws rau hauv Arduino thiab xa cov cai. Koj tuaj yeem rub cov cai hauv qab no. Thaum koj upload cov cai, Ua kom ntseeg tau tias koj xaiv lub Rooj Tswjhwm Saib txoj cai! Kuv tau ua kuv tus thawj pro micro los ntawm kev xaiv 3.3V bootloader thaum kuv lub rooj tsavxwm yog 5V lub rooj tsavxwm (muaj ib txoj hauv kev rau un-cib nws tab sis kuv tsis tuaj yeem ua haujlwm). Nco ntsoov xyuas! Yog tias koj xav kom ntseeg tau, xa cov cai ua ntej ua txhua yam ntawm koj qhov muag thaum muaj qee yam tsis raug.

Muaj ob peb thaj chaw hauv txoj cai uas tso cai rau koj me ntsis ntawm tus kheej:

Fais fab khawm/hloov Kuv pib muaj phiaj xwm loj dua uas tsis ua haujlwm, yog li muaj qhov hloov pauv ntxiv. Yav tom ntej, nws yuav muab rau kev ua haujlwm ntxiv tab sis tam sim no, qhov hloov nruab nrab tau hloov lub pob liab liab loj kom tig thiab tua cov keyboard. Yog tias koj xav siv lub pob ua lub zog hloov pauv, muaj qhov pom tseeb qhov thaiv uas koj tuaj yeem tsis pom zoo thiab siv los hloov cov ntawv sau tseg

Yog tias koj xav rov kho txoj haujlwm ntawm cov nyees khawm, xa rov qab mus rau tus pin twg txhua tus khawm txuas rau. Nyob rau sab saud ntawm cov ntaub ntawv code, koj tuaj yeem hloov tus lej tus lej txhais kom pom qhov koj teeb tsa tus kheej.

Ntxiv/hloov hotkeysQhov hom ntawv rau hotkeys yog piav qhia tus kheej zoo nkauj. Yog tias koj xav hloov ib qho ntawm cov hotkeys lossis txwv tsis pub hloov kho txoj cai, Kuv muaj qee qhov lus qhia:

1. Windows qhov tseem ceeb - Qhov no yog tsim rau Windows yog li qee qhov hotkeys kuv tau siv lub qhov rais khawm. Lub tsev qiv ntawv Keyboard tsis muaj Windows yuam sij, yog li siv 'KEY_LEFT_GUI' hloov chaw.

2. nias vs. sau- Tus lej siv ob qho tib si Keyboard.press () thiab Keyboard.write (). Txoj kev sau yog tib yam li tsuas yog nyem qhov sib thooj sib xws ntawm koj cov keyboard. Txoj kev nias yog tib yam li tuav tus yuam sij. Yog tias koj siv txoj hauv kev nias, xyuas kom koj tso cov yuam sij tom qab nrog 'Keyboard.releaseAll ()'

3. Qhib cov phiaj xwm - Kuv txoj hauv kev qhib cov program zoo li cura thiab excel yog me ntsis clunky. Yeej, cov keyboard nias lub Windows qhov tseem ceeb (qhib lub tshuab raj pib), hom hauv lub npe ntawm qhov haujlwm siv 'Keyboard.println' txoj hauv kev, thiab tom qab ntawd nias nkag mus. Kom paub tseeb tias qhov no ua haujlwm, koj yuav tsum muab sijhawm rau lub khoos phis tawj los teb rau txhua qhov nias ua ntej ua ntej. Qhov qeeb ntawm kuv tus lej yog qhov raug rau kuv lub khoos phis tawj tab sis koj yuav xav tau txuas ntxiv yog tias koj lub khoos phis tawj qeeb me ntsis.

Kauj Ruam 4: Txheeb Tus Kheej Zoom thiab Discord

Personalizing Zoom thiab Discord
Personalizing Zoom thiab Discord
Personalizing Zoom thiab Discord
Personalizing Zoom thiab Discord
Personalizing Zoom thiab Discord
Personalizing Zoom thiab Discord

Peb nyob ze! Ib qho kawg uas yuav tsum tau ua yog hloov qee qhov chaw hauv Zoom thiab Discord. Hauv Zoom, peb yuav tsum tso cai siv cov keyboard luv luv siv thoob ntiaj teb (piv txwv li ua rau lawv ua haujlwm txawm tias Zoom tsis yog lub qhov rai nquag). Ua raws cov duab saum toj no mus rau Chaw -> Keyboard Shortcuts thiab tom qab ntawv khij "Enable Global Shortcut" rau txhua qhov cuam tshuam luv. Yog tias koj xav tawm koj cov rooj sib tham yam tsis muaj lus ceeb toom tshwm, tseem mus rau Chaw -> Dav thiab khij lub npov "Hais kom kuv lees paub thaum kuv tawm rooj sib tham".

Hauv Discord, qhib lub desktop app thiab mus rau Chaw -> Keybinds, thiab tom qab ntawd nkag mus rau koj cov keybinds nyiam. Yog tias koj tsis xav hloov txoj cai txhua lub sijhawm, tsuas yog theej cov teeb tsa pom hauv daim duab kawg.

Kauj Ruam 5: Daim ntawv lo

Thaum koj tau txais txhua yam muaj txiaj ntsig, Kuv xav kom muab qee daim ntawv tso rau hauv koj cov nyees khawm. Kuv siv cov ntawv sau tab sis koj tuaj yeem yooj yim luam tawm qee yam thiab lo rau, lossis koj tuaj yeem tuaj yeem txawm tias 3D luam qee daim ntawv lo?

Kauj Ruam 6: Xaus

Qhov ntawd yog nws! Peb npaj mus! Thaum cov keyboard tau ntsaws, tsis muaj teeb tsa ntxiv xav tau. Cov nyees khawm yuav tsum txhua tus sau npe raws li xav tau. Yog tias koj xav ntxiv ntau qhov hotkeys, Kuv xav kom siv qhov hloov pauv thib ob tib yam li Zoom/Discord hloov tau siv los ua ib lub khawm muaj ntau yam siv.

Yog tias muaj dab tsi tsis meej lossis yog tias koj xav tham txog dab tsi, thov tawm lus thiab kuv yuav ua qhov zoo tshaj los teb:)

Zoo Siab Ua!

Pom zoo: