Cov txheej txheem:
- Kauj Ruam 1: Daim Ntawv Teev Npe
- Kauj Ruam 2: Kev tsim kho
- Kauj ruam 3: Software
- Kauj ruam 4: Txuas
- Kauj Ruam 5: Ntxiv Bass thiab Treble Rotary Controls
- Kauj Ruam 6: Siv Sparkfun Pro Micro rau Cov Ntaub Ntawv Me Me
Video: Bass, Treble, thiab Volume USB Controller Nrog Keyboard LEDs: 6 Cov Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
Kuv muaj Creative SoundBlaster Audigy hauv kuv lub khoos phis tawj lub computer tseem ceeb thiab kuv xav tau ib txoj hauv kev los kho cov ntses bass thaj tsam thiab suab nrov sai (nrog rau lub ntim) thaum mloog suab lossis vis dis aus.
Kuv tau yoog raws txoj cai los ntawm ob qhov chaw muab rau hauv cov lej-npe, thiab tseem nyob hauv qhov txuas ntawm qhov kawg, uas ua rau siv Arduino Micro los ntawm Arduino lub koom haum, lossis lwm yam ATmega32u4, raws li USB Tib Neeg Kev Sib Txuas Ntaus los ntawm kev siv Nico Hood HID-Project cov tsev qiv ntawv.
Kuv kuj tseem siv lub keyboard wireless uas tsuas yog qhia lub xeev ntawm Caps-lock, Num-lock thiab Scroll-lock keys rau lub sijhawm luv luv kom nws lub roj teeb ntau dua. Yog li kuv kuj tseem suav nrog peb lub LED uas qhia txog cov xwm txheej ntawm peb cov keyboard ua haujlwm no.
Vim tias Micro tuaj yeem rov ua dua tau yooj yim txawm tias tom qab muab nws tso rau hauv qhov chaw nkag los ntawm USB chaw nres nkoj, koj tuaj yeem hloov kho tus lej kom haum rau tus yam ntxwv ntawm koj tus kheej lub cuab yeej suab thiab keyboard los ntawm kev hloov pauv cov cim qhia siv hauv tus lej nrog koj tus kheej xaiv. Muaj cov npe loj ntawm txhua txoj haujlwm uas koj tuaj yeem siv muaj nyob ntawm Nico Hood HID Github lub vev xaib - tshuaj xyuas cov ntaub ntawv npe ConsumerAPI.h rau tag nrho lwm cov haujlwm HID.
Kauj Ruam 1: Daim Ntawv Teev Npe
Arduino Micro lossis lwm yam ATmega32u4 raws Arduino board xws li Sparkfun Pro Micro. Leonardo tuaj yeem siv tau tab sis nws yog pawg thawj coj loj heev piv rau micro…
5 LEDs ntawm cov xim sib txawv
5 x 470 ohm resistors
4 x pushbutton keyboards
Rotary encoder nrog A B C thiab hloov kev sib txuas
Cov ntaub thaiv me me, pob qhov rooj, kab laug sab, txuas xov hlau thiab lwm yam.
Kauj Ruam 2: Kev tsim kho
Cov ntsiab lus tau muab hauv cov duab, cov phiaj xwm thiab Fritzing stripboard layouts. Kuv siv ob daim phiaj me me - ib lub tsev 4 LEDs thiab plaub lub hloov pauv, thiab lwm qhov rau qhov ntim ntim xiav qhia qhov taw qhia LED, thiab cov kab ntawv loj dua rau lub micro thiab cov encoder teb. Lawv tau txuas nrog los ntawm txoj kev 9 txoj kev thiab ob txoj kab hlua kab.
Kauj ruam 3: Software
Raws li tau hais los ntawm USB Volume no, Bass, thiab Treble Control siv lub tshuab ntsuas teb raws li lub ntim tswj nrog lub kaw lus ntsiag to/tsis qhib, thiab Bass thiab Treble tswj los ntawm plaub khawm nce thiab nqis.
Nws kuj muaj PC Keyboard LED ntsuas uas yog Caps-lock, Scroll-lock, thiab Num-lock.
Nws siv Arduino Micro (lossis lwm yam ATmega32u4-based) MCU thiab cov cai raws li kev hloov pauv xeev ISR roto_sm.ino los ntawm boolrules ntawm Arduino lub rooj sab laj, uas qhia meej qhov sib txawv nce thiab nqis.
Txoj cai kuj tseem ua raws li pleriche's USB Volume Control thiab Caps Lock LED qhia.
Nws xav tau Nico Hood HID-Project lub tsev qiv ntawv ntawm github: rub lub tsev qiv ntawv ua zip file thiab rho tawm nws, tom qab ntawd luam daim nplaub tshev rau koj lub tsev qiv ntawv Arduino hauv qab koj cov ntawv tais ceev tseg.
Vim tias Micro tuaj yeem rov ua dua tau yooj yim los ntawm nws qhov chaw nres nkoj USB, koj tuaj yeem hloov kho tus lej kom haum rau tus yam ntxwv ntawm koj tus kheej lub cuab yeej suab thiab keyboard los ntawm kev hloov pauv kev tshaj xov xwm qhia siv hauv tus lej nrog koj tus kheej xaiv.
Muaj cov npe loj ntawm txhua txoj haujlwm uas koj tuaj yeem siv muaj nyob ntawm Nico Hood HID Github lub vev xaib - tshuaj xyuas cov ntaub ntawv npe ConsumerAPI.h rau txhua qhov lwm HID ua haujlwm uas tuaj yeem suav nrog kev ua haujlwm xws li pw lossis rov qhib qhov tseem ceeb thiab lwm yam Kuv muaj suav nrog cov duab ntawm kev tsim kho raws li nws tau nce mus.
Kauj ruam 4: Txuas
Arduino Micro Cov
Lub xeev tshuab ISR roto_sm.ino los ntawm boolrules
P LeRiche USB Volume Control thiab Caps Lock LED
Nico Hood HID-Project Github lub tsev qiv ntawv
Kauj Ruam 5: Ntxiv Bass thiab Treble Rotary Controls
Nws muaj peev xwm hloov pauv plaub lub pob nyem uas tswj cov ntses bass thaj tsam thiab suab paj nruag nrog ob txoj hauv kev tswj. Schematic2 muab cov ntsiab lus thiab Sketch nyob hauv Sketch2.
Ob lub laub khawm ntawm txhua qhov kev tswj hwm tau siv los ua kom muaj zog ntses bass thaj tsam thiab nce siab ntxiv ib feem.
Kauj Ruam 6: Siv Sparkfun Pro Micro rau Cov Ntaub Ntawv Me Me
Koj tuaj yeem siv qhov me me ntawm Arduino Micro uas yog Sparkfun Pro Micro los ua lub thawv me me rau Bass Treble Volume thiab Keyboard LED USB Controller.
Photo5 thiab Photo6 muab cov ntsiab lus ntawm kev tsim thiab koj tuaj yeem siv Sketch3 rau Pro Micro
Pom zoo:
Hnyav Bass thiab Treble Circuit: 13 Kauj Ruam
Hnyav Bass thiab Treble Circuit: Hii phooj ywg, Peb xav mloog nkauj nrog cov ntses bass thaj tsam siab thiab nrog lub suab paj nruag zoo tshaj yog li hnub no kuv yuav ua kom muaj kev sib tw ntawm Bass thiab Treble uas yuav tswj hwm cov ntses bass thiab suab nrov
Volume, Bass thiab Treble Circuit hauv Audio Amplifier: 11 Kauj Ruam
Volume, Bass thiab Treble Circuit hauv Audio Amplifier: Hii phooj ywg, Hnub no kuv yuav ua ib qho Circuit of Volume, bass thiab treble.Qhov Circuit no yuav tswj hwm lub suab nrov thiab lub suab nrov thiab nws tseem yuav tswj lub suab nrov ntawm lub suab nrov Circuit yuav tsuas yog rau ib channel suab ampl
Cov Duab Duab Duab thiab Cov Duab 1: 4 Cov Kauj Ruam (nrog Duab)
Cov Duab Duab Cubes thiab Cov Duab 1: Thaum sim nrog qee cov ntoo ntoo thiab cov duab los qhia, kuv pom ob peb txoj hauv kev los ua cov voos thiab lwm yam duab los ntawm cov khoom siv yooj yim. Los ntawm kev muab cov no los ua Cov Ntawv Qhia, Kuv vam tias yuav txhawb nqa kev ua si thiab kev kawm. Kev hloov pauv ntawm qhov kev qhia no
Kub thiab Vaum Zaub thiab Sau Cov Ntaub Ntawv Nrog Arduino thiab Ua: 13 Kauj Ruam (nrog Duab)
Kub thiab Vaum Zaub thiab Sau Cov Ntaub Ntawv Nrog Arduino thiab Ua: Intro: Qhov no yog Txoj Haujlwm uas siv Arduino board, Sensor (DHT11), lub khoos phis tawj Windows thiab Kev Ua Haujlwm (rub tawm dawb) program los tso saib Kub, Cov ntaub ntawv vaum hauv digital thiab bar kab ntawv, tso tawm lub sijhawm thiab hnub tim thiab suav lub sijhawm suav
Cov Cuab Yeej Siv Hluav Taws Xob thiab Cov Cuam Tshuam Xov: Ua LED Zaub thiab Npuag Hluav Taws Xob uas Rolls Up: 7 Cov Kauj Ruam (nrog Duab)
Cov Cuab Yeej Siv Hluav Taws Xob thiab Cov Cuam Tshuam: Ua kom pom LED thiab Cov Khoom Siv Hluav Taws Xob uas Rolls Up: Ua rau koj tus kheej cov ntaub ua hluav taws xob, xov, kua nplaum, thiab kab xev, thiab siv lawv los ua lub zog ntsuas hluav taws xob, tiv thaiv, hloov pauv, LED cov lus qhia thiab siv hluav taws xob. thiab cov xov hluav taws xob koj tuaj yeem ua cov lus qhia LED thiab cov kab hluav taws xob ntawm ib qho ntaub uas hloov pauv tau