Jump to content

Recommended Posts

Posted

.. i am standing with the SparkFun buttons boards here in front of me feeling so stupid..  :-\ .. when i designed them i hadn t got the bicolor leds, later i got them and discovered that they were common anode, no problemo: a little change in the code and they ll be ok but.... in my board the leds share the common pin with the buttons (supposed to be GND) so i can t really have those leds in my boards, and they are already soldered.. :'( :'( :'(

it hasn t been so easy to find bicolor, red and blue, leds for a fair price, and impossible to find them common cathode.

Does anybody have a source for them? (Jimp where did you get yours?)

looking for 5mm leds bicolor (red-blue) common cathode possibly diffused

(or maybe can i also invert the buttons behavior?)

simone

Posted

...

Jimp where did you get yours?

...

(or maybe can i also invert the buttons behavior?)

i don't know about jimp, but i got mine at a surplus house near me

and they are "normal" red and green

inverting the buttons is not trivial.  for one thing, you would have

to use pull-down resistors instead of pull-ups

ie connected from pin to gnd instead of from pin to vdd

have you considered using two 3mm leds?

Posted
have you considered using two 3mm leds?

if i have to make new pcbs i can just route the common anode to a single line aside from the buttons. doh!

i think i will cut the traces on the pcb and hardwire the common anodes, so i can use this pcb atm

i didn t etch the second board yet so i can redraw it with different signal for common anodes and for common pin of the buttons

.. yep i ll do that

simone

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...