Bug Tower Defense
by richardmurray in Workshop > Electric Vehicles
473 Views, 0 Favorites, 0 Comments
Bug Tower Defense
![Bug.png](/proxy/?url=https://content.instructables.com/FQI/NEN2/IUOHZ2P6/FQINEN2IUOHZ2P6.png&filename=Bug.png)
![JI LOGO.png](/proxy/?url=https://content.instructables.com/F7Y/O5TX/IUOHYWND/F7YO5TXIUOHYWND.png&filename=JI LOGO.png)
![Group Photo.jpg](/proxy/?url=https://content.instructables.com/FAL/WL4T/IUOIAQLY/FALWL4TIUOIAQLY.jpg&filename=Group Photo.jpg)
We are Team HUAJI, from the UM-SJTU Joint Institute (JI) and this was a project made for our VG100 course. The JI was established between Shanghai Jiao Tong University and the University of Michigan in 2006. The university is located in the Minhang district of Shanghai, China, with one of the best engineer professors and instructors in the world. The bug tower defense was the first project of VG100 and it aimed to develop our group working skills and served as an introduction to engineering.
The Bug Tower Defense is a competition composed of two main sections- the tower and the bug (robotic car). The aim of the game is to kill the bugs in the shortest period of time with a laser that is placed on the top of the tower. The laser is programmed with an arduino to scan the light sensors on the bugs in order to kill them. The bugs are also designed and tested by every group.
Below are the competition regulations:
Track:
- 2.5m long
- Shelter area to prevent the bugs from getting killed in the 2-2.5m section away from the tower
- White line in the middle of the track paralleled to both sides of the path
- White line before the tower vertical to the sides of the path
Bug:
- Must include a vertical board (15cm*10cm) in the front of the bug
- Light sensor must be placed in the center of the vertical board 5 cm above the ground
- Must stop when killed (scanned by laser)
- Must travel in a straight line
- Must stop for 2-4s on the white line placed before the tower and can not be killed when stopped for this duration
- Speed in range of 0.2-0.3m/s
Tower:
- Made of regular A4 sized paper (80g) and white wood glue
- Maximum 3 sheets of paper stacked allowed anywhere on the tower
- Electric components must be placed on top the tower except for sensors (allowed at the bottom if necessary)
- No other materials are allowed to support the tower other than paper
- Must be at least 60cm tall
- Needs to be able to kill the bugs by turning the laser to any angle
Prepare Materials
![Material List 1.png](/proxy/?url=https://content.instructables.com/FVU/R8L5/IUOHYYC8/FVUR8L5IUOHYYC8.png&filename=Material List 1.png)
![Material List 2.png](/proxy/?url=https://content.instructables.com/F20/U3YW/IUOHYYCF/F20U3YWIUOHYYCF.png&filename=Material List 2.png)
![Material List 3.png](/proxy/?url=https://content.instructables.com/FYI/5PXW/IUOHYYCP/FYI5PXWIUOHYYCP.png&filename=Material List 3.png)
![5811f4524936d405870003a9.jpeg](/proxy/?url=https://content.instructables.com/F17/IYZQ/IUOHYXGU/F17IYZQIUOHYXGU.jpg&filename=5811f4524936d405870003a9.jpeg)
![5811f52f4fbade13590001ae.jpeg](/proxy/?url=https://content.instructables.com/F57/OWNV/IUOHYXNK/F57OWNVIUOHYXNK.jpg&filename=5811f52f4fbade13590001ae.jpeg)
![5811f57145bceb84940011ba.jpeg](/proxy/?url=https://content.instructables.com/FM3/Q482/IUOHYXQ3/FM3Q482IUOHYXQ3.jpg&filename=5811f57145bceb84940011ba.jpeg)
![5812068045bceb8a880001e6.jpeg](/proxy/?url=https://content.instructables.com/F9V/WCL8/IUOHZ15S/F9VWCL8IUOHZ15S.jpg&filename=5812068045bceb8a880001e6.jpeg)
![58120618937ddb5c97001301.jpeg](/proxy/?url=https://content.instructables.com/FJR/J36I/IUOHZ13V/FJRJ36IIUOHZ13V.jpg&filename=58120618937ddb5c97001301.jpeg)
![581207284fbadebc85000861.jpeg](/proxy/?url=https://content.instructables.com/FS7/AD06/IUOHZ16O/FS7AD06IUOHZ16O.jpg&filename=581207284fbadebc85000861.jpeg)
![5812076967400c000c0000f0.jpeg](/proxy/?url=https://content.instructables.com/FFT/U8OS/IUOHZ1AF/FFTU8OSIUOHZ1AF.jpg&filename=5812076967400c000c0000f0.jpeg)
![581207f445bceb8494001244.jpeg](/proxy/?url=https://content.instructables.com/FSE/T6H5/IUOHZ1B8/FSET6H5IUOHZ1B8.jpg&filename=581207f445bceb8494001244.jpeg)
![581209d750e1b69c73000dc2.jpeg](/proxy/?url=https://content.instructables.com/FTC/QVIP/IUOHZ20C/FTCQVIPIUOHZ20C.jpg&filename=581209d750e1b69c73000dc2.jpeg)
![58120b3c67400c6165002463.jpeg](/proxy/?url=https://content.instructables.com/F5Z/4UHF/IUOHZ25V/F5Z4UHFIUOHZ25V.jpg&filename=58120b3c67400c6165002463.jpeg)
![58120a824fbade6189001cb7.jpeg](/proxy/?url=https://content.instructables.com/FW6/HMJC/IUOHZ23X/FW6HMJCIUOHZ23X.jpg&filename=58120a824fbade6189001cb7.jpeg)
![58120c0d2e7fb6fccd00034a.jpeg](/proxy/?url=https://content.instructables.com/F6F/CESN/IUOHZ2GZ/F6FCESNIUOHZ2GZ.jpg&filename=58120c0d2e7fb6fccd00034a.jpeg)
![581212a1deafa4ce1b0001e9.jpeg](/proxy/?url=https://content.instructables.com/F3T/0X8W/IUOIANW8/F3T0X8WIUOIANW8.jpg&filename=581212a1deafa4ce1b0001e9.jpeg)
![581211aa2e7fb6719c000022.jpeg](/proxy/?url=https://content.instructables.com/FAQ/3IFU/IUOIANMV/FAQ3IFUIUOIANMV.jpg&filename=581211aa2e7fb6719c000022.jpeg)
![581211dc67400ce8d2000398.jpeg](/proxy/?url=https://content.instructables.com/F89/B1SU/IUOIANPZ/F89B1SUIUOIANPZ.jpg&filename=581211dc67400ce8d2000398.jpeg)
![58120c4d4fbade1359000203.jpeg](/proxy/?url=https://content.instructables.com/FL4/JD5P/IUOHZ2JX/FL4JD5PIUOHZ2JX.jpg&filename=58120c4d4fbade1359000203.jpeg)
![5812b2704fbade6189002179.jpeg](/proxy/?url=https://content.instructables.com/FM8/85JC/IUSLGLKG/FM885JCIUSLGLKG.jpg&filename=5812b2704fbade6189002179.jpeg)
![5812b34045bceb483d000c53.jpeg](/proxy/?url=https://content.instructables.com/FY6/CG2I/IUSLGMBI/FY6CG2IIUSLGMBI.jpg&filename=5812b34045bceb483d000c53.jpeg)
Concept Diagrams
![5812c913deafa465c00014db.jpeg](/proxy/?url=https://content.instructables.com/F1N/Z99G/IUSLH97S/F1NZ99GIUSLH97S.jpg&filename=5812c913deafa465c00014db.jpeg)
![5812c9a867400cccda0001ac.jpeg](/proxy/?url=https://content.instructables.com/FYW/42AP/IUSLH9RE/FYW42APIUSLH9RE.jpg&filename=5812c9a867400cccda0001ac.jpeg)
Figure 1.1 and 1.2 are concept diagrams for the bug and tower.
Circuit Diagram for Bug
![5812d00245bceb8494001800.jpeg](/proxy/?url=https://content.instructables.com/F0M/BYIW/IUSLHG33/F0MBYIWIUSLHG33.jpg&filename=5812d00245bceb8494001800.jpeg)
Figure 2.1 shows the circuit diagram for the bug.
Component Fabrication for Bug
![5812ee4745bceb8a880003bf.jpeg](/proxy/?url=https://content.instructables.com/FBF/NDPD/IUSLQ4XA/FBFNDPDIUSLQ4XA.jpg&filename=5812ee4745bceb8a880003bf.jpeg)
- Cut the acrylic board into a 15cm*20cm rectangle as the base (Board A)
- Cut another acrylic board into a 10cm*15cm rectangle as the front (Board B)
- Drill holes with 3mm diameter 1.5cm apart from each other straight along the sides of board A 5mm away the 20cm edge and 1cm away the 15cm edge (figure 3.1) (for easy adjustment in the future)
Assembly for Bug
![5812df5f67400c44e50000a8.jpeg](/proxy/?url=https://content.instructables.com/FNR/P34K/IUSLHQQ3/FNRP34KIUSLHQQ3.jpg&filename=5812df5f67400c44e50000a8.jpeg)
![5812dfcf50e1b69c7300134d.jpeg](/proxy/?url=https://content.instructables.com/F4J/1A0U/IUSLHQX4/F4J1A0UIUSLHQX4.jpg&filename=5812dfcf50e1b69c7300134d.jpeg)
![5812e0bb45bceb849400184f.jpeg](/proxy/?url=https://content.instructables.com/FVN/54FI/IUSLHROO/FVN54FIIUSLHROO.jpg&filename=5812e0bb45bceb849400184f.jpeg)
![5812e10145bceb8494001851.jpeg](/proxy/?url=https://content.instructables.com/FU5/TBH1/IUSLHRQ9/FU5TBH1IUSLHRQ9.jpg&filename=5812e10145bceb8494001851.jpeg)
![5812e17a4936d4ed6e000ec2.jpeg](/proxy/?url=https://content.instructables.com/FIB/DXUR/IUSLHSBU/FIBDXURIUSLHSBU.jpg&filename=5812e17a4936d4ed6e000ec2.jpeg)
![5812e18667400cccda000218.jpeg](/proxy/?url=https://content.instructables.com/FJY/RCQP/IUSLHSMQ/FJYRCQPIUSLHSMQ.jpg&filename=5812e18667400cccda000218.jpeg)
![5812e1d915be4d3be400178c.jpeg](/proxy/?url=https://content.instructables.com/FVO/P7BO/IUSLHSVZ/FVOP7BOIUSLHSVZ.jpg&filename=5812e1d915be4d3be400178c.jpeg)
![5812e20a45bceb8494001855.jpeg](/proxy/?url=https://content.instructables.com/F7G/M29G/IUSLHTDH/F7GM29GIUSLHTDH.jpg&filename=5812e20a45bceb8494001855.jpeg)
![5812e2484fbade6189002270.jpeg](/proxy/?url=https://content.instructables.com/F54/GMZ0/IUSLHTFV/F54GMZ0IUSLHTFV.jpg&filename=5812e2484fbade6189002270.jpeg)
- Solder a wire on both the positive and the negative end of the motor for both motors (figure 4.1)
- Connect both wheels with the motors and fix with screws (figure 4.2)
- Slide the motors into the motor holders and screw them into two of the holes at the end of board A with screws and screw caps (figure 4.3) (make sure the two wheels are parallel)
- For the following steps stick the components with double-sided tape
- Stick the arduino UNO on top of Board A 9cm from the front of the bug and 2.5cm from the left side of the bug (figure 4.4) (the side with the wheels is the back of the bug)
- Stick the breadboard on top of Board A 9cm from the front of the bug and 3cm from the right side of the bug (figure 4.5)
- Stick the driver board on top of Board A 3cm from the back of the bug and 5cm from the right side of the bug (figure 4.6)
- Stick the battery on top of Board A 3cm from the front of the bug and 5cm from the right side of the bug (figure 4.7)
- Stick the two turning wheels on the bottom of board A opposite the motor-wheels 3cm from the front of the bug and both 5cm from the sides of the bug (figure 4.8) (make sure the wheels are parallel)
- Stick the board B vertically against board A with double-sided tape (15cm side against 15cm side)
- Stick the tracing sensors on the bottom of board A two at the center 2cm apart and one at the very left end (at the end with the vertical board and with the sensors sticking outwards)
- Stick the light sensor at the centre of board B pointing in front of the bug (figure 4.9)
- Connect all components to the arduino UNO with wires (hold wires in place with sticky tape)
Circuit Diagram for Tower
![5812b4af2e7fb6fccd00068b.jpeg](/proxy/?url=https://content.instructables.com/FUB/JYJ8/IUSLGN8Y/FUBJYJ8IUSLGN8Y.jpg&filename=5812b4af2e7fb6fccd00068b.jpeg)
Figure 5.1 shows the circuit diagram for the tower.
Paper Folding for Tower
![5812ef094936d40587000644.jpeg](/proxy/?url=https://content.instructables.com/FEJ/P2EK/IUSLQ56B/FEJP2EKIUSLQ56B.jpg&filename=5812ef094936d40587000644.jpeg)
![5812ef4a50e1b69c7300138e.jpeg](/proxy/?url=https://content.instructables.com/FNO/8D6Y/IUSLQ59W/FNO8D6YIUSLQ59W.jpg&filename=5812ef4a50e1b69c7300138e.jpeg)
![5812ef5267400cccda000263.jpeg](/proxy/?url=https://content.instructables.com/FXI/DLDQ/IUSLQ5CJ/FXIDLDQIUSLQ5CJ.jpg&filename=5812ef5267400cccda000263.jpeg)
![5812efcc4936d472440000fd.jpeg](/proxy/?url=https://content.instructables.com/FGW/BTCZ/IUSLQ605/FGWBTCZIUSLQ605.jpg&filename=5812efcc4936d472440000fd.jpeg)
![5812f30a4fbadeac19000042.jpeg](/proxy/?url=https://content.instructables.com/FFL/N1ZZ/IUSLQ8IB/FFLN1ZZIUSLQ8IB.jpg&filename=5812f30a4fbadeac19000042.jpeg)
![5812f32350e1b61d510007dd.jpeg](/proxy/?url=https://content.instructables.com/F0E/OEEZ/IUSLQ8KZ/F0EOEEZIUSLQ8KZ.jpg&filename=5812f32350e1b61d510007dd.jpeg)
![5812f32e67400cccda000272.jpeg](/proxy/?url=https://content.instructables.com/F83/QMI3/IUSLQ8NG/F83QMI3IUSLQ8NG.jpg&filename=5812f32e67400cccda000272.jpeg)
![5812f368937ddbd3c200052c.jpeg](/proxy/?url=https://content.instructables.com/FM3/6PK0/IUSLQ8PK/FM36PK0IUSLQ8PK.jpg&filename=5812f368937ddbd3c200052c.jpeg)
![5812f37267400c44e50000da.jpeg](/proxy/?url=https://content.instructables.com/F05/B981/IUSLQ8XK/F05B981IUSLQ8XK.jpg&filename=5812f37267400c44e50000da.jpeg)
![5812f3b350e1b6f0290002c7.jpeg](/proxy/?url=https://content.instructables.com/F37/PGBL/IUSLQ8Z0/F37PGBLIUSLQ8Z0.jpg&filename=5812f3b350e1b6f0290002c7.jpeg)
- Draw three vertical lines 6.8cm apart from each other and the long edge of the paper (figure 6.1) (should end up having three even rectangles and another very thin rectangle with 7mm width)
- Fold the paper from step 1 along each line in the same direcion
- Brush the smallest rectangle with glue and stick it closely to the edge of the furthest rectangle (figure 6.2) (should end up with an equilateral triangle prism and make sure the side with glue is on the inside layer)
- Repeat steps 1 to 3 eleven more times (end up with 12 triangle prisms)
- Fold a paper from the shorter edge in a zig-zag every 1cm (figure 6.3)
- Glue a piece of paper on both sides of the wave-like paper from step 5 (figure 6.4) (don't use too much glue, only brush some against the pointy ends of the wave-like paper)
- Repeat steps 5 to 6 twice more
- Cut a paper into a strip with 10.5cm width (figure 6.5)
- Fold the paper into a hexagonal prism with 6.8cm sides and glue into shape (figure 6.6, 6.7) (use the remaining part for gluing)
- Repeat step 9 three more times
- Roll a paper vertically into a cylinder with 6cm diameter and glue into shape
- Repeat step 11 three more times
- Glue the short sides of two pieces of paper together by 5mm (figure 6.8) (should end up with a paper with length around 70cm)
- Cut the paper from step 13 into a strip with width 10.5cm (figure 6.8)
- Glue the strip from step 14 into a cylinder (figure 6.9)
- Cut paper into hexagon with 7.3cm sides and cut out small triangles 5mm deep at every edge (figure 6.10)
Assembly for Tower
![5812f3fb15be4d3be40017de.jpeg](/proxy/?url=https://content.instructables.com/FRK/C44I/IUSLQ98Y/FRKC44IIUSLQ98Y.jpg&filename=5812f3fb15be4d3be40017de.jpeg)
![5812f41d15be4d3be40017e0.jpeg](/proxy/?url=https://content.instructables.com/FPK/O8C6/IUSLQ9B6/FPKO8C6IUSLQ9B6.jpg&filename=5812f41d15be4d3be40017e0.jpeg)
![5812f446937ddbb768000e01.jpeg](/proxy/?url=https://content.instructables.com/F10/RDAB/IUSLQ9D9/F10RDABIUSLQ9D9.jpg&filename=5812f446937ddbb768000e01.jpeg)
![5812f46e50e1b61d510007e3.jpeg](/proxy/?url=https://content.instructables.com/FP6/0YCA/IUSLQ9HR/FP60YCAIUSLQ9HR.jpg&filename=5812f46e50e1b61d510007e3.jpeg)
![5812f4a0937ddbb768000e05.jpeg](/proxy/?url=https://content.instructables.com/FZN/J8GO/IUSLQ9R0/FZNJ8GOIUSLQ9R0.jpg&filename=5812f4a0937ddbb768000e05.jpeg)
![5812f7d150e1b61d510007ef.jpeg](/proxy/?url=https://content.instructables.com/FRZ/WI2B/IUSLQDJG/FRZWI2BIUSLQDJG.jpg&filename=5812f7d150e1b61d510007ef.jpeg)
![5812f4fa2e7fb6fccd000723.jpeg](/proxy/?url=https://content.instructables.com/F5K/1DJP/IUSLQA61/F5K1DJPIUSLQA61.jpg&filename=5812f4fa2e7fb6fccd000723.jpeg)
![5812f82e4fbade7e2700014c.jpeg](/proxy/?url=https://content.instructables.com/FC9/YFK2/IUSLQDO0/FC9YFK2IUSLQDO0.jpg&filename=5812f82e4fbade7e2700014c.jpeg)
- Place 6 of the triangle prisms together into a hexagonal prism (figure 7.1)
- Hold the triangle prisms in place with the hexagon strip (figure 7.2) (make sure the hexagonal prism is tight by adjusting the size of the strip)
- Stick the hexagon paper on both ends of the hexagonal prism (figure 7.3)
- Repeat steps 1 to 3
- Stick the two hexagonal prisms together end to end (figure 7.4)
- Stick two of the wave paper onto the bottom of the tower from step 5 as the base and one wave paper on the top of the tower as the stand (figure 7.5) (make sure the tower is at the center of the A4 paper)
- Stick the 4 paper cylinders around the bottom of the tower on the base from step 6 and make sure the cylinders are making contact with the tower (figure 7.6) (the cylinders need to be even spread into the 4 corners of the tower)
- Wrap the four cylinders together with the paper strip (make sure they are tight together by adjusting the size of the strip)
- Connect arduino UNO with the extension board (figure 7.7)
- Stick the laser pointer on top of the step motor with sticky tape (make sure the laser is straight and in the center of the step motor)
- Stick the step motor on top of the extension board from step 10 with double sided tape
- Stick the arduino UNO from step 11 to top of the tower with sticky tape
- Connect wires to the 4 motion sensors (make sure the wires are long enough to stretch from the extension board to the bottom of the tower)
- Stick the 4 motion sensors onto the paper strip on the bottom of the tower between the cylinders on all 4 directions with sticky tape (make sure the motion sensors are all at the center between the cylinders and at the same height with each other)
- Connect wires from all components to the extension board Stick the battery on the top of the tower closely next to the arduino UNO with sticky tape
-
Stick the battery on the top of the tower closely next to the arduino UNO with sticky tape
- Trim the wave paper on the top of the tower to the shape of the tower (figure 7.8) (make sure all components are not hanging out of the paper)
Final View and Video
![Bug.png](/proxy/?url=https://content.instructables.com/FQI/NEN2/IUOHZ2P6/FQINEN2IUOHZ2P6.png&filename=Bug.png)
![Bug 2.png](/proxy/?url=https://content.instructables.com/F61/3H7K/IUOIAMSG/F613H7KIUOIAMSG.png&filename=Bug 2.png)
![Bug 3.png](/proxy/?url=https://content.instructables.com/FSV/WARO/IUOIAMSK/FSVWAROIUOIAMSK.png&filename=Bug 3.png)
![Tower.png](/proxy/?url=https://content.instructables.com/F0L/6S70/IUSLGOS8/F0L6S70IUSLGOS8.png&filename=Tower.png)
Below is a link to a video of the Bug Tower Defense. Enjoy!