How do i use the optional button on the proto shield?

For other supported Arduino products from Adafruit: Shields, accessories, etc.

Moderators: adafruit_support_bill, adafruit

How do i use the optional button on the proto shield?

Postby ronaldrperez » Wed Oct 14, 2009 11:38 am

Hi,

How do i use the optional button on the proto shield?
Which pins is it connected to?

Thanks,
Ronald
ronaldrperez
 
Posts: 2
Joined: Wed Oct 14, 2009 11:32 am

Re: How do i use the optional button on the proto shield?

Postby ahdavidson » Wed Oct 14, 2009 11:49 am

It's not connected to any pin, but you can connect it to one by soldering a wire to the board and then using that wire in a pin. It's very handy!

There's an explanation and photo in the penultimate step of the instructions on this page.
.andy
User avatar
ahdavidson
 
Posts: 130
Joined: Wed Jun 03, 2009 8:59 am
Location: Seattle, WA

Re: How do i use the optional button on the proto shield?

Postby ronaldrperez » Fri Oct 16, 2009 12:29 am

Thanks :D

-Ronald
ronaldrperez
 
Posts: 2
Joined: Wed Oct 14, 2009 11:32 am

Re: How do i use the optional button on the proto shield?

Postby hlship » Thu Dec 03, 2009 5:54 pm

I'm very new to hardware and arduino.

It seems to me that the protoshield could be more useful if there were built-in pins for the switch and the two leds.

Forgive me if I get the terms wrong.

I'm thinking about adding a male header with three pins. One could be connected to a digital input pin to read the button. The other two could be connected to digital output pins to light the leds.

So I should be able to run a wire from the header to the holes marked led 1 and led 2 ... each of these leds appears to have a current limiting resistor already. I think I can see how power can run to that hole, follow the trace to and through the resistor, and then into the led itself. I know its on the schematic, but I have a hard time relating that to the board (everything's so tiny).

From what I've read, I need a pull up resistor to use the switch ... I'm a bit confused, but I think this means that I should connect the header to +5V via the resistor, but also connect the same header to the switch. I have to assume this would be to the hole marked "+". End result: the input pin will read HIGH until the button is pressed.

To be honest, this is like thinking in a foreign language; I'm really confused about the switch part (for some reason, I "get" pull down resistor easier than pull up).

Anyway, just looking for comments, criticisms and thoughts.
hlship
 
Posts: 1
Joined: Thu Dec 03, 2009 5:35 pm



Return to Other Arduino products from Adafruit

Who is online

Users browsing this forum: mibignistinly and 1 guest

Stuff to buy from the Adafruit store and links to product documentation!


New Products [114]

Raspberry Pi[82]
 
FLORA[24]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[12]
Arduino[60]
 
NETduino[14]
 
Android[6]
 
BeagleBone[23]
 
XBee[10]
More Dev Boards[30]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[39]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[9]


 
Breakout Boards[35]
LCDs & Displays[49]
Components & Parts[70]
Batteries & Power[54]
EL Wire/Tape/Panel[52]
LEDs[112]
 
Wireless[16]
Cables[66]
 
Lasers[6]
Sensors/Parts[147]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[70]
 
iDevices[13]
Tools[71]
 
Wearables[41]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[25]


 
Stickers[41]
 
Skill badges[55]
 
Books[26]
 
Circuit Playground[7]
 
Gift Certificates[4]