top of page
Search

Week of 3/24

  • Writer: euanr723
    euanr723
  • Mar 27
  • 2 min read

During this week I spent the bulk of my time working on fixing and debugging my code. The first the that I sought out to fix was getting analog write to work correctly. After testing a few different ideas, I decided that the best and most practical method of fixing this issue would be to use a motor driver. After, after making this decision I next moved on to finding, and then soldering the motor driver. However this specific motor driver did not work. After finding another one, I was able to get it to work properly, and I finally connected my motor to it. After making this change, the motor worked great with analog and my first big issue was sorted.

New motor driver
New motor driver
Joystick
Joystick

Secondly after finally fixing the issue with analog, I next moved on to trying and getting the motor control working exactly how I wanted. The main idea was to create a simple system where when I move the joystick up, the motor moves forward, and down, the motor moves backward. However after working smoothly when going up my main challenge was figuring out how to do the reverse. At first I tried making a new; inverse, variable to that of Y, however after many attempts with different methods I knew there was still a issue that remained. After talking with Mr. Christy, I learned that the main reason for the motor not being able to move correctly in reverse was due to an interference in the P.W.M signals for the Analog Write. However, this should hopefully be fixed with new code, which creates an inverse effect, not by changing pins or variables, but my simply turning one pin on or off and keeping the other using analog.


Transmitter/receiver
Transmitter/receiver

 
 
 

Recent Posts

See All

Comments


©2023 by Euan's Creations and Projects. All rights reserved.

bottom of page