Go Down

Topic: How to install pullup resistor on prototyping shield (Read 885 times) previous topic - next topic


I know this is simple, but ....

I want to use the button on the proto shield to toggle pin 2. I would use a pullup but the schematics I see for pullup resistors show the resistor connecting between the switch and ground. There are no taps on the prototyping shield between the button and ground.

How do I get around this?

James C4S

A resistor that ties the input to ground is a pull-down, not a pull-up.

If you are talking about the Arduino ProtoShield (http://arduino.cc/en/Main/ArduinoProtoShield) that button is connected to the Arduino's RESET.  So you can't really use it for general purpose I/O.

You need to put a button somewhere else on the proto area, so you can connect it to Pin 2.  It's up to you if you want to use an external Pull-Up (or pull-down).  Personally, I would just enable the internal pull-up resistor and avoid the extra component.  The only thing to remember is that when using a pull-up that HIGH = unpressed and LOW = pressed.
Capacitor Expert By Day, Enginerd by night.  ||  Personal Blog: www.baldengineer.com  || Electronics Tutorials for Beginners:  www.addohms.com

Go Up

Quick Reply

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it's been approved by a moderator.

shortcuts: alt+s submit/post or alt+p preview