So the project that I am doing will be using 2 stepper motors controlled by GPIO's controlling 2 Driver boards (ULN2003A) and 5 servos controlled by a Teyleten Robot PCA9685 16 channel Board (using ADAFRUIT servo kit library). I wrote a program to run the stepper motors (worked great). I then wrote a separate program to run each servo (again, worked great). I then tried to combine them (Steeper and Servo programs) into one program. I can run the stepper motors first and than the servos, and it works as intended. If I reverse the way the program is written and try to run the servos then the stepper motors, it fails. My goal is to run all the servos and stepper motors in the same program. I'm just leaning Python, and it's fun, but I my last jump into programing was with a TI 94A, then jumping into the more advanced Commodore 64. It's been a LONG time since I have seen a Syntax error, lol. Any help would be great, thank you.
So the end result would be a robotic arm with the base and the 3ed articulating joint, run by (2) 360 degree stepper motors and the other joints and gripper would be controlled by 180 degree servos. Then the next step would be attaching the arm to a robotic platform with track locomotion. I'm just trying to start is small steps.
So the end result would be a robotic arm with the base and the 3ed articulating joint, run by (2) 360 degree stepper motors and the other joints and gripper would be controlled by 180 degree servos. Then the next step would be attaching the arm to a robotic platform with track locomotion. I'm just trying to start is small steps.
Statistics: Posted by Robert W — Sat Mar 02, 2024 7:40 pm — Replies 1 — Views 57