So, please forgive me for the naiveté I'm most certainly going to exhibit here. I'm mostly a software guy, so this project is a little out of my comfort zone. Nevertheless:
Project
I have been given a Python script that sends commands to an Arduino board, which in turn runs a servo motor, turning a plate to which it is attached.
When I run this script, the plate is supposed to do 1 full rotation.
Problem
The motor doesn't turn. The script works, and the Arduino does get the proper commands, but the plate just sits. Here's the expected workflow:
- Run script
- Motor turns
- Plate rotates 360 degrees
Here's the only workflow I can get to work:
- Run script
- Give plate a push
- Motor turns
- Plate rotates 360 degress
Background
There is nothing obstructing the motor or the plate. This exact setup has allegedly worked in the past. Because I've not had much experience with Arduinos and servos, I'm having a hard time pinpointing where to begin debugging this problem. Any help or suggestions would be most appreciated.
Hardware
- Power Adapter: CUI INC EPS060100 Output: 6V, 1A
- Servo: Hobbico CS-80 Speed: 0.14 sec/60, Torque: 24.7 kg-cm
Further Testing
About once out of every 5 times (20%), it will just work. No pushing or prodding; it just zips up to speed and rotates.
About once every 50 times (2%), it won't move at all, even with pushing. This, however, might be an issue with the script/Arduino communication.