geekhack

geekhack Projects => Making Stuff Together! => Topic started by: greenwhite on Tue, 07 June 2016, 18:55:26

Title: Cap Lock LED on custom keyboard
Post by: greenwhite on Tue, 07 June 2016, 18:55:26
I want to have an indicator light for Caps Lock on my keyboard.  Do I connect the LED directly into the Teensy that I am using?  If so, do I have to connect each of the LED connectors to a separate pins?
Title: Re: Cap Lock LED on custom keyboard
Post by: suicidal_orange on Wed, 08 June 2016, 02:29:37
You also need a resistor - follow any Arduino plus LED tutorial, keyboards are not special electronically :)

Title: Re: Cap Lock LED on custom keyboard
Post by: undefinedmechanicalmind on Wed, 08 June 2016, 12:23:37
Yea, I've always wanted my modifiers to have leds that behave with led momentarily on key down anyone have a quick tutorial?

Sent from my SM-G900T using Tapatalk

Title: Re: Cap Lock LED on custom keyboard
Post by: QuincyJones on Tue, 14 June 2016, 05:36:02
Would you need those crazily small LED's that are smaller than a grain of rice? "chip scale package" or whatever they're called?
Title: Re: Cap Lock LED on custom keyboard
Post by: Data on Tue, 14 June 2016, 06:37:38
Would you need those crazily small LED's that are smaller than a grain of rice? "chip scale package" or whatever they're called?
It's a custom so there should be a place to mount a 5mm or 2x3x4 LED in/on the switch, even if the PCB isn't cut for through-hole components.  It's just trickier to wire that way.