The Programing of the Basic Atom Pro

Hello
This is the teacher. The servo at the base for rotation is not doing a full 180. Can you recommend a new servo that will accomplish 180 or better yet 360.

Also, we are having a difficult time getting the ps2 controller buttons working correctly. We purchased everything from you. The arm, cables and controller. My students will be posting soon.
We were not told or did not read that we could not use a 12 v battery pack. Could I return the two I bought from you and get one that works with our ald5 arm?
I think one of the two controller cords we bought from you has a defect with one of the cords. Are we past the return policy, or do you take defected parts back? Thank you

All standard size hobby servos will do 180 degrees. If the base servo doesn’t do the full 180 it’s in the control program not likely to be the servo. The arms are normally sold in a configuration for control from a PC. We do not sell a complete kit for controlling an arm from the PS2 controller. We have done the work so we know it’s solid, but for this type of thing we only provide a wiring example and code. We will bend over backwards to provide help, but it’s still robotics…

We sell the arms with a 6vdc 2 amp wall supply. You made the decision to replace a 6vdc power supply with a 12vdc battery. And yes the mention of a 6vdc limit is all over the forum and website. Returns are limited to unused unopened kits or parts and a 30 day time limit. I can’t resell something that has been used.

The help we provide is directly impacted by the communication skills of the builder. We would need to see a video to really know what is going on. Troubleshooting is a process of elimination. Lets start to eliminate some possible problems.

What type of battery should I order then. 6 volt yes, but 2800 or 1600mAh
Yes we are new to this whole robotics program. I apologize for our lack of understanding but would hope you would be able to be understanding to us like you have.

I will post a video of how far we have come.
Also, can you explain to me where to go in the PS2 program so i can change the closing ability of the gripper servo, and also the rotation of the base servo?

Either battery will work fine. The only difference is the capacity which effects how long it will operate the robot, and the associated weight.

Also, can you explain to me where to go in the PS2 program so i can change the closing ability of the gripper servo, and also the rotation of the base servo?

didnt know if you saw it or not ^^

I’m not a programmer, sorry. Perhaps someone else could give it a go?

Hi Tblack,

What have you tried? For example if you are using the program: arm1_pro.bas
Have you looked through it? For the base, have you experimented with changing some of the constants like: Base_PulseMin, or Base_PulseMax or Grip_PulseMin, or Grip_PulseMax ?

Good Luck
Kurt

See, I’m not sure what to change in the program with Grip_Min and all that, can you show me an example?

Ahh that’s easy…

;Arm BasePin con 0 Base_PulseDef con 1500 Base_PulseMin con 850 Base_PulseMax con 2150

The valid numbers are 500 to 2500 where 1500 is centered. The servo moves CCW with values lower than 1500 and CW for values higher than 1500. The relationship is proportional. You should not use the extremes 500 or 2500 without checking that the servo does not go too far and hit a mechanical stop.

Oh okay, i see that in the program now, thank you. And youre suggesting that i dont let it go to its full potential of mechanically stopping b/c it could cause damage right?

Sorry to interrupt here but yes, servos have stops inside them to restrain them to 180 degree rotation if you let it go to it’s maximum then the motor could burn out because it is trying to force past the stop when it can’t and this could also break one of the gears. Hope this helped. :mrgreen:

Yes, that was helpful thank you. Robot Dude, heres a video. I hope this helps you see the major problem we are currently having:

So, even if i hold the analog stick up or down instead of just tapping it, it does the same thing. Also, when the arm went straight up and bent backwards, it did that on its own some how… :neutral_face:

Oh, and if it helps, we get the exact same thing happening with our B-team’s robot arm as well. Its the exact same arm, everythings the same. Both have the same program on the Atom Pro…could it be a discrepancy in the program?

I am having what seems to be the same problem - ie - everything works fine except any up/down command on the right joystick causes a strong movement just like in your video. I just posted on this today. If I’m able to learn the solution i’ll point you to it.

Also it occurred to me that since left stick commands like gripper fwd/rev and up/down both work fine, it means that particular servo in question and its control is ok - because it’s used in a coordinated fashion with the elbow whenever the left joystick is used. That works, with the implication being a whole lot of wiring and functions are in fact ok. but when you use the right joystick to move the wrist up/down, this odd effect happens.

We are in the process of recreating the problem in house. The code has been in existence for a long time. Something has changed just not sure yet what.

Oh man, I hope you guys figure it out soon. I’ll keep checking over the program to see if I find anything. We really need our arm working by February.

I think that while we are working on solving this problem you should try this tutorial. It is newer code written by Xan. It does not use the SSC-32, only the Botboard and Atom Pro. It also drives a differentially steered base but you can ignore that part of the project.

lynxmotion.com/images/html/build148.htm

viewtopic.php?f=6&t=7923

Can you post the link to me when its been completed?

And also we have run into a problem attaching the Gripper A kit to the Heavy duty wrist rotate. The screws are not long enough…unless i need to take something off. Can you fill me in???

Pretty sure you just need to attach the circular bit of the gripper directly through the gear to the bearing. Don’t try to use the attachment plate from the other gripper.
Also, the tutorial has been updated.

An image of your assembly would be helpful.

This step requires the 1/2" 2-56 screws that are included in the gripper kit.