How do I properly hook up the metal pushbutton?

General project help for Adafruit customers

Moderators: adafruit_support_bill, adafruit

How do I properly hook up the metal pushbutton?

Postby zinc55 » Wed Jan 25, 2012 8:31 pm

I had NC1 hooked up to 5v power, C1 hooked up to ground, and NON1 hooked up to pin 2 to try out the Button tutorial sketch. The Arduino shorted out :oops:. I tried a few other configurations but still can't seem to get it right.

Button:http://www.adafruit.com/products/559
zinc55
 
Posts: 30
Joined: Thu Jan 19, 2012 5:52 pm

Re: How do I properly hook up the metal pushbutton?

Postby franklin97355 » Wed Jan 25, 2012 9:30 pm

Hook up either nc1 or no1to pin 2 and c to ground or power depending on what you want to happen when you press the button. If you are not sure what you are doing adding a 1K resistor in series will protect your Arduino.
User avatar
franklin97355
 
Posts: 1760
Joined: Mon Apr 21, 2008 1:33 pm

Re: How do I properly hook up the metal pushbutton?

Postby adafruit_support_bill » Thu Jan 26, 2012 6:02 am

The NC pin is "normally closed" The NO pin is "normally open" Most simple switches (like the ones in the tutorial) are normally open. If you are following the button tutorial, use the NO and the C (common) pins.
User avatar
adafruit_support_bill
 
Posts: 16617
Joined: Sat Feb 07, 2009 9:11 am


Return to General Project help

Who is online

Users browsing this forum: natehome and 7 guests

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]
 
BeagleBone[23]
 
Android[6]
 
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]