New Project Robot 5 axis

Hey everyone,

We are making a robot arm as new project this year. We have our own CNC- milling and CNC-lathe machines to make our prototype. I will post a rendering from our 3D design bellow.

We made our own CNC-milling machine as a project last year with USB CNC eding software. This year we are building our robot arm with arduino.

We could use some help with the code since don't have much background on C++ or arduino code's. We did tutorials that come with the arduino board but writing the code for our robot arm is much more of a challenge.

Our plan is to operate our robot arm with a joystick and try some pick and place for starters.

Our specs / options:

  • Arduino uno
  • Arduino Mega
  • USB host shield 2.0
  • 2 servo motors DF Metal geared 15 KG standard Servo 270° ( DSS-M15S) use these 2 for rotating the gripper and opening and closing the gripper.
  • Logitech 3D extreme pro
  • Power supply 5V DC output
  • Power supply 12V 4.2A DC output
  • Power supply 48V 8.3A DC output
  • 3 Stepper motors DCNC-IP54-NEMA 34 4.0NM
  • 3 Stepper drives HP 5056 50V 5.6A 1/128 microstep ND556
  • 2 Wormgearbox V30 i 1:10 normal backlash

So our idea is to use the Logitech 3D pro extreme to controll the movements on the robot aswell as using the gripper. We are atm soldering and finishing the gripper. The robot is allmost ready now the eletrical will be our next challenge as the programming. These last parts are not our area's of expertise and we would love to hear some of your opinions as to how we actually pull this off.

My mother language is dutch so in advance excuses for the amount off typo's.

I would like to thank you guys for reading this and for any reply's in advance. If there are any questions or if my post is incomplete feel free to ask me for more information.

I suggest you start with some simple code to control a single stepper or a single servo and gradually incorporate additional elements as your knowledge grows.

Also, just write a short program to get data from the joystick and display it on the Serial Monitor.

Look at how the code in Planning and Implementing a Program is compartmentalized into short single-purpose functions that can be developed and tested separately from each other.

...R
Stepper Motor Basics
Simple Stepper Code

Here's the image attached to the top post so others don't have to download it.

How to insert uploaded images.

I look forward to progress reports on the project.