Cov txheej txheem:
- Kauj Ruam 1: Cov keyboard hauv Kev Ua
- Kauj ruam 2: Sau tag nrho Cov Khoom
- Kauj Ruam 3: Schematics
- Kauj Ruam 4: PCB thiab Cov Ntaub Ntawv
- Kauj ruam 5: Software
- Kauj ruam 6: Ua tiav
Video: Universal USB Keyboard Nrog RGB Hloov: 6 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
Hauv cov lus qhia no kuv yuav qhia koj yuav ua li cas tsim koj tus kheej kev cai USB keyboard uas coj zoo ib yam li lub khoos phis tawj keyboard ib txwm muaj.
Koj tuaj yeem muab ib qho tseem ceeb ua ke lossis ntu ntawm cov yuam sij kom raug nias thaum nias tsuas yog ib lub khawm.
Koj tuaj yeem siv nws los ua kom zoo dua koj lub khoos phis tawj los ntawm kev muab ntau yam kev sib txuas ua ke rau tsuas yog ib qho tseem ceeb ntawm lub cev, yog li nws ua rau koj lub neej yooj yim dua.
Koj tuaj yeem ua nws lub PC game controller.
Koj tseem tuaj yeem ua haujlwm nws los sau cov ntawv sau los ntawm nias ib qho tseem ceeb:) Lub ntuj yog qhov txwv.
Kuv siv nws los tswj kuv li CNC router phau ntawv taw kev txav, txij li kuv pom siv lub khoos phis tawj keyboard ib yam nkaus thiab hnyav heev thiab siv tau.
Kauj Ruam 1: Cov keyboard hauv Kev Ua
Ntawm no koj tuaj yeem pom luv luv li cas cov keyboard ua tau zoo hauv daim ntawv thov tiag.
Cov keyboard muaj 2 hom - qib theem thiab hom kev txav mus los.
Kauj ruam 2: Sau tag nrho Cov Khoom
Koj yuav xav tau:
- Arduino Pro Micro 32u4 uas tuaj yeem ua tau zoo li USB PC keyboard lossis nas
- Pushbutton keyboards - Kuv siv tus nqi tsis zoo (20 $ ib thooj) NKK KP02 hloov pauv kuv tau txais los ntawm tus phooj ywg. Lawv yog cov khawm khawm nrog RGB LED sab hauv. Tab sis koj tuaj yeem siv txhua lub khawm hloov pauv raws li koj nyiam, yog tias koj tsis xav tau qhov ntxim nyiam LED los. Lossis koj tuaj yeem siv qee qhov hloov pauv uas muaj lub qhov rau ib txwm RGB LED kom xaub hauv lossis nyob ib sab ntawm nws.
- TLC5940 IC (tsuas yog tias koj xav tau cov teebmeem LED). Kuv siv IC nws tus kheej, tab sis koj tuaj yeem siv pawg tswj hwm kev tawg, Yog tias koj tsis npaj yuav ua koj tus kheej PCB.
- 3d tshuab luam ntawv (yeem)
- PCB ua txuj ci (xaiv tau)
- Kev paub txog hluav taws xob yooj yim
- qee lub sijhawm
- thiab lub cev:)
Kauj Ruam 3: Schematics
Schematics yog yooj yim heev.
Kuv siv qee qhov RC debouncing Circuit rau cov hloov pauv (saib duab), yog li tsis tas yuav txhawj xeeb txog qhov hloov pauv hauv software. Cov LEDs hauv qhov hloov pauv muaj ib qho anode.
Rau TLC5940 LED tsav tsheb - Kuv ua kuv tus kheej PCB thiab kuv tau muab cov ICs ncaj qha rau ntawm kuv PCB. Tus tiv thaiv los ntawm IREF rau GND teeb tsa tam sim no rau tsav LEDs.
Yog tias koj yuav siv pawg tswj hwm pawg tawm tsam, txheeb xyuas pawg tswj hwm pawg tawm tsam. Nws yuav tsum ncaj nraim kom txuas cov xov hlau.
Tej zaum koj tsis tas yuav siv 7 lub peev xwm sib cais yog tias koj yuav siv lub rooj sib cais rau LED tsav tsheb.
Kauj Ruam 4: PCB thiab Cov Ntaub Ntawv
PCB tsis tas yuav nqis tes ua hauv cov lus qhia no, vim tias kuv siv cov haujlwm uas tsis yog nyiam ua haujlwm thiab kuv cov hloov pauv tau kim heev los yuav, yog li kuv ntseeg tias tsis muaj coob leej ntawm koj yuav ua qhov PCB uas kuv tau ua.
Kuv txhawb koj kom xaim txoj haujlwm siv cov laug cam tawg thiab thaiv kab thaiv, lossis koj tuaj yeem tsim koj tus kheej PCB uas yuav haum rau qhov hloov pauv tau yooj yim dua thiab LEDs.
Kuv tsim pcb nrawm hauv Altium Designer. Kuv siv txoj haujlwm no vim tias kuv muaj daim ntawv tso cai, txij li kuv siv nws rau kev ua haujlwm txhua hnub. Kuv paub txoj haujlwm no tsis muaj ib qhov chaw nyob ze qhov nyiam nyiam tus nqi zoo.
Yog leej twg xav tau Altium lossis PCB gerber cov ntaub ntawv hais nws hauv cov lus thiab kuv yuav xa lawv mus rau koj.
Lub thawv tau kos rau hauv Autodesk Inventor (tseem tsis yog txoj haujlwm nyiam ua haujlwm, tab sis kuv siv qhov ntawd ntawm kev ua haujlwm ib yam thiab kuv tau siv rau nws). Yog leej twg xav tau.stl cov ntaub ntawv rau 3D luam, thov tawm tswv yim thiab kuv yuav xa lawv tuaj rau koj.
Kauj ruam 5: Software
Txoj cai tau ua hauv ib puag ncig arduino.
Kuv siv lub tsev qiv ntawv khawm rau kev tswj hwm txhua lub khawm. Nws muaj cov yam ntxwv zoo rau nyeem cov nyees khawm zoo li key.uniquePress () thiab key.isPressed () kom ua rau peb lub neej yooj yim dua.
Kev koom ua ke arduino Keyboard lub tsev qiv ntawv rau ua rau pawg thawj coj coj zoo li PC keyboard.
TLC5940 lub tsev qiv ntawv rau kev tswj cov coj dimming thiab ua txhua qhov zoo fade ins thiab outs.
Kuv txuas qhov kawg arduino code. Cov yuam sij tau teeb tsa zoo ib yam li cov keyboard PC niaj zaus hauv tus lej raws li cov duab txuas rau kev yooj yim tuav.
Cov cai tuaj yeem hloov kho tau yooj yim rau txhua yam kev siv.
Kauj ruam 6: Ua tiav
Cov keyboard ua haujlwm zoo li ntxim nyiam.
Kuv siv nws los tswj kuv tus CNC router, tab sis cov ntawv thov tau yog qhov txwv.
Qhia koj lub tswv yim rau kuv!
Koj tuaj yeem ua raws kuv ntawm Facebook thiab Instagram
www.instagram.com/jt_makes_it nws
rau spoilers ntawm qhov kuv tab tom ua haujlwm tam sim no, tom qab qhov xwm txheej thiab lwm yam ntxiv!
Pom zoo:
DIY Hloov pauv Hloov Lub Rooj Hloov Kho Lub Hwj Huam "Minghe D3806" 0-38V 0-6A: 21 Cov Kauj Ruam (nrog Duab)
DIY Hloov Pauv Hloov Pauv Hloov Kho Lub Hwj Huam "Minghe D3806" 0-38V 0-6A: Ib txoj hauv kev yooj yim tshaj plaws los tsim lub Rooj Tog Zaum Lub Hwj Huam yooj yim yog siv Buck-Boost Converter. Hauv Cov Lus Qhia thiab Yeeb Yaj Kiab Kuv pib tawm nrog LTC3780. Tab sis tom qab kuaj kuv pom LM338 nws muaj nws puas lawm. Luckily kuv muaj ob peb qhov sib txawv
Tsis siv neeg Keyboard thiab nas Hloov - USB Upstream Hloov: 5 Cov Kauj Ruam
Tsis Siv Neeg Keyboard thiab Mouse Hloov - USB Upstream Hloov: Hauv qhov haujlwm no peb yuav sib sau cov keyboard tsis siv neeg thiab nas hloov uas tso cai rau sib koom yooj yim ntawm ob lub khoos phis tawj. kuv lab lab. Feem ntau nws yog kuv li D
Txhim Kho Cov Hloov Pauv Hloov Rau Hauv Ntse Kov Hloov Nrog Temp Monitoring: 4 Cov Kauj Ruam
Txhim Kho Qhov Hloov Pauv Hloov Mus Rau Ntse Kov Hloov Nrog Lub Sijhawm Saib Xyuas: Kuv paub txhua tus ntawm koj ntsib qhov teeb meem no tsawg kawg ib qho hauv koj lub neej lub rooj hloov pauv tau tawg los ntawm kev siv tas mus li. ntau lub sijhawm yog lub caij nplooj ntoo hlav sab hauv hloov pauv los yog m
Yuav Txhais Li Cas Kev Taw Qhia ntawm Kev Hloov Los Ntawm Digital Hloov Hloov Nrog PIC: 5 Cov Kauj Ruam
Yuav Ua Li Cas Txhais Tus Cwj Pwm ntawm Kev Sib Hloov Los Ntawm Digital Rotary Hloov Nrog PIC: Lub hom phiaj rau Cov Lus Qhia no yog los piav qhia yuav ua li cas txhawm rau cuam tshuam cov digital (plaub kab cim coded) hloov pauv nrog lub microcontroller. Tsis txhob txhawj, kuv yuav piav qhia dab tsi? Quadrature coded? txhais tau rau peb. Lub interface no thiab cov software txuas nrog wilâ € ¦
Kev Sib Hloov Hloov Kho Hloov Kho rau Qub Guitar Amps: 11 Cov Kauj Ruam (nrog Duab)
Kev Sib Hloov Hloov Kho Hloov Kho rau Qub Guitar Amps: Txuag koj cov tawv nqaij! Txhim kho qhov kev txaus ntshai qub amp nrog kev hloov pauv cais. Muaj ob peb lub suab nrov qub (thiab xov tooj cua) rov qab nyob rau hauv ib hnub rub lub zog los ntawm kev kho tsev neeg ncaj qha " lub ntsiab " xov hlau Qhov no yog kev xyaum tsis nyab xeeb. Feem ntau