Author Topic: Robotic Arm Project....Pls help  (Read 4074 times)

0 Members and 1 Guest are viewing this topic.

Offline littllebratTopic starter

  • Beginner
  • *
  • Posts: 2
  • Helpful? 0
Robotic Arm Project....Pls help
« on: November 20, 2008, 01:17:10 PM »
Hi, I am new here and i would like to ask few questions regarding this topic "Robotic Arm". I do not know if I post at the right place..
I have problems in designing the user interface for the robotic arms, I found an interesting example that i would like to try
http://robotics.ee.uwa.edu.au/robosim/

my question is in that software, its using both c files and java files at the same time to run the program. Is there anyway to do it just in java.... any ideas or links would be appreciated.
 
Another question is, how to make the user interface (from Java) to communicate with the DE2 board.

user interface from CPU  ==> de2 board  <== electronic interface = robot arm

Pls help.

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,703
  • Helpful? 173
    • Society of Robots
Re: Robotic Arm Project....Pls help
« Reply #1 on: November 27, 2008, 06:10:43 AM »
I'm assuming you want this:

PC simulation -> serial port -> microcontroller -> robot arm

Your simulation needs to output commands through a serial/USB port. Those commands can be whatever you want.

Then on a microcontroller, it should receive those commands, interpret them, then send the proper signals to the motors you use.

(I'm not familiar with the DE2 board, but this process is what you'll need to do)

Here is a simplified example:
http://erobots.blogspot.com/2008/08/bluetooth-controlled-lights.html

Offline littllebratTopic starter

  • Beginner
  • *
  • Posts: 2
  • Helpful? 0
Re: Robotic Arm Project....Pls help
« Reply #2 on: November 30, 2008, 05:25:36 PM »
thx for the reply...

so this is what i am confused with.... I designed the java user interface, for example:
                                angle
base ----------[]-----------   40

how am i going to give this value to control the motors 
and you are saying about pc simulation.... can it also from java application?

1 more thing.... since i am using java user interface (i created using netbeans), do you have any idea how i can send the commands to the control board (de2 board) through USB port?
if it is from serial port.. i need the Java API (javax.comm)
but if its from USB ...i do not have any clue on that one. Please help

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,703
  • Helpful? 173
    • Society of Robots
Re: Robotic Arm Project....Pls help
« Reply #3 on: December 03, 2008, 06:39:34 AM »
Just program it to output a command through your serial port on your PC. I haven't programmed Java in a really long time, but I know Java can do it, just google up on how.

Also, again, I'm not familiar with a de2 board. You'd have to link me to it. ;D

 


Get Your Ad Here