Instructables

Step 10: Install the two push buttons.

These two buttons are used to select which mode the table will operate in and also to select how many players will play the game.

PLEASE NOTE, IN MY ORIGINAL PCB DESIGN (WHICH IS THE ONE I AM CURRENTLY WORKING WITH IN THIS INSTRUCTABLE) I FORGOT TO PUT SOLDER PADS FOR THESE BUTTONS IN. THE REVISED PCB DOES INCLUDE PADS FOR THIS STEP THOUGH.)

Firstly you need to get some hot melt glue and glue the buttons to the underside of the table preferably near the edge for easy access. (see first photo)

Once done, you will need to solder one 10k ohm resistor to one leg of each button. (this will not be required with the new PCB) (see first photo) The other side of each resistor goes to +5v

The other connection on the same side of the button goes to ground.

Finally, the connection on the other side of the button opposite the resistor goes to PORTC pin 0 (for one of the buttons) and then PORTC pin 1 for the other. It does not matter which button goes where

Once again, this will be much simpler once I get the new boards in and I will update the instructable accordingly.
 
Remove these adsRemove these ads by Signing Up