Robot Control help.
Mustanger
Posts: 1
Alright I am new at this and am having difficulty with a project. I am trying to use a BS2 to read a playstation controller and output on the serial port servo commands for a parallax servo controller board. I have read John Williams Nuts and Volts article ont he PS2 Redux, but I am lost as to where to go from there. I am only looking to control about 4 servos initally, but maybe wanting to add more later. I am sure somebody has done this before and am looking for some help.· Thanks in advance for any replies.
Andrew
Andrew
Comments
You have 2 interfaces that you need to develop:
1. Playstation Controller to Stamp
2. Stamp to Parallax Servo Controller
Pick one of the interfaces, and try to get that working first, using something simple like the debug terminal.
So, for example, try to read commands from the Playstation controller, and write the values to the debug terminal. This way, you'll know that this interface works. Put this program aside.
Then write a program that sends commands from the debug terminal to the Parallax Servo Controller, so that you can control the servo this way.
Now, at this point, you should have 2 working programs, and all you should need to do is combine them into one program. You'll write some code that a) reads information from the Playstation controller, b) processes the information as needed, c) sends the appropriate information to the servo controller.