Making a Real Life War Tower Defense Game : 11 Steps - millerdidettioners
Introduction: Making a Real Life War Tower Defense Gage
Hello, we are GBU!
Our team was assigned a job in our VG100, Presentation to Applied science, class: to figure and build a real spirit Warzone Tower Defense Mettlesome. VG100 is a core class all freshmen are required to take at the Joint Institute(JI.) The Joint Institute is a program betwixt the University of Michigan (UM) and Shanghai Jiao Tong University (SJTU.) The Stick Establish, located connected the beautiful and huge Minhang campus, is ABET accredited and North Korean won high-pitched achieving awards; it is a prestigious and famous school inside SJTU and in China. The VG100 class is challenging and engaging course.
For the game, we are to build a paper pillar that can defend itself against attacking bugs (robotic cars.) The tower will enjoyment a laser to hit the light sensor on the railroad car to occlusive it. We had a few requirements to succeed:
Rules of the Game:
- The robotic car will travel straight along a caterpillar track with a central white line towards the tower.
- The path, full of 2.5m, has a safe zone of 0.5m earlier, where the car volition not stop eve when irradiated past the tower's laser.
- At the end of the safe zona, there is a white line where the car bequeath occlusion for 2-4 seconds.
- After stopping, the bug can be irradiated by the tug. There will be one and only last white line for the germ to stop at before hitting the tower.
Competition Regulations:
Tower
- Must be built of A4 theme
- Can only use white glue to assemble the tower
- At least 60cm in height
- Each side of meat's width should not exceed 3 pieces of paper
Bug/Car
- Must have a head-on vertical board with dimensions of 15m x 10cm.
- Photosensor, that is detecting the laser, is placed 5cm above the ground, before the vertical panel.
- A intellectual wall is built around the light sensor.
For a character television: http://v.youku.com/v_show/id_XMTc3NzkyMDA2MA==.htm...
Stair 1: Concept Diagram
Enclosed above are unconnected diagrams of the car and tower.
Footmark 2: Incarnate List / Supplies Needed
Tools Required:
- Hot Mucilage
- Screwdriver
- Scissors
- Screws
- Saw
- Exact-o-knife
- Gum
- Taping
- Soldering Hired gun
Other materials needed:
- Acrylic Board
- Cardboard
- Wooden Block
- Hard Styrofoam
- Electric Tape
- Battery Box
- Small Hexagonal Brass Metal Pipe Screws
- L-Wrought Connecters
- Plastic Connecters
- Coat Hanger
Tip: If you are planning to buy from Taobao, bargain extras of the important components, much as the motors, driving motor boards, servos, trailing sensors, etc.
Whole step 3: Circuit Diagrams
Shown above is the brief circle diagrams for the car and hul. These leave be helpful figures for when we are aggregation the tower and car.
Be careful to connect wire correctly. A soldering gun is required to solder some parts of the wires together. Use carefulness when working with a bonding gun.
Step 4: Building the Main Base of the Auto [Car Prep]
- Take the composition board slab, and victimization an exact-o-knife, cut IT into 23 cm x 29.5 centimeter. (This will constitute served Eastern Samoa the main personify of the Car. )
- Using a saw, punctured the wooden block to the dimensions: 24 cm x 5 cm x 2.4 cm. (This will serve Eastern Samoa the platform for the controlling components.)
Ill-use 5: Preparing the Front Standing Get on [Car Prep]
- Convey the Plastic Board and exploitation scissor grip gashed to 15 x 10 cm in size.
- Cut a slit 1.5 cm all-embracing and 0.5 Cm tall (5 cm from the nates of the board and approximately in the nerve centre horizontally) using an electric Mandrillus leucophaeus.
- Cut a diminutive slab of Sir Henry Wood, 1.5 Cm x 0.5 cm about and hot glue information technology directly under the small slit that was sportsmanlike created.
- Exploitation scissors cut the Styrofoam to create a reflective wall for the sides of the photosensor.
- Tape pieces of paper onto the sides of the palisade, to create a break reflective effect for the detector.
Step 6: Assembling the Wheels [Car Prep]
- Cut 4 Acrylic circles using a optical maser clipping program, from each one with a radius of: 4.75 cm.
- Hot glue the Acrylic circles onto the outer side of the respective wheels.
- Take out 2 wheels (with r of 2.9 cm) and attach the wheels onto the motors.
- Have sex axels securely into place.Using a scissor, thin a coat hanger and fix it to approximately 27 cm.
- Take out the last two wheels. Slide the axel through the coat hanger tube and nexus them with an axle.
- Screw the L-shaped metal connecters onto the main body. Slide the axel with the wheels without motors through with the yap. Secure the screws.
- Remove a white moldable connector and screw the wheels with motors onto the main body.
Step 7: Assembling the Car
- Bed the Arduino Uno chee up on the high of the wooden chopine, have it on the final stage.
- Attach the Arduino Bridge onto the top of the Arduino Uno.
- Next take the Driving Motor plank and screw it onto the past end of the wooden platform.
- Place the wooden plank over onto the midsection of the briny body. Hot glue information technology on firmly.
- Hot paste the battery box next to the wooden block.
- Screw the light intensity sensor onto the small slab of Natalie Wood that was attached to the front end of the vertical dining table.
- Screw the IR sensing element on the bottom of the car, more to one of the sides.
- Tie the wires, following the circuit diagram of the car enclosed in Step 3.
- Tape polish the wires and any flyways securely. Don't Army of the Pure the wires tangle with the wheels.
Step 8: Making the Wallpaper Column
- The tower is made of triangular prisms made of A4 wallpaper.
- Pre-make a templet.: 21cm x 2 cm.
- Take the sheet of paper and crimp three sides.
- Gum two of the sides together. Take over until you bear enough prisms.
- Follow the diagram and glue the prisms together as shown.
- Fold the wallpaper as shown in the pictures to create a foursquare base, with a half hexangular structure, for the top of the tower.
- Glue the square base onto the top of the tower.
- Make a dear comb stick out for the servo.
- Glue the honey comb stand onto the square base on top of the tower.
Tippytoe: We suggest exploitation videotape to screen different positions before gluing on the bag and honey comb stand because the tower if made of composition, it is essential that all parts are glued along firmly to prevent balancing issues later.
Step 9: Aggregation the Column
- Using a Small Hexagonal Brass Metal Pipe attach the 180° servo and 270° servosystem unneurotic, with the 180° on the crown.
- Overheated paste the laser onto the 180° servo.
- Balance and tape downward the Arduino Uno and batteries happening the top platform of the tug.
- Hot glue an Ultrasonic Aloofness sensor onto each side of the base.
- Connect the wires as displayed in the tower circuit plot in Step 3.
Step out 10: Full System Purview
These were the final product we created.
Thank you for reading our manual, and we hoped you enjoyed it. If you rich person any questions regarding our project, you can meet our team leader through: luffyx@sjtu.edu.cn.
Footprint 11: Troubleshooting
Auto/Bug
- If whatever electrical factor is not impermanent properly, check the wires to see if they are connected properly.
- If physical phenomenon components are still not practical the right way, symmetric though wires are connected right, use of goods and services a voltage detector to trial run the voltage of each different locations. Information technology is possible that the voltage current has been disturbed. Approximate slump voltages are included below:
- Wheels: 9V
- Sensors[All]: 5V
- Servos: 6-12V
- Battery: 12V
- If car is not functional, make sure that the Arduino and Driving Motor board are connected, whether like a shot related to or connected together with a loot board. We suggest from feel to use the same battery to office both the Arduino and Driving Motive.
- When testing the cart on the track and you hear a loud sound, information technology could be the clash between the motors and axel or the outer wheels and the track. Use a lubricating oil on the motors and vasaline connected the inner side of the acrylic cover on the wheels.
Tower
- Keep pillar in a dry location, for if the air is to a fault wet the paper will soften and South Korean won't comprise capable to have got any weightiness.
- If the laser does non shoot precisely, alter the computer code to change the angles. Yet, a tippytoe: change specific parts of the encrypt, then that the other angles are not affected too.
Be the First to Share
Recommendations
-
Anything Goes Repugn 2022
Source: https://www.instructables.com/Making-a-Real-Life-War-Tower-Defense-Game/
Posted by: millerdidettioners.blogspot.com
0 Response to "Making a Real Life War Tower Defense Game : 11 Steps - millerdidettioners"
Post a Comment