Friday, May 3, 2019

AM-90mins-Controlling the servo on the Donkey Car

April 3, 2019

Today, we worked on controlling the servo on the Donkey Car. From last time, we got an independent servo to move with the PS2 wireless controller. We then tried using the servo on the donkey car. For some reason, the servo on the donkey car would not move with the PS2 wireless controller. We did quite a bit of debugging but got stuck. Mr. Burnham came to help us. He read through the code to understand it then recommended that we should go back and use some of the servo code to move the servo back and forth without the controller and then test it with the donkey car controller. When we tried it with the independent servo it work. Then moving it to the donkey car servo, the servo worked. It moved back and forth with the code. This leads us to think that maybe the issue was with the connection between the controller and the servo rather than a faulty servo. In case we need to use a different code, we found a website that may have a clearer process and explanation of what they are doing than the one we have. Here is the link.

Next time:
  • Get donkey car servo to move with wireless controller
  • Connect the motors to the button inputs so that the car can move forward
  • More Arduino coding