tag:blogger.com,1999:blog-66034917880010947972024-03-05T16:33:28.896-08:00Metal GearsDestiny Archonhttp://www.blogger.com/profile/00039604915640833328noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-6603491788001094797.post-69013763652499754302008-03-16T20:15:00.000-07:002008-03-16T20:22:05.117-07:00Documentation<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVf8x_HtVVea8s2VIARmP-tuDVFA_ZH4zLarywN8gX2sEmPiMCs_EQJPLyiNkqaxcwj3KTtgM5QZGncQxgjnNMlyZL941sKJN0n0tp1BqK0iR5EB0nkV_1zN91aNFFLRTQQUaApALCPJiG/s1600-h/logo.bmp"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVf8x_HtVVea8s2VIARmP-tuDVFA_ZH4zLarywN8gX2sEmPiMCs_EQJPLyiNkqaxcwj3KTtgM5QZGncQxgjnNMlyZL941sKJN0n0tp1BqK0iR5EB0nkV_1zN91aNFFLRTQQUaApALCPJiG/s400/logo.bmp" border="0" alt=""id="BLOGGER_PHOTO_ID_5178544290024086274" /></a><br /><br />I. Introduction<br />A tank is a large armoured vehicle with treads, a rotating turret, and a heavy gun. The objective of this project is to create a model tank that moves in much the same way as a real tank would. This model tank will be able to move forward and backward, and turn left and right. The tank will initially have two motors that will each move a respective tread, one will control the left tread while the other will move the right tread. The tank’s movement will be controlled using a computer which will be connected to the circuit that controls the tank’s motors. <br /><br /><span style="font-style:italic;"><span style="font-weight:bold;">Tank’s Movement</span></span><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpFBN2QwmaQJIYM2F2u3HLcXADT7d3esyX_K4J1LsEtqQgJDKMNr9LbehTGheBjHJ-8Q8V7I8alTeQ9RD1WWrMq7qGE_ct-0lyPx6mf5gI-DhvtbhYH_vbUonvX2s90ZtZ4ACawyGHvn-H/s1600-h/movement.bmp"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpFBN2QwmaQJIYM2F2u3HLcXADT7d3esyX_K4J1LsEtqQgJDKMNr9LbehTGheBjHJ-8Q8V7I8alTeQ9RD1WWrMq7qGE_ct-0lyPx6mf5gI-DhvtbhYH_vbUonvX2s90ZtZ4ACawyGHvn-H/s400/movement.bmp" border="0" alt=""id="BLOGGER_PHOTO_ID_5178544667981208338" /></a><br /><br />II. Methodology<br />Materials Used:<br />1 x Model Tank (T-55 Finish Army) <br />1 x Project Bread Board<br />2 x Motors<br />3 x TIP41C 3 x 470Ω Resistors<br />3 x 2N2222 3 x 2.2kΩ Resistors<br />3 x 4N25 3 x SD205P Relays<br /><br />The circuit for this project is divided into three main relays. Each relay, which serves a different function, is controlled using a transistor circuit connected to the computer. The first relay controls the flow from the power supply. When this transistor is off, the flow from the power supply remains the same. When it’s turned on, the flow from the power supply is reversed. Switching the flow of power controls the direction the motors will move, whether clockwise or counter-clockwise. The two other relays each control a motor. When these relays are off, the motors do not receive power. However, when they’re turned on, the motors receive power and thus move according to the power flow. The combination of turning these relays on or off determines the movement of the tank as seen in the table.<br /><br />Relay 1 (Power) Relay 2 (Motor) Relay 3 (Motor) Movement<br />Off Off Off Stop<br />Off On On Forward<br />On On On Backward<br />Off On Off Turn Right<br />Off Off On Turn Left<br /><br /> The program which controls the circuit was created using C++. The program requires a decimal integer input from the user. This input represents a specific movement for the tank.<br /><br />Decimal Input Binary Equivalent Movement<br />0 000 Stop<br />1 001 Turn Left<br />2 010 Turn Right<br />3 011 Forward<br />7 111 Backward<br /> <br />The decimal inputs are actually converted to binary values. These binary values determine whether a relay is turned on or off. Each bit represents one relay. The most significant bit represents the first relay which controls the flow from the power supply while the other bits represent the motor relays.<br /><br />III. Conclusion<br />This has been a very fun and interesting group project. Our tank worked according to plan. However, during one of the tests, one of our motor system’s gears got damaged. In the future, it would be better to replace the current plastic gears with the appropriate metal gears to make the system more stable.<br />All in all, this project was a success! We were able to create the model that we planned from the start and we had lots of fun doing it!Destiny Archonhttp://www.blogger.com/profile/00039604915640833328noreply@blogger.com0tag:blogger.com,1999:blog-6603491788001094797.post-80545995666306474182008-03-13T21:07:00.001-07:002008-03-13T21:17:59.904-07:00First Set of Pictures<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxXDS-djgGp_w7dO8qAN0ujVIu4SaCgArwwonkwMtQP7XePeArce_3htABOIEkpU5vIEv3VOkniTAAkYn7s7ON4GyFxWYIRfkisGhdXVYv3XAYn-XOV2MGQYlc0mHAFqv9vPbcoKe1vG-U/s1600-h/Transistor+Schematic.jpg"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxXDS-djgGp_w7dO8qAN0ujVIu4SaCgArwwonkwMtQP7XePeArce_3htABOIEkpU5vIEv3VOkniTAAkYn7s7ON4GyFxWYIRfkisGhdXVYv3XAYn-XOV2MGQYlc0mHAFqv9vPbcoKe1vG-U/s400/Transistor+Schematic.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5177445796303559410" /></a><br />Transistor Circuit<br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhntQdcHkqP-nkbHY8DQNcKCHIETD8VQPcH2IEmas3pYfOTQMFWKiCKkL8PXpFplJiMSQQtdza9omLZduPOhT_OwhTce3Lyn99x63t2hKizs28sm5vmFmd8JrXVVQJdXHdCxjRVUPzROM_9/s1600-h/IMG_1692.JPG"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhntQdcHkqP-nkbHY8DQNcKCHIETD8VQPcH2IEmas3pYfOTQMFWKiCKkL8PXpFplJiMSQQtdza9omLZduPOhT_OwhTce3Lyn99x63t2hKizs28sm5vmFmd8JrXVVQJdXHdCxjRVUPzROM_9/s400/IMG_1692.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5177445508540750498" /></a><br />Tank’s Dual Motor System<br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4qh63o1dgP8oym8GihRgjDuKtBDs3XdHT5nzVzWiCqa7PcW80JJ2w61rdUoPjZ-BYFmTkEW5P5Zng2rebeIeu70Cz4gkcUJD4AaBpT02sZr4xs-CbHkdyTIK1_vW0U1I9hSyibpOKQ9eY/s1600-h/IMG_1693.JPG"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4qh63o1dgP8oym8GihRgjDuKtBDs3XdHT5nzVzWiCqa7PcW80JJ2w61rdUoPjZ-BYFmTkEW5P5Zng2rebeIeu70Cz4gkcUJD4AaBpT02sZr4xs-CbHkdyTIK1_vW0U1I9hSyibpOKQ9eY/s400/IMG_1693.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5177445512835717810" /></a><br />Tank’s Dual Motor System<br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiP6MwG8ozsXlwdilgTfaXga_6kLkJ1qbPfOwITKf4BPqD3Bs8f1xy4U4cB1G2C6WiEtXDaokqPPOn6iio_mM54Gm_4FlSn8fJ1B7Lpmz3sU0hgRwQD2ef0rClTbQomq5br_PFyJMxK71S2/s1600-h/IMG_1694.JPG"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiP6MwG8ozsXlwdilgTfaXga_6kLkJ1qbPfOwITKf4BPqD3Bs8f1xy4U4cB1G2C6WiEtXDaokqPPOn6iio_mM54Gm_4FlSn8fJ1B7Lpmz3sU0hgRwQD2ef0rClTbQomq5br_PFyJMxK71S2/s400/IMG_1694.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5177445512835717826" /></a><br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuyCPXSigiaQhJxhfw72_x7pTGZq6X5gPnfttjdX4a6QjOHRlTmPI-N1z-dC7w1_DfUf4O6xC7Im79cAcmHULPfU3G4Oz_FuKKs7m5qNvIscbsFJiAN1daP3z6urJIhBzNX7NqFnlOyOhyphenhyphen/s1600-h/IMG_1695.JPG"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuyCPXSigiaQhJxhfw72_x7pTGZq6X5gPnfttjdX4a6QjOHRlTmPI-N1z-dC7w1_DfUf4O6xC7Im79cAcmHULPfU3G4Oz_FuKKs7m5qNvIscbsFJiAN1daP3z6urJIhBzNX7NqFnlOyOhyphenhyphen/s400/IMG_1695.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5177445512835717842" /></a><br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5_cPDewRld32HSS126DmISF64wZmbpaD34nZWSdEy0pKY-0bs9hkx44TiQD2dSKE3BbvzZcyZI33mT_P2aDdbjcRBVTOTcjt2Ia3-ohWdmJQomidoFMClaAYf5hDYxd7PS0eKZroq8OOX/s1600-h/Relay+Schematic.jpg"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5_cPDewRld32HSS126DmISF64wZmbpaD34nZWSdEy0pKY-0bs9hkx44TiQD2dSKE3BbvzZcyZI33mT_P2aDdbjcRBVTOTcjt2Ia3-ohWdmJQomidoFMClaAYf5hDYxd7PS0eKZroq8OOX/s400/Relay+Schematic.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5177445517130685154" /></a><br />Relay Circuit<br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtPFcZKot1olTYGcq5n42x_U2EnX4ofCs6T4BLj26yZd2Q4GLpgsFshrceq8zvhdw2wPQQmhImg0-JNeIAC1M2qi4NxSkFDywhyphenhyphenCLXP9Xf3h6vk2dkxFb9fptsF44y9AdThZMA9laWBIzd/s1600-h/IMG_1687.JPG"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtPFcZKot1olTYGcq5n42x_U2EnX4ofCs6T4BLj26yZd2Q4GLpgsFshrceq8zvhdw2wPQQmhImg0-JNeIAC1M2qi4NxSkFDywhyphenhyphenCLXP9Xf3h6vk2dkxFb9fptsF44y9AdThZMA9laWBIzd/s400/IMG_1687.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5177444370374416978" /></a><br />Circuit with Tank<br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJno7hzj04tiRmIJrN_KVjO62LzKB5lgv6EpwASEcjEM5QF2wUC4Ma0Lw0Q5lMVj5baslng_bhqUaWuRG934Vmy9Oe40vAb4B_7Zi7eC0XCanPQDqoO2Uv7bLTFyupBTpMo82MQ_27lDS1/s1600-h/IMG_1688.JPG"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJno7hzj04tiRmIJrN_KVjO62LzKB5lgv6EpwASEcjEM5QF2wUC4Ma0Lw0Q5lMVj5baslng_bhqUaWuRG934Vmy9Oe40vAb4B_7Zi7eC0XCanPQDqoO2Uv7bLTFyupBTpMo82MQ_27lDS1/s400/IMG_1688.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5177444374669384290" /></a><br />Tank Front View<br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgIqt6MBsaW6yrC1RhDuqb7H_A_kqDMNZn2CF_ibCdYmvwB4arMWI2Xo6HtKsvxKKgS5uoSu7neACULvXqYKIiNhKbFvJBHdmzgx_wgxrohYh8sTx8NOqqBXVawvvsq83CWQs7OtssCARE/s1600-h/IMG_1689.JPG"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgIqt6MBsaW6yrC1RhDuqb7H_A_kqDMNZn2CF_ibCdYmvwB4arMWI2Xo6HtKsvxKKgS5uoSu7neACULvXqYKIiNhKbFvJBHdmzgx_wgxrohYh8sTx8NOqqBXVawvvsq83CWQs7OtssCARE/s400/IMG_1689.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5177444378964351602" /></a><br />Circuit<br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiyKQrOxF4OTsfEZjl_2agB7N3rJu7FbCukNjeyF9_ZoPYmpB3xIxRn02XanyacZ47OYZmQpmOzFM_nMZCvUJfRhpClWY-vsF5gHpcXhiY-7vDxj3APO9t-CJjgtC_qHCpCJGFIEmsN1B78/s1600-h/IMG_1690.JPG"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiyKQrOxF4OTsfEZjl_2agB7N3rJu7FbCukNjeyF9_ZoPYmpB3xIxRn02XanyacZ47OYZmQpmOzFM_nMZCvUJfRhpClWY-vsF5gHpcXhiY-7vDxj3APO9t-CJjgtC_qHCpCJGFIEmsN1B78/s400/IMG_1690.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5177444383259318914" /></a><br />Tank Side View<br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNoP9qS3oJ-tR5Khj5UOyaTVBks0hCMe2hDz0qyNNRtIKj6-AAuIeXlT5a-u1iXlU_-7vOZ_t5-zAnSPf79NQHvr3DKo6x5pM5Q4xOLA9KSvLOqJE35nZnMzQIPrjqz25moA5jbdwkNiUU/s1600-h/IMG_1691.JPG"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNoP9qS3oJ-tR5Khj5UOyaTVBks0hCMe2hDz0qyNNRtIKj6-AAuIeXlT5a-u1iXlU_-7vOZ_t5-zAnSPf79NQHvr3DKo6x5pM5Q4xOLA9KSvLOqJE35nZnMzQIPrjqz25moA5jbdwkNiUU/s400/IMG_1691.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5177444387554286226" /></a><br />Tank Side ViewDestiny Archonhttp://www.blogger.com/profile/00039604915640833328noreply@blogger.com0