How to control Extruder motor, Heater and Thermistor of a 3D Printer with RAMPS

Hello,

I am trying to control a 3D printer extruder motor, heater and thermistor through Arduino coding. I am very new to this and having a lot of difficulty in understanding. The motions required for 3D printing will be provided by a Robotic Arm. If I install the Marlin firmware, it will not allow me to communicate with the Robotic Arm. This is the reason why I am trying to control extruder motor, heater and thermistor through Arduino only. Can someone help me with this? I will be really thankful.

Best regards
Fahad

Using a RAMPS board would assume you have loaded a suitable firmware to the MEGA first and then use a suitable sending program such as CURA to control the actions.

As you seem to be using a non standard method you may need to make a lot of adjustments in the firmware first to set up the correct movements.

You may be better linking to where you got the ide / project ?

Could you also take a few moments to Learn How To Use The Forum.

Other general help and troubleshooting advice can be found here.
It will help you get the best out of the forum in the future.

It should be straightforward to control the RAMPS board with the OP's own software.

The only slightly complicated bit is interpreting the thermistor. I did figure that out some time ago but I'm afraid I have forgotten, I presume that Googling "Arduino Thremistor" will find a solution.

Or dig into (e.g.) the Marlin code for the thermistor stuff.

...R

Robin2:
It should be straightforward to control the RAMPS board with the OP's own software.

It should be, but rather than a straightforward X or Y value being interpreted and parsed it would need to pass at least two parameters per movement to keep an extruder parallel to the bed.
An X movement would become an X + Z and similar for a Y axis change so a dual X + Y movement becomes 4 commands rather than two interpolated movements.

And if it has more than 3 DOF that adds further complications as you get into the different A axis sometimes referred to a X1 or E1 or S1 or W1 axis etc.

A picture here from the OP would be worth a thousand words

ballscrewbob:
It should be, but rather than a straightforward X or Y value being interpreted and parsed it would need to pass at least two parameters per movement to keep an extruder parallel to the bed.

I suspect the regular 3D printer software would be no use for a robot arm. I think it all assumes a very restricted system of motion.

But keeping a complex arm at a very precise distance above the build plate is a maths and a mechanics problem - not a problem of sending signals to a RAMPS board - that would be the easy part.

...R

Normally you would TEACH a robot (at least industrial ones) how to perform a task and then lock in the program.
Seen them and installed them for automotive applications.

It would make for a fantastic 3D printer as it would not be limited to planar movements.
Even more so if the bed was actually a turntable as the possibilities would be endless.

Caveat is that each axis has the possibility to introduce and error factor and I doubt a home brew version would be able to achieve the reliability and accuracy needed for most 1.75 filaments without being a closed loop system (more complexity)

ballscrewbob:
Normally you would TEACH a robot (at least industrial ones)

But you need some very sophisticated software to allow them the learn :slight_smile:

...R

Not so much as you use a pendant connected to the robot controller to teach it so a guy that knows his way around the control usually does that aspect.

As you can see from the vid there are some complexities taken care of and the following video is also very instructional .

ballscrewbob:
Not so much as you use a pendant connected to the robot controller to teach it so

I was referring to the software that the pendant hooks into.

...R