Continuing with where the group left off; this week, I wanted to continue troubleshooting the arm to find out why the motors are not moving as expected. As stated in last week's progress log, the servo motors function when tested separately, but once the code is sent over, it does nothing. to continue troubleshooting: the servo motors were connected to an external power supply (not the Arduino) while the signal pins of the motors were connected to the Arduino PWM pins as seen below.
![](https://static.wixstatic.com/media/cfd036_58e48f903198406080c7adba30e1c3b0~mv2.jpg/v1/fill/w_980,h_596,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/cfd036_58e48f903198406080c7adba30e1c3b0~mv2.jpg)
In the image above, the power supply is not turned on, but once it was turned on and the code was sent to the Arduino, the problem persisted and the motors continued to do nothing. It was thought that perhaps the data was not being transmitted to the Arduino, but when looking at the Arduino, the Rx (receiving) LED is flashing when my hand is in the frame. This brought me to the conclusion that the data is being received and the problem has to do with sending the information to the motors.
Once the Bluetooth module was shipped, I went ahead and tried adding that into the mix. It worked to the point where the code was communicating to the Bluetooth module and sending the information over to the Arduino. I was able to get the servos to move two times when running the code, but on the third try, nothing happened. Unfortunately, I was unable to get the motors moving after the third time, but will continue to troubleshoot.
Comments