Arduino to breadboard wiring

Working on my program for skeeball scoring. Hooked up all the jumpers from the Arduino to the breadboard and make shift switches. When I first started to monitor the program I would get random readings. After a little while I realized that when I tripped the switches by reaching around the Arduino the counting would work fine. When I would reach over the Arduino to activate the switches random scores would appear. Finally I determined that when I moved my hand over the jumpers scoring would appear.

At first I thought it was the program now I know its not. Comments as to why??

Thanks in advance, Dave

My photo would not pass security??

I’ll try again.

Make sure you do not have floating inputs with your switch connection.
Add 10k pull down resistors and/or turn on pull-ups.

See schematic below for typical switch wiring.

Larry
Thanks for the information. I tried the built in “pull-up” resistor but it did not help. I’ll take good look at your diagram.
Dave

We need to see your schematic.

Show us a good schematic & image of your circuit.
Posting images:
http://forum.arduino.cc/index.php?topic=519037.0

Heres Photo.

Arduino.jpg

Arduino.jpg

Cannot see things clear enough as the image is blurry.

Show us a schematic.

Appears your switches go to +5v on a push, if so, you need 10k on each input to 0v.

.

Larry
Going to rewite using S3 switch mode. Ill send schematic when complete..
Thanks for your comments.
Dave

That is, by far, the easiest to wire! Just remember, that pressed is LOW.

Here’s my schematic for new switch arrangement.

For testing I am using “hard switches”. The skeeball game I built has IR sensors that required pull down resistors which I installed. When I started to test the program at home, I did not know about various switch types. We’ll see how this works out.

Working on industrial electrical controls my whole life always “pushed” a positive voltage. 5 volt systems are new to me.

Dave

“Here's my schematic for new switch arrangement.”

Show us a ‘good’ schematic & image of your circuit wiring.
Posting images:
http://forum.arduino.cc/index.php?topic=519037.0

Larry
Read the instructions then reliazed I don’t have a right click on my I Pad. Over to my computer
Dave

Schematic I hope

That's not the photo I attached!!!!

Lets try this one.

Yea!!!

Wow!!!
Grounding the switches really works great.
Thanks for all your help. Next step is to get the display working.
Dave

Good.

You are turning into an expert!

Check your top switch wiring :wink: