Soccer Table Made From Lego Mindstorms

2,649

9

3

Introduction: Soccer Table Made From Lego Mindstorms

This is an easy to made soccer table from nxt kit.
You can build a game for 2 or 4 players. If you want to create it for 4 players do the optional steps.

Step 1: Create the Feet

All you need in this level is connect a connector to the motor and connect a "foot" part to it - as shown in the pictures.
Made 2 feet in this way.

Step 2: A Controller Based on Color Sensor (only for Use Playing Game for Four Players)

You need to make a controller from a color sensor.
Make it only if you want a game for 4 players.
How it works?
When the sensor is pointing on the green strip, the motor will rotate slowly. else when pointing orange - quickly and if yellow - somwhere in the middle.

Step 3: A Controller Based on Ultrasonic Sensor (only for Use Playing Game for Four Players)

You need to build a controller from ultrasonic.
This controller works like the previous controller, as the motor is closer to the front plate, the motor will rotate more slowly.
Note: This step is a bit harder than the previous steps.

Step 4: The Program

I made a program to the game and you can download it here, or develop a program yourself.
Game for 2 players: http://www.2shared.com/file/oTK6FRM3/soccerTable.html
Game for 4 players: http://www.2shared.com/file/tbw70328/soccerTable4players.html

Step 5: Connect All Together

Connect the motors to A and C ports with long cables.
Connect the touch sensors to ports 1 and 3 with medium cables.
For 4 players:
Connect the ultrasonic sensor with extra-long cable.
Connect the color sensor with short cable.

Step 6: How to Play?

2 Players:
One player hold the A motor and the 1 touch sensor. The second player hold the C motor and 3 touch sensor.
4 Players:
The players hold touch sensors & motors like in 2 players game, but the player who played with player A, the color sensor, and the fourth player control the ultrasonic sensor.

In both games you can write the scores with the arrows key on the NXT.

Share

    Recommendations

    • Creative Misuse Contest

      Creative Misuse Contest
    • Metalworking Contest

      Metalworking Contest
    • Water Contest

      Water Contest

    3 Discussions