geekhack
geekhack Projects => Making Stuff Together! => Topic started by: clickclack123 on Fri, 28 February 2014, 06:16:20
-
With led's being so cheap, I want to make a keyboard with backlighting, preferably a single led on every key...
Anyone know where there's a schematic for a circuit for a keyboard with backlighting?
I'd like it to be dimmable. Just dimmable with a pot is fine, nothing fancy.
-
You could Google for "LED Matrix Arduino" to find code and schematics for LED matrices powered by Arduino boards (AVR microcontroller). That info should give you the basics.
There are also driver chips for LEDs. Search for "LED driver".
You will need a matrix that strobes the LEDs very fast, because having all LEDs lit all the time would draw too much power for USB. Also, not all types of LEDs are suitable.
-
You could Google for "LED Matrix Arduino" to find code and schematics for LED matrices powered by Arduino boards (AVR microcontroller). That info should give you the basics.
There are also driver chips for LEDs. Search for "LED driver".
You will need a matrix that strobes the LEDs very fast, because having all LEDs lit all the time would draw too much power for USB. Also, not all types of LEDs are suitable.
Thanks, the best page I've come across yet is http://blog.komar.be/gh60-evolution/ (http://blog.komar.be/gh60-evolution/). I hadn't really thought about it fully, backlighting might require more complexity/cost than I'm willing to put into it.
-
Deck published a couple of full schematics...
http://www.deckkeyboards.com/support/deck-82-schematic
http://www.deckkeyboards.com/support/deck-legend-schematic
-
Deck published a couple of full schematics...
http://www.deckkeyboards.com/support/deck-82-schematic
http://www.deckkeyboards.com/support/deck-legend-schematic
Thanks for the pointer, soarer. That's exactly what I was looking for, but I still don't really get how that backlighting works. Seems like the circuit is overly complicated for a keyboard?
-
the PWM code is what matters; the schematic is fairly uninteresting.
-
Those Decks do not use PWM! Six outputs used, with those resistor values... it's a cheap-ass DAC :D
The main point is, without using PWM, you need some active buffer. In the Deck circuit, those six diodes and resistors could be replaced by a simple pot, and the transistors serve as a buffer between it and the LEDs.
Even if you do use PWM, you still need a high current output which a typical microcontroller cannot provide. So again you'd need a buffer or to use some dedicated chip.