loading

We are freshmen from UM-STJU. UM-SJTU is located in Shanghai, China which is a well-known and top university in the world. Our favorite photo of SJTU (Figure 1) is enclosed as well.

We are group 20 of VG100 in UM-SJTU, and this is the first required project of VG100. Our group name is Crazy Dog, and our team photo is also attached (Figure 2). For videos, you can visit the website:

http://v.youku.com/v_show/id_XMTc3NjYwNTQ3Mg==.htm...

The game consists of two parts: the bug and the guard tower. The bug is a small robotic car, and the tower is made by paper with a laser on the top of it, both of which is based on Arduino. The bug’s mission is to approach the tower and the tower should shoot laser on the bug to kill it, which means that the bug should stop immediately when being shot by the tower.

Team 20 members: Zhao Wenbo, Zeng Fanhao, Luo Wenhao, Fang Yan, Song Gaopeng

For more information about our institute, please see http://umji.sjtu.edu.cn

Competition regulations

1. Path

As shown in Figure 3, there are four paths which is 2.5m long. As is shown in Figure 4, at the center of each path is there a white line which is parallel to both sides of the path. Each path has two parts, a 0.5m protection area and a 2m race area. The bug should start to move in the protection area which has shelter to prevent the bugs from being killed. The bug also needs to stop at the white line near the midpoint for 2-4s during which it can’t be killed. If it isn’t killed during the whole game, it should stop at the last white line finally.

2. Bug

As is shown in Figure 5, each bug must have a vertical board, 15cm*10cm, in the front of the car, with a parallel photo-sensor placed in the front of the board 5cm above the ground. The speed of the bug should be in the range of 0.2-0.3m/s. Three bugs will be released randomly on three of four tracks. If at least one bug survives, the bugs win the game.

3. Tower

The guard tower should be made of regular printed paper (A4, 80g) and white wood glue. Only paper can be used as load bearing structure, and the electronic components should be placed on the top of the tower except the ultrasonic sensors. The paper tower should be at least 60cm in height. The vertical distance between ground and the mass center of the laser is regarded as the height of paper tower. The tower should kill all three bugs to win the game. It is expected to make the tower as light as possible.

4. Concept diagram (Figure 6)

Step 1: Preparing Materials for the Bug

Tools:
screwdriver, electric soldering iron, 502 glue, scotch tape, insulating tape, double faced adhesive tape, scissors, pliers, ruler, pen, pencil

Components: (Figure 1)

*Tips: Other types of sensors are also available apart from our suggestions.

Step 2: Designing the Circuit for the Bug

1. Connect the motors and the battery with the motor driving board.

2. Connect the light sensor, infrared sensors and the motor driving board with Arduino with the help of the bread board.

Step 3: Soldering for the Bug

1. Stick the wires into the holes of the motor.

2. Solder the wire and the motor together. Do these steps again to solder another motor.

Step 4: Reassembling the Tire and Motor Suit for the Bug

1. This is the original view of the suit.

2. Remove the motor and the tire, and use a screwdriver to disassemble the yellow shell.

3. Remove the driving gear.

4. Reassemble the yellow shell and tire together.

Step 5: Assembling the Components for the Bug

1. Fix the tire suits to the board as the rear tires with screws and nuts.

2. Fix the motors and the tires together by using motor bracket to the board as the front driving tires with screws and nuts.

3. This is the view of the board and the tires.

4. Fix the bread board to the board with double sided adhesive tape.

5. Fix the motor driving board and the Arduino board to the board with screws and nuts.

6. Cover the vertical board with insulating tape.

7. Fix the L-form bracket to the board with screws and nuts. Stick the synthetic glass to the L-form bracket with 502 glue vertically.

8. Stick the infrared sensors below the 9v batteries with scotch tape.

9. Stick two 9v batteries below the board with double faced adhesive tape.

10. Stick the optical sensor to the synthetic glass horizontally with scotch tape.

11. Use card board to build a light barrier with double sided adhesive tape.

12. This is the side view of the bug.

13. This is the front view of the bug.

14. This is the top view of the bug.

Step 6: Programming for the Bug

1. Download Arduino IDE from https://www.arduino.cc/.

2. Program the code according to the Competition regulations.

Step 7: Adjusting and Debugging for the Bug

*Tips: Since the same type of parts may have slight differences, it’s up to you to decide some changes of parameters in the programming code.

Step 8: Preparing Materials for the Tower

Tools:
screwdriver, white wood glue, scissors, pliers, ruler, pen, pencil, 502 glue, scotch tape, insulating tape, double faced adhesive tape

Components: (Figure 1)

Step 9: Making Paper Parts for the Tower

1. Cut the paper to be 7cm*2cm, and draw lines to separate the length into seven 2cm*1cm parts.

2. Fold the paper along the pen lines, and stick the paper with white wood glue as a hexagonal pillar. Make 272 hexagonal pillars like this in all.

3. Stick 68 pillars together and then stick them on a piece of paper with white wood glue. Make four bases like this in all.

4. Stick two bases together symmetrically with white wood glue.

5. Cut the paper to be 30cm (the length of a piece of A4 paper) *3.5cm, and draw lines to separate the width into three 30cm*9mm parts and one 30cm*8mm part.

6. Fold the paper along the pen lines, and stick the paper with white glue as a triangular pillar. Make 24 triangular pillars like this in all.

7. Stick three triangular pillars together to make a hexagonal pillar. Make eight pillars like this in all.

8. Assemble the bases and the pillars together as shown in the diagram.

9. Make 16 paper slips of 20cm*1cm.

10. Stick across 2 paper slips to the pillars with white wood glue.

11. Make 8 crosses like this in all.

12. Cut the paper to be 10cm*7cm, and draw lines to separate the length into seven10cm*1cm parts.

13. Fold the paper along the pen lines, and stick the paper with white wood glue as a hexagonal pillar. Make 3 hexagonal pillars like this in all.

14. Stick the 3 pillars together as shown in the diagram.

15. Cut the paper to be 29cm*3.5cm, and draw lines to separate it as shown in the diagram.

16. Wrap the 3 pillars with the paper slip. Repeat the previous step and this step again.

17. Stick the pillar just made to the top of the tower with white wood glue.

18. This is the final view of the paper tower.

Step 10: Designing the Circuit for the Tower

1. Connect the ultrasonic sensors to Arduino with the help of the bread board.

2. Connect the servos to Arduino with the help of the bread board.

Step 11: Assembling the Components for the Tower

1. Stick the ultrasonic sensor to the lower crossing with the double faced adhesive tape.

2. Stick another three sensors to the crossings like the previous step.

3. Stick the Arduino board to the top of the tower with the double faced adhesive tape.

4. Stick the bread board to the top of the tower with the double faced adhesive tape.

5. Stick the base of the servo to the top pillar with the double faced adhesive tape.

6. Fix the servos to the base.

7. Stick the pillar to the top of the tower with the double faced adhesive tape.

8. This is the top view of the tower.

9. This is the front view of the tower.

10. This is the side view of the tower.

Step 12: Making the Power Unit for Laser Light for the Tower

1. Pick out the battery box.

2. Cut the wires and remove the insulating layer of the wires.

3. Correspond the wires with different electrodes of the button battery.

4. Cover the battery and the bare wires with the insulating tape.

Step 13: Programming for the Tower

1. Download Arduino IDE from https://www.arduino.cc/.

2. Program the code according to the Competition regulations.

Step 14: Adjusting and Debugging for the Tower

*Tips: Since the same type of parts may have slight differences, it’s up to you to decide some changes of parameters in the programming code.

Congratulations! Now you can play with your handmade guard tower versus bugs!

Step 15: Further Information

The bug and the tower are just our edition. It definitely has a lot to improve. Therefore, you can design your own edition in appearance and in techniques. If you have any question or you have any advice, please feel free to contact us through E-mail: zhaowenbo@sjtu.edu.cn. we will send back the reply as soon as possible.

We hope you enjoy our manual.

For more information about our institute, please see http://umji.sjtu.edu.cn

<p>Fun project! Good luck in your competition. :) </p>
<p>Thank you! :)</p>

About This Instructable

945views

5favorites

More by sgp12345:Guard Tower versus Bugs 
Add instructable to: