How does a keyboard matrix work? Why is it used? And what are phantom keys? And how to avoid them

  Рет қаралды 2,742

Code Mercenaries

Code Mercenaries

Күн бұрын

Пікірлер
@bigzhopel1608
@bigzhopel1608 21 күн бұрын
I'm a linguist but a mechanical keyboard enthusiast part of me found this video interesting ❤
@atharvavadeyar5157
@atharvavadeyar5157 4 ай бұрын
So is the only way to get the intersection value to set each Y value to high and see which X values respond? Or is there any other way to do it other than polling?
@codemercenaries9715
@codemercenaries9715 4 ай бұрын
Actually typically the X lines are pulled high by resistors and then the scanning process pulls down one of the Y lines and checks if there is a reaction on any X line. If you pull down more than one Y line at a time you can not identify the actual position that is pressed.
@atharvavadeyar5157
@atharvavadeyar5157 4 ай бұрын
@@codemercenaries9715 also, why does the circuit use pull up resistors and not pull down? Why define a pressed key as a logical 0 instead of logical 1?
@codemercenaries9715
@codemercenaries9715 4 ай бұрын
Drivers that pull to ground (open collector or open drain) are more efficient and simpler to implement in silicon than drivers that pull up. That is why many digital signals are active low and use pull ups for the non active state. And inverting the logical state afterwards is a no-brainer.
@atharvavadeyar5157
@atharvavadeyar5157 4 ай бұрын
@@codemercenaries9715 thank you 😁
How does a USB keyboard work?
34:15
Ben Eater
Рет қаралды 3,3 МЛН
ВЛОГ ДИАНА В ТУРЦИИ
1:31:22
Lady Diana VLOG
Рет қаралды 1,2 МЛН
Every team from the Bracket Buster! Who ya got? 😏
0:53
FailArmy Shorts
Рет қаралды 13 МЛН
Как Ходили родители в ШКОЛУ!
0:49
Family Box
Рет қаралды 2,3 МЛН
Instructions - Button Matrix
12:47
Real Robots
Рет қаралды 63 М.
So how does a PS/2 keyboard interface work?
33:07
Ben Eater
Рет қаралды 503 М.
Arduino DIY Matrix Light Game: Build & Code with Keypad Library
12:23
Launchpad || DIY or Buy || Keyboard Matrix & MIDI Tutorial
12:43
GreatScott!
Рет қаралды 1,1 МЛН
How does n-key rollover work?
37:20
Ben Eater
Рет қаралды 243 М.
How do Computer Keyboards Work? 🤔⌨⌨🛠
11:09
Branch Education
Рет қаралды 1,4 МЛН
A Closer Look at Matrix Lab Keyboards
12:00
Charo
Рет қаралды 10 М.
How a Mechanical Keyboard Works (Matrix and Direct Wiring)
3:14
How to Design Mechanical Keyboard PCBs with Kicad
20:19
Joe Scotto
Рет қаралды 120 М.
ВЛОГ ДИАНА В ТУРЦИИ
1:31:22
Lady Diana VLOG
Рет қаралды 1,2 МЛН