UltimateHackingKeyboard / uhk60v1-electronics

The schematic and PCBs of the UHK 60 v1
GNU General Public License v3.0
167 stars 23 forks source link

Cherry MX LED lights #15

Closed spuder closed 7 years ago

spuder commented 8 years ago

Allow modders to use cherry mx switches with LEDs

Optional features

Related https://github.com/UltimateHackingKeyboard/electronics/issues/13

mondalaci commented 8 years ago

It'd be useful to take a look at some open source keyboard designs that have backlighting. I'd rather go for a simple implementation that supports a single PWM channel for all the LEDs. So I mean no per-LED backlighting.

spuder commented 8 years ago

Some possible led drivers

74HC595 Shift Register

MAX7219 Led Driver

I'm leaning towards the first option because it is cheaper.

The teensy has an spi library https://www.pjrc.com/teensy/td_libs_SPI.html

mondalaci commented 8 years ago

I'm aware of these options. Unfortunately, the 74HC595 only allows for a single LED per pin and the MAX7219 is fabulously expensive.

I've been suggested the TPS61193 lately which may work for us. We could string about a dozen of LEDs per OUTx pin.

tps61193

I personally don't feel confident in my abilities to choose the best part for this purpose and will surely talk to an electronics engineer before making a choice. But suggestions are always welcome!

spuder commented 8 years ago

Looking at the ergodox infinity, they are using the IS31FL3731C

mondalaci commented 8 years ago

Yes, I know, but nobody has it on stock which is not very promising.

mondalaci commented 8 years ago

Apparently, this IC is available without the closing C in its part name.

mondalaci commented 7 years ago

Done. We went with the IS31FL3731-SALS2.