Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: RE: button?
From: Nathan (nvpryor_at_comcast.net)
Date: 2004-01-12


<html><pre>
--| |--
  |_/ _|
--| |--
(ASCII push button switch)
</pre></html>

I believe the main purpose for having 4 leads (apart from being stronger), is it allows you to make a matrix keypad on a single-sided PC board without using alot of jumpers (since they're built into the switches) to hop over the perpendicular traces. So two wires for each switch should be fine. A better way is find the configuration of the switches and you may be able to get away with only having either one wire per button plus a common, or the horizontal and vertical lines of a matrix (total is usually twice the square root of the button count).

By the way if you're planning to remove the original switches from the board be aware that it may either rely on the jumpers or may only have one pin connected.

>>>>>>begin origonal message snipit<<<<<<
If you've seen the buttons on the circuit board, they look like the following

x1 x2
    O
x3 x4

where "O" is the button itself, and x1, x2, x3, and x4 indicate soldered points.

Now, from trial and error, it seems like x1 + x4 or x2 + x3 forms the connection(i.e. button has been depressed). The thing is... is there a reason that there are 4 points? Seems like 2 diagonal points is sufficient(it works for power button, arrow buttons), but is there a reason why it's four points?
>>>>>>end origonal message snipit<<<<<<



Page was last modified "Jan 10 2012" The Rockbox Crew
aaa