Arduino Controlled LED Multi-Player Game on Arduino "Shield"

A custom made PCB fits onto an Arduino Uno. This is a game that can be played by two players.

Jan 23, 2019

8337 views

6 respects

Components and supplies

1

Custom PCB

3

Resistor 10k ohm

3

Pushbutton switch 12mm

1

Male-Header 36 Position 1 Row- Long (0.1")

7

3 mm LED: Red

1

Resistor 220 ohm

1

Arduino UNO

2

5 mm LED: Green

Tools and machines

1

Soldering iron (generic)

Apps and platforms

1

Arduino IDE

Project description

Code

Arduino code

arduino

the code to run the game

Arduino code

arduino

the code to run the game

Downloadable files

custom PCB design

This is the PCB Arduino "shield" that will slot onto the Arduino

custom PCB design

Documentation

Gerber file of PCB design

This is the design of the PCB that slots onto the Arduino, it can be sent to any manufacturer for it to be made. It is in Gerber format which is what most manufacturers take.

Gerber file of PCB design

Gerber file of PCB design

This is the design of the PCB that slots onto the Arduino, it can be sent to any manufacturer for it to be made. It is in Gerber format which is what most manufacturers take.

Gerber file of PCB design

Comments

Only logged in users can leave comments

Unsigned_Arduino

2 years ago

It's a great project! Some advice: Using the keyword const in front of a variable saves SRAM!

Anonymous user

2 years ago

Very cool game. I also built it. Everything works. But I found a way to cheat. If you hold down the button, you just have to wait for the ball to reach the goal and you score. Here's my thought. Please enter a new code so that if the player keeps the button down for a certain time, such as 1 second or more, the opponent scores one point. I look forward to the new version of the code. So far, I'm starting to build a larger version of this game with big buttons and bright car lights. The car battery provides electricity to the game. I use the arduino relay module to switch on the lights. If I get the game ready, I'll send you a video too. You've done a very good job, I don't understand the code myself yet, but I'm learning.

arduino_uno_guy

2 years ago

You can also use the OneButton library to only enable single clicks. Download the library and read the examples. https://www.arduinolibraries.info/libraries/one-button

Anonymous user

2 years ago

Great project, but it runs very slowly [word wipe](https://wordwipe.io)

Anonymous user

2 years ago

I think it is a good idea, I have thought of it but not as detailed as you https://quordlegame.net

Tiitsten

5 years ago

Very cool game. I also built it. Everything works. But I found a way to cheat. If you hold down the button, you just have to wait for the ball to reach the goal and you score. Here's my thought. Please enter a new code so that if the player keeps the button down for a certain time, such as 1 second or more, the opponent scores one point. I look forward to the new version of the code. So far, I'm starting to build a larger version of this game with big buttons and bright car lights. The car battery provides electricity to the game. I use the arduino relay module to switch on the lights. If I get the game ready, I'll send you a video too. You've done a very good job, I don't understand the code myself yet, but I'm learning.

arduino_uno_guy

2 years ago

You can also use the OneButton library to only enable single clicks. Download the library and read the examples. https://www.arduinolibraries.info/libraries/one-button

Unsigned_Arduino

6 years ago

It's a great project! Some advice: Using the keyword const in front of a variable saves SRAM!