Author Topic: How to Change SideWinder X4 Backlight Color  (Read 18202 times)

0 Members and 1 Guest are viewing this topic.

Offline Paul Dietz

  • Thread Starter
  • Posts: 25
How to Change SideWinder X4 Backlight Color
« on: Fri, 14 January 2011, 20:06:32 »
I've seen a number of people complaining about the red color of the backlight on the SideWinder X4. It turns out that it's fairly easy and quite inexpensive to change out the LEDs. I put together a short step-by-step guide on Instructables. It's located here:

http://www.instructables.com/id/Change-the-Backlighting-Color-on-a-SideWinder-X4-K/

The hardest part was finding a cheap source for LEDs that would mechanically fit. The LEDs themselves were just a bit over a $1, but shipping brings it up to about $10. For someone who knows how to solder, the whole process takes about 15 minutes, if that...

By the way, this is definitely NOT endorsed by Microsoft, and it will void your warranty. Proceed at your own risk...

Offline Mr. Perfect

  • Posts: 380
  • Location: United States
How to Change SideWinder X4 Backlight Color
« Reply #1 on: Fri, 11 February 2011, 13:03:57 »
I never noticed this thread until searching Geek hack for a X4 review(it doesn't look like we have one). Nice instructable! Also, points for posting how to hack up your board design. :eyebrows:

One question though. I don't know much about electronics, but do know that different color LEDs require different voltages and resisters. Does that factor in to this board when changing the LEDs? Or does it not matter? I seem to remember that red LEDs run on lower voltage then others, like blues, so perhaps there is no danger of over-volting any other LEDs you may swap in?
Mr. Perfect - A name fraught with peril.

G80-8113HRBUS MX Clears, FC200R MX Clears, RK-9000v2 MX Blues.

Offline itlnstln

  • Posts: 7048
How to Change SideWinder X4 Backlight Color
« Reply #2 on: Fri, 11 February 2011, 13:07:18 »
Welcome back, Paul.  Any plans to make a MS mechanical keyboard?


Offline Mr. Perfect

  • Posts: 380
  • Location: United States
How to Change SideWinder X4 Backlight Color
« Reply #3 on: Sun, 13 February 2011, 00:25:34 »
This would be better posted in the mod section. It's just going to get lost in here again. Anyone able to move it?
Mr. Perfect - A name fraught with peril.

G80-8113HRBUS MX Clears, FC200R MX Clears, RK-9000v2 MX Blues.

Offline Paul Dietz

  • Thread Starter
  • Posts: 25
LED voltages...
« Reply #4 on: Sun, 13 February 2011, 00:47:21 »
Quote from: Mr. Perfect;293460
...different color LEDs require different voltages and resisters. Does that factor in to this board when changing the LEDs? Or does it not matter? I seem to remember that red LEDs run on lower voltage then others, like blues, so perhaps there is no danger of over-volting any other LEDs you may swap in?


Great question! The short answer is that it's not a problem in this setup. The current is set by a resistor to 5V, so switching from red to blue LEDs actually decreases the current in the LEDs. The voltage across the LEDs will just be whatever the forward voltage drop is.

But, being a teachable moment, let me give a better answer.

The right way to think about LEDs is that they produce light roughly proportional to the current you run through them. This current then produces a voltage drop. But unlike resistors, the voltage drop is NOT proportional to the current. In fact, it's fairly constant over a wide range of currents. This is known as the forward voltage drop of the LED. Typically it is in the range of 1-3V, with simple red LEDs closer to 1V, and blue (and white, which is really a blue LED with phosphor to give some yellow making it look white) LEDs closer to 3V.

A lot of people have a hard time understanding current and voltage. In the water analogy, current is like water flow (e.g. gallons per minute), and voltage is analogous to pressure, or water height. If you had a bucket with a small hole in the bottom, and you started filling it with a garden hose, water would squirt out the hole. The higher the water level got, the faster the stream would be (due to the extra pressure). At some level, the flow out will equal the flow in. So the faster the flow rate in, the higher the water level will need to get before the system can stabilize. This is analogous to a resistor.

For a diode, imagine that at some height, there is a very large hole in the side of the bucket instead of the small one at the bottom. In this case, pretty much no matter what the flow rate, the bucket will fill up to the level of the large hole. This is kind of what an LED does. (This isn't a perfect analogy, but at least it models the first order behavior.) You can think of different color LEDs having the big hole at different heights. When you connect an LED to a voltage source, this is roughly the same as trying to force the height in the bucket to some level. If it's below the level of the hole, no water, i.e. current, will flow. But it you try to set it above the height of the hole, you would need a massive flow of water as it gushed out the large hole. The point here is that you do not want to connect your LED directly to a voltage source. Odds are that it will either be too low to turn on, or too high, causing massive current flow which burns it out. Oh, and I should mention that the exact height of the hole varies with temperature, etc. So no - you can't just set it to the forward voltage and be done.

So the trick to driving an LED is to control the current. The easiest way to do this is to put a resistor in series with the LED and drive the resistor/LED combination at a voltage higher than the forward voltage drop. For example, if I use a red LED with a 1V drop and a 5V power supply, I will have a 4V drop across the resistor. The current flow through the resistor is proportional to the voltage across it. If I then swap in a blue LED with a 3V drop, then I will have only a 2V drop across the resistor. Thus, the current through the red LED will half as much as the red one.

In the case of the X4 (which I didn't design - I only did the technology it uses), the backlighting is a bunch of red LEDs, each with a resistor in series, tied across 5V. It's a pretty simplistic design (and frankly inefficient design - ~4x more power is wasted in the resistors rather than in the LEDs), but it makes it easy to swap in almost any LED without having to worry about additional power drain. Ones with larger drops will use less current. And because it's running off 5V, you should have enough voltage to be above the forward voltage drop of pretty much any single LED.

If you've read this far, you're probably wondering how the dimming works. Basically, it turns the 5V supply rapidly on and off. To make it brighter, you change the duty cycle so that it's on a greater percentage of the time. So the dimming will continue to work even if the forward voltage drop changes.

This was probably much more than you wanted to know, but hopefully someone will find it useful...

Offline Paul Dietz

  • Thread Starter
  • Posts: 25
How to Change SideWinder X4 Backlight Color
« Reply #5 on: Sun, 13 February 2011, 01:50:51 »
Quote from: itlnstln;293461
Welcome back, Paul.  Any plans to make a MS mechanical keyboard?


I'd get in trouble if I commented either way. But, what I can say is that there is something of a revolution going on at MS. It's not often that research stuff makes it into product. But I think our management has finally begun to realize the goldmine they've been sitting on, and you're starting to see stuff move out of the lab very quickly. Here are three recent examples that our group was involved with:

1. Kinect. This is probably the most ambitious science experiment turned product I've ever seen. Absolutely bleeding edge, straight from the labs stuff.

2. Surface 2.0. This was shown at the keynote at CES this year. If you haven't seen it yet, it is Surface, but in a thin form factor. At first glance it might just look like an absurdly large touch screen, but it's much more than that. The entire screen is a lensless camera. It can actually see objects on or very near the surface. So it can read a document, recognize different objects, etc. as well as detect fingers.

3. The multitouch mouse. This was also announced at CES this year. This is a mouse which incorporates a multitouch surface over about 2/3 of it's skin. Yes, I know brand "A" has a mouse with a multitouch cap sensor (which they announced AFTER we showed our prototypes), but it is awkward to use, and doesn't really do very much. Ours is ergonomic, and has a far richer set of gestures. For example, we make excellent use of thumb gestures. That's possible because we developed the tech to do multitouch on highly curved surfaces. So the sides, in addition to being ergonomic, are sensitive.

The best part - this is just the tip of the iceberg. The stuff that's coming is going to change everything. And maybe, just maybe, they'll finally be able to entice you away from those 1980's style keyboards, at least for gaming...

:wink:

Offline manfaux

  • Posts: 584
How to Change SideWinder X4 Backlight Color
« Reply #6 on: Sun, 13 February 2011, 11:03:46 »
I remember this pressure sensitive keyboard from MS more than a yea ago:

http://gizmodo.com/#!5331577/microsofts-pressure+sensitive-keyboard-could-change-the-way-you-type

needless to say, I was extremely impressed and saw a potentially unlimited amount of applications for this. Is it still getting made?

Offline Paul Dietz

  • Thread Starter
  • Posts: 25
How to Change SideWinder X4 Backlight Color
« Reply #7 on: Sun, 13 February 2011, 21:18:05 »
Quote from: ripster;294423
Welcome back Paul.  I'll link to this excellent Diode 101 explanation in my LED 101 Mod - Changing a Trackball/Keyboard LED.  I learned a bit here as well since although I knew about voltage drops I  was thinking about burning out a resistor all wrong.  Substituting  Blue LEDs are actually safer than Red/Green LED substitutions. (at least I THINK based on what you just posted)


Yes, that is true for a simple circuit like the one used in the X4. But more sophisticated designs **sometimes** use boost convertors to create whatever voltage is needed to get the desired current. (The big plus is that this improves efficiency dramatically.) In that case, switching from red to blue could cause the system to servo to much higher voltages, draw much more power, and potentially fry itself. So it depends what the drive circuit looks like...

Offline Paul Dietz

  • Thread Starter
  • Posts: 25
How to Change SideWinder X4 Backlight Color
« Reply #8 on: Sun, 13 February 2011, 21:33:45 »
Quote from: manfaux;294432
I remember this pressure sensitive keyboard from MS more than a year ago:

http://gizmodo.com/#!5331577/microsofts-pressure+sensitive-keyboard-could-change-the-way-you-type

needless to say, I was extremely impressed and saw a potentially unlimited amount of applications for this. Is it still getting made?


Thanks! The pressure sensitive keyboard (PSK) was one of my projects. It grew out of the work that led to the X4. I pretty much hand assembled the PSK units used in the contest. Oh, and the PSKs are full NKRO, with true independent, continuous pressure measurements on every key.

We don't have any products to announce yet, but we did sponsor a 2nd contest the following year using our Adaptive keyboard:

http://www.microsoft.com/appliedsciences/content/projects/AdaptiveHardware.aspx

We're just starting to think about the contest for this year. I hope we get to do it again. It's a lot of fun showing off our research prototypes...

Offline manfaux

  • Posts: 584
How to Change SideWinder X4 Backlight Color
« Reply #9 on: Sun, 13 February 2011, 23:34:07 »
Quote from: Paul Dietz;294661
Thanks! The pressure sensitive keyboard (PSK) was one of my projects. It grew out of the work that led to the X4. I pretty much hand assembled the PSK units used in the contest. Oh, and the PSKs are full NKRO, with true independent, continuous pressure measurements on every key.

We don't have any products to announce yet, but we did sponsor a 2nd contest the following year using our Adaptive keyboard:

http://www.microsoft.com/appliedsciences/content/projects/AdaptiveHardware.aspx

We're just starting to think about the contest for this year. I hope we get to do it again. It's a lot of fun showing off our research prototypes...


i see, but it's no fun for us! I am drooling over these prototypes yet no one can give us a definite answer on when they will go into production.

this new contest seems interesting, thanks for the info.