We've started our project based of a video we had found online, the project being quite ambitious for us, we had decided to ease it down on some parts. First thing we did was translate the main functions of the tanks into what we could do :
- Moving around the turret would be done by the use of two rotary encoders
-Going forward or backward would be done with two pedals that would press down buttons
-Shooting and reloading would be done using buttons and an interactive reloading system
We then decided to split the work, Jean-Micheland Damien would work on making the components work, the wiring and the boxes. Julien would be on the code as he's the most efficient
Having started the work we firstly discovered some problems, having this many buttons, sensors, cables would require us to have a great use of soldering, as well as making the whole montage short circuit proof and have most of the components being able to be switched out in the eventuality that one of them would fail.
We used arduino C in order to make the code work.
First testing the components, we came out finding a bunch of problems. The rotary encoder would turn in clicks, which would then, at each click, create an outpot that would tell the computer in wich direction to turn the tank turrets, however, the clicks made the encoders really fragile. Especially for our projects wich would require it to be used a lot. Concerning the other components, we ended up not having many problems.
One of the huge downside of our project was the cable management, in order to improve it, we could have used a lot less cables, making our project more optimal in the way that it was wired, we could have made series circuit and just globally optimized our wiring.
Another downisde of our project was the estethics side. To fix that, we could have easily replaced the cardboard boxes by a cut out wooden one.