Re: Wave Shield + RGB LCD + Switches

by adafruit_support_bill on Sun Jan 27, 2013 7:43 pm

This tutorial gives a good overview of switches, pullups and pulldowns. http://www.ladyada.net/learn/arduino/lesson5.html
User avatar
adafruit_support_bill
 
Posts: 28125
Joined: Sat Feb 07, 2009 9:11 am

Re: Wave Shield + RGB LCD + Switches

by chickenparm42 on Sun Jan 27, 2013 8:29 pm

OK, thanks for the suggestion. Very informative.

One question that kind of got forgotten about was the current and amperage that the pushbuttons (that I would be replacing with toggle switches) operate at. Its very important to me that my LEDs are not too dull when they are connected.
chickenparm42
 
Posts: 11
Joined: Sat Jan 26, 2013 6:31 pm

Re: Wave Shield + RGB LCD + Switches

by adafruit_support_bill on Sun Jan 27, 2013 8:42 pm

The switch circuits on the shield operate at 5v. Current consumption is determined by the load (in this case the leds in your switch). Without any real specs on the switch it is hard to say. But from what we know, you are able to connect them between 5v and GND and not let the smoke out, so I'd assume that there must be some internal current limiting resistors to keep the current draw under about 20mA.
User avatar
adafruit_support_bill
 
Posts: 28125
Joined: Sat Feb 07, 2009 9:11 am

Re: Wave Shield + RGB LCD + Switches

by chickenparm42 on Sun Jan 27, 2013 9:12 pm

I am pretty sure the product page said somewhere that there is an internal resistor, but I am more worried about having enough current, not so much about not having enough.

EDIT: According to an employee on the product page: "...you should not need a resistor unless powering beyond the intended 12V rating."
chickenparm42
 
Posts: 11
Joined: Sat Jan 26, 2013 6:31 pm

Re: Wave Shield + RGB LCD + Switches

by adafruit_support_bill on Mon Jan 28, 2013 6:04 am

I am more worried about having enough current, not so much about not having enough.

Current draw is determined by the load. In the case of an led, you should be worried about having too much. But if there is an internal resistor sized for up to 12v operation you should be safe.
User avatar
adafruit_support_bill
 
Posts: 28125
Joined: Sat Feb 07, 2009 9:11 am

Re: Wave Shield + RGB LCD + Switches

by chickenparm42 on Mon Jan 28, 2013 9:50 am

I should clarify, I am worried that there won't be enough current to brightly power the LED. But the more I think about it the more I realize that there probably is enough current.
chickenparm42
 
Posts: 11
Joined: Sat Jan 26, 2013 6:31 pm