Week of 4/7
- euanr723
- Apr 10
- 2 min read
This week I spend most of my time working to set up and get both two separate motors working synchronously. The first two days of the week I spent time think about different way in which I can get the motors to properly steer in either direction. After a few different thought in different ways I could to code, one such example being I create a system where once you move the joystick left of right, the power of one motor would be decreased from another variable subtracting from the Y value making it turn. Another, and slightly simpler proposition Mr. Christy made was to uses two separate methods of control for either motor. With him recommending I use slide pots. I think this is a find idea, however I think that for ergonomic used it may not be able to compete with just using a joystick which only requires a thumb to use. The one issue with this is that currently, all of the other joysticks are Un-soldered and I need to ensure that there are other boards available for me to solder it to.


In the meantime, I decided to try and get the motors completely hooked up. This started with me first finding a new motor driver to use. For this project, I picked out a dual motor driver to conserve extra space. After getting the new driver, I next fully soldered the board and hooked it up. After testing with one singular motor, it worked great, with the signal transmitting across the two separate bread boards fine. The issue arose once I connected a second motor and pins. The main issue with this was that the only other analog write pins available were already taken up by the receiver, this meant that when the PWM signals meant for the motor were sent through, it interfered with transmission process across the bread boards. For the time being, to fix this, I instead settled to using normal digital write pins, which no longer block the signal and allow the second motor to run.





Comments