Introduction: Arduino Ping Pong With 8*8 Dot Matrix & Max7219

There are lots of Arduino ping pong tutorial over the internet. But most of them are for two players .As have no one to play with me so i was find a tutorial which is for single player .Luckily i have found one but that is not that clear and didn't contain so much information .So i decided to write a tutorial so that u guys who are single like me can build a ping pong and pass your time .Here i have attached a little demo of my project

Components:

  1. arduino
  2. 8*8 Led matrix
  3. Max 7219 IC
  4. 10k Pot
  5. wire

you can use Max 7219 Led matrix module which make the project more easy

Step 1: Step 1:Led Matrix Connection With Max 7219 (if U Are Using Led Module Then Skip This Step)

First you have to detect whether your led matrix is common anode or common cathode .If it is common cathode then connect the max 7219 IC with Led matrix like Figure 1 .

And if it is common anode then connect it like figure -2..

Step 2: Stem 2:Arduino <-->Max 7219 Connection

Now connect the arduino with max 7219 like above

Step 3: Step 3: Add Game Controller

now we will add game controller which will control the slider ,For that we are using a pot , Here we are using a 10k pot u can use any value of pot you want .Connect the pots middle leg to Arduino Analpg Pin 5 (A5).And other two , one is to 5v another is to Gnd

Step 4: Final Step: Coading ..

For coding First we need to addd some library , if they are all ready installed in your arduino Ide then no need to re install them . I have given the links of the library first download them and then install them .

Led controll Library

Tmer Library

Now from below link copy the main code and upload it ...

Step 5: Final Words

Yor ping pong is now ready ...enjoy it

Reference :

http://www.itopen.it/arduino-pong-with-8x8-led-mat...
arduino.cc