Cov txheej txheem:

RGB Ib Khawm USB Keyboard: 6 Kauj Ruam (nrog Duab)
RGB Ib Khawm USB Keyboard: 6 Kauj Ruam (nrog Duab)

Video: RGB Ib Khawm USB Keyboard: 6 Kauj Ruam (nrog Duab)

Video: RGB Ib Khawm USB Keyboard: 6 Kauj Ruam (nrog Duab)
Video: How to Change Color on Redragon K530 Pro Draconic Keyboard? (Quick & Easy) 2024, Kaum ib hlis
Anonim
RGB Ib Khawm USB Keyboard
RGB Ib Khawm USB Keyboard
RGB Ib Khawm USB Keyboard
RGB Ib Khawm USB Keyboard
RGB Ib Khawm USB Keyboard
RGB Ib Khawm USB Keyboard

Puas tau xav tias yuav tsum muaj me me, tseem ua haujlwm tau, RGB backlit keyboard, tsis loj dua qhov loj ntawm ib tus yuam sij? Tsis yog? Leej twg mob siab, ua ib qho ntxiv! Cov lus qhia no yuav coj koj mus txog cov kauj ruam uas koj xav tau los ua koj tus kheej, tsis muaj txiaj ntsig me ntsis, ib lub pob keyboard.

Kauj Ruam 1: Qhov Chaw thiab Cov Cuab Yeej

Qhov Chaw thiab Cov Cuab Yeej
Qhov Chaw thiab Cov Cuab Yeej
Qhov Chaw thiab Cov Cuab Yeej
Qhov Chaw thiab Cov Cuab Yeej

Txhawm rau ua txoj haujlwm no, koj yuav xav tau…

Qhov:

ATtiny85 raws pawg tswj hwm kev txhim kho. Cov laug cam no yog clones ntawm Digispark board, thiab tuaj yeem yuav rau me me li 1-2GBP/USD. Muaj ob peb qhov hloov pauv ntawm lub rooj tsavxwm no, ib qho uas tau tsim hauv USB A txuas, thiab ob qho uas tau tsim hauv Micro USB lub qhov (socket). Qhov xav tau rau txoj haujlwm no yog qhov me me ntawm ob qho uas muaj "TINY85" sau rau nws raws li tau thov rau "ATTINY85". Txhua lub rooj tsavxwm yuav ua haujlwm zoo ib yam, tab sis tsuas yog qhov no yuav haum rau hauv rooj plaub 3D luam tawm

  • WS2812b RGB LED. Cov no kuj tuaj hauv ntau hom ntawv, hom xav tau yog teeb tsa ntawm ib puag ncig PCB me me, me me loj dua li LED nws tus kheej. Ib qho liab qab LED kuj tseem tuaj yeem siv tau, tab sis nco ntsoov cov no yuav nyuaj heev rau cov laug.
  • Cherry MX/ Cherry MX Sib xws hloov. Cov hloov pauv nrog cov tsev nyob huv yog qhov zoo vim tias lawv yuav tso cai rau LEDS lub teeb hla mus.
  • Cherry MX sib xws keycap.

Cov Cuab Yeej:

  • Yuav tsum muaj Cov Kws Hlau thiab Cov Kws Lij Choj. Flux, Solder Braid/Wick, txheej thib peb txhais tes, thiab ntau Flux tseem muaj txiaj ntsig ib yam.
  • Ib lub tshuab luam ntawv 3D yuav tsum tau luam tawm lub thawv ntawv, tab sis qee yam zoo sib xws kuj tseem tuaj yeem tawm ntawm ntoo, acrylic, MDF, thiab lwm yam yog tias koj nkag tau rau cov cuab yeej siv tes yooj yim. Ib rooj plaub kuj tseem tuaj yeem txiav tawm ntawm lub thawv me me ABS.

Kauj ruam 2: Teeb tsa Software

Teeb Software
Teeb Software

Ua ntej, koj yuav tsum teeb tsa Arduino IDE thiab Digispark cov tsav tsheb. Txhawm rau ua qhov no, ua raws cov lus qhia ntawm no. Muab cov duab kos ntsais tso rau hauv nplooj ntawv txuas, kom ntseeg tau tias koj lub rooj tsavxwm ua haujlwm. Tom ntej no, koj yuav tsum teeb tsa Adafruit Neopixel Library, los tswj cov coj. Hauv Arduino IDE, mus rau Cov Cuab Yeej> Tswj Cov Tsev Qiv Ntawv thiab tshawb rau "Adafruit Neopixel." Rub tawm thiab teeb tsa lub tsev qiv ntawv ntawm tib lub npe.

Kauj Ruam 3: Luam Ntawv Case

Luam Ntawv Case
Luam Ntawv Case

Cov ntaub ntawv STL xav tau rau rooj plaub thiab tus lej piv txwv tuaj yeem rub tawm los ntawm yam sib txawv ntawm no. Rub tawm thiab luam tawm ob ntu ntawm rooj plaub tam sim no, thiab paub tseeb tias koj dai rau ntawm txoj cai - koj yuav xav tau tom qab.

Kauj Ruam 4: Teeb thiab Sib dhos

Teeb thiab Sib dhos
Teeb thiab Sib dhos
Teeb thiab Sib dhos
Teeb thiab Sib dhos

Xaim cov khoom siv raws li qhia hauv daim duab thiab cov duab. Cov leds cov ntaub ntawv tus pin yuav tsum txuas nrog tus pin P1 ntawm lub rooj tsavxwm, thiab qhov hloov pauv yuav tsum txuas nrog P2. Nco ntsoov tias koj txuas P1 rau cov ntaub ntawv leds IN tus pin, thiab tsis yog cov ntaub ntawv tawm tus pin. Tom ntej no, ua tib zoo ntxig lub rooj tsavxwm rau hauv rooj plaub. Nws nruj haum, thiab ib zaug nws nyob rau hauv, nws yuav nyuaj heev rau tshem tawm, yog li ob zaug xyuas koj cov thaiv ua ntej tes. Tom qab ntawd, kab kab micro usb chaw nres nkoj nrog cov lus txiav tawm ntawm rooj plaub, txiav lub taub hau taub hau ncaj (lossis cov cuab yeej zoo sib xws) tom qab lub rooj tsavxwm thiab siv nws thawb lub qhov (socket) rau hauv qhov txiav tawm. Nws yuav tsum haum kom nruj. Siv cov kua nplaum los tuav lub rooj tsavxwm hauv qhov chaw. Thaum kawg, teeb tsa ob qho kev nkag mus rau sab saum toj ntawm lub thawv ntawv nrog ob qhov kev tawm tsam hauv lub hauv paus, thiab haum lawv ua ke. Nco ntsoov tias rooj plaub tsis tsim los rov qhib dua tom qab sib dhos, yog tias tsis paub meej txog koj lub xov tooj, nyem qhov chaws (raws li qhia hauv qib tom ntej) thiab ntsuas cov coj thiab hloov ua ntej haum rau hauv rooj plaub.

Kauj Ruam 5: Teeb thiab Hloov Kho Txoj Cai

Flashing thiab Hloov Kho Txoj Cai
Flashing thiab Hloov Kho Txoj Cai

Unzip tus lej piv txwv koj rub tawm los ntawm Kauj Ruam 3, thiab qhib nws hauv Arduino IDE. Qhov kev kos duab yooj yim no tso cai rau koj teeb lub teeb pom kev rau koj cov xim uas xav tau, thiab daim ntawv qhia tus yuam sij rau qhov hloov pauv. Hloov kho qhov sib txawv ntawm lub teeb pom kev R, G thiab B kom xaiv cov xim uas koj xav kom lub teeb pom kev zoo, thiab lub teeb pom kev ci ci los hloov qhov kev siv ntawm cov coj. Tag nrho plaub ntawm cov kev hloov pauv no yuav tsum muaj tus lej los ntawm 0 (tawm) txog 255 (siab kawg). Txhawm rau qhia tus yuam sij, hloov pauv qhov sib txawv "keyCode" rau nrog tus yuam sij twg koj nyiam. Cov npe ntawm cov lej tseem ceeb tuaj yeem pom ntawm no. Thaum koj tau hloov kho cov cai rau koj nyiam ntaus lub pob upload, kom suav sau thiab nyem qhov chaws rau koj pawg thawj coj. Thaum nws ua tiav kev suav sau, lub davhlau ya nyob twg yuav hais kom koj ntsaws rau hauv koj lub rooj tsavxwm. Nco ntsoov tias koj ntsaws nws hauv 60 vib nas this, lossis koj yuav tau rov ua dua cov txheej txheem upload.

Kauj ruam 6: Ua tiav

Ua tiav!
Ua tiav!
Ua tiav!
Ua tiav!
Ua tiav!
Ua tiav!

Tam sim no koj yuav tsum muaj lub luag haujlwm ua haujlwm ib tus keyboard tseem ceeb! Cov cai muab ua piv txwv li USB HID keyboard ib txwm, yog li nws tuaj yeem siv tau yam tsis muaj kev txhim kho software ntxiv, txawm hais tias koj tuaj yeem rub tawm cov program macro xws li AutoHotkey kom siv qhov ua tau zoo thaum koj nias qhov tseem ceeb. Yog tias koj xav kho tus lej ntau dua li qhov tau muab los ntawm tus lej piv txwv, koj tuaj yeem sau koj tus kheej siv Digikeyboard lub tsev qiv ntawv. Lub tsev qiv ntawv FastLED kuj tseem tuaj yeem siv los tswj cov coj thiab muab cov haujlwm muaj zog ntau dua li Adafruit_Neopixel.

Yog tias koj nyiam cov lus qhia no, thov txiav txim siab pov npav rau nws hauv Kev Sib Tw Loj thiab Me, muaj kev lom zem ua!

Pom zoo: