5 buttons, relay, Servo control

Still new to Arduino and electronics. I have a simple project where I need 5 push buttons (left, right, up, down, reset), a relay for turning on a pico projector and a a Servo motor serving as a "shutter" for the pico projector.

I've tried these separately (except the relay) and they work as I expected.

Now I need to put it all together. This is where my poor electronics knowledge shows. 5 buttons and a relay, how should I make them work together without issues? Connecting all of them to GND or some basic electronics concept I'm missing here which will get me into trouble?

've tried these separately

So reproduce the button wiring on five different pins. Have different program statements to look at each one in turn. You need to wire up a relay to one pin through a transistor because the Arduino can not supply enough current to trigger one.

Then post your code if it doesn't work and we will help you get it going.

Thanks. I don't mean the code part. I mean when all these buttons and the relay wil be connected to common ground, will something need to be added (resistor etc).

Just wire the buttons between input and ground. No need for any resistors just enable the internal pull-ups. http://www.thebox.myzen.co.uk/Tutorial/Inputs.html

The relay needs a resistor and transistor like here:- http://www.thebox.myzen.co.uk/Workshop/Motors_1.html

Okay. I just thought current "buildup" on GND could be an issue for things connected to it.

Wait, you mean standard push buttons have a resistor inside them?

bump

can someone comment on this?:

ghosttrain: Okay. I just thought current "buildup" on GND could be an issue for things connected to it.

Hi, Is it deja vu, or is there another on or two, shutter with stepper threads around? ? ?

Tom.... :)

ghosttrain: Wait, you mean standard push buttons have a resistor inside them?

No, what makes you think that?

ghosttrain: I just thought current "buildup" on GND could be an issue for things connected to it.:

There is no such thing as current "buildup", I think you are misunderstanding how electricity works.