Help needed for Delta Robot Project
Ahmad Bilal
Posts: 15
Hi every one!
I am new to forums. I am working on Delta Robot (3-Axis Parallel Robot) Project as my Final Year project in Mechatronics Engineering.
After project case study and performing search on web, I have concluded that I should select Parallax Propeller Microcontroller for controlling the Delta Robot to drive three servo motors simultaneously as no other microcontroller (talking about PIC and AVR) supports parallel control of servo motors, XMOS Microcontrollers are exception. So I need help and guidance.
I have some queries:
1. Should I select Propeller Microcontroller for Control System of Delta Robot or consider other microcontrollers?
2. I have very good skills in C/C++ so which programming language should I select for Propeller, Spin or C/C++?
3. I have visited 'Object Exchange'. Are there any Robotics libraries for Robot Kinematics and dynamics? There many robotics libraries out there in C/C++, java, python and MATALB.
My first post and so many questions i have asked! Thanks for any help
I am new to forums. I am working on Delta Robot (3-Axis Parallel Robot) Project as my Final Year project in Mechatronics Engineering.
After project case study and performing search on web, I have concluded that I should select Parallax Propeller Microcontroller for controlling the Delta Robot to drive three servo motors simultaneously as no other microcontroller (talking about PIC and AVR) supports parallel control of servo motors, XMOS Microcontrollers are exception. So I need help and guidance.
I have some queries:
1. Should I select Propeller Microcontroller for Control System of Delta Robot or consider other microcontrollers?
2. I have very good skills in C/C++ so which programming language should I select for Propeller, Spin or C/C++?
3. I have visited 'Object Exchange'. Are there any Robotics libraries for Robot Kinematics and dynamics? There many robotics libraries out there in C/C++, java, python and MATALB.
My first post and so many questions i have asked! Thanks for any help
Comments
I would suggest you spend a day learning and playing with Spin. If you are are a C++ guy you will find that it is very easy to pick up. Careful though, Spins operators may look like those of C/C++ but some of them behave differently or you need different symbols for the same operation. That catches out many.
For real speed you will want to use assembler, PASM. This is most easily done in Spin. PASM is built in there. PASM is very easy to pick up.
I don't know about kinematics libraries, I would worry that any you find in the C++ world will be two large to fit in the Propeller.
I have a good experience with assembly language while studying Intel's 8051 Microcontrollers but I have better skills in embedded C/C++. But I am thinking to learn Spin as I have been through some Spin tutorials. Spin is very picky and easy to learn, I think. I have found a number of servo control libraries in OBEX for spin. The only thing I am worried of is the Delta Robot dynamics and path planning.
I have one more question. Can Prop be interfaced to MATLAB so that I can perform Robot dynamics and path planning on MTALB as it has Robotics Toolbox and use the Prop only for actuating the servos?
For software, on the Propeller the are a variety of serial drivers. FullDuplexSerial is the daddy of them all. Good for full duplex communication up to 115200 baud.
On the PC it's very easy to write code to exchange serial data. However I have no idea about MATLAB but it should not be a problem to use with the Propeller. The Arduino community can use MATLAB already http://www.mathworks.se/hardware-support/arduino-matlab.html
http://forums.parallax.com/showthread.php/130317-MATLAB-serial-communication-with-Prop
http://onerobot.org/tag/parallax-propeller/
A quick google of Matlab Parallax Propeller turns up quite a few hits.
There are are various serial options that are very simple. I like 4port Full Duplex serial objects as they allow 4 port on one cog.
Peter's Tachyeon forth is might be good place to start, he's a whiz at motion control.