Firmware for SCARA printer

Hold your idea in your hand Forums Morgan Builders forum Firmware for SCARA printer

Viewing 20 reply threads
  • Author
    Posts
    • #5245
      WannaFly
      Participant

      Hi. I am new to 3D printer. I am trying to build a SCARA printer. Because of other part of the project, I have to use the Repetier firmware. I am reading your Morgan Marlin firmware to figure out what do I need to modify in the Repetier firmware. So could you please give me a guide about what did you modify in Marlin firmware, and what need to do in general to convert a normal Cartesian firmware to a SCARA firmware?

      Thank you very much for your time.
      Regards,

    • #5257
      Quentin Harley
      Keymaster

      Hi WannaFly,

      I started with deltabot kinematics and replaced it with SCARA kinematics.

      It is not had, but not trivial. I just added the kinematics to another platform in one two nights…

    • #5265
      WannaFly
      Participant

      Could you please give me a bit more details, like where can I find the information about SCARA kinematics, as well as the notations? I also don’t understand the meaning of the variables like SCARA_C2, SCARA_S2, SCARA_K1, SCARA_K2, SCARA_theta, SCARA_psi, dCal_X = 0, dCal_Y = 0;

    • #5269
      Quentin Harley
      Keymaster

      I found it on the internet, but obscured in maths. I had to code it. I am not a maths teacher, so it will be hard for me to explain to you how it works.

      You should be able to use the section of code and port it to Repetier.

      Why do you have to use repetier?

    • #5277
      WannaFly
      Participant

      I have to use Repetier because the SCARA work is a part of a bigger project that we have already doing in Repetier.

    • #5281
      Quentin Harley
      Keymaster

      Interesting. How is the progress?

      I know the deltas are implemented on repetier already, so patching it to SCARA should be relatively easy

    • #5289
      WannaFly
      Participant

      I have modified the repetier firmware for 3 extruders, with the mixing ratio saved in EEPROM.
      Sorry I am quite new to 3D printer, but is “delta” the common name for all non-Cartesian 3D printer?

    • #5293
      Quentin Harley
      Keymaster
    • #5301
      Quentin Harley
      Keymaster

      The delta configuration was one of the first non-cartesian 3d printers to be natively supported in reprap firmware using inverse kinematics. If you replace the delta kinematics with the scara code, you should have a start.

    • #5369
      ate
      Participant

      Hi, I am building a reprap morgan using a Megatronics V3.0 board instead of the normal ramps. In the ‘morgan armlevel’ firmware that I downloaded from github it does have an option for the ‘megatronics’, but I fear that is might be for an older version. Because when I upload the firmware with the megatronics board selected, very strange things start happening when I switch on the power.
      1) Has anyone had experience with using a Megatronics V3.0 board?
      2) @Quentin; is the firmware you wrote suitable for megatronics v3.0 as well?

    • #5373
      Quentin Harley
      Keymaster

      Hi there!

      Yes, armlevel is aging. The plan is to work to get it included into marlin head, but Not done yet.

      You could look at the pins.h file of recent marlin that supports the board, and add the section to my pins.h to see if it works better.

      Let us know how it goes

    • #5377
      ate
      Participant

      Alright! it worked, I just copy pasted the pins.h section for megatronics 3.0 in like you said and it worked.

      Moving on to calibrating now… hopefully I can post a pic of the build next week. It is quite a radical adaptation of the original Morgan; a freakishly tall offspring (2meters)…

    • #5381
      ate
      Participant

      Now when I try to home, only the Theta arm moves while the psi arm remains locked in position. The psi arm does function when I move the hot end in x or y direction in pronterface.
      Does this problem ring any bells?

    • #5389
      Quentin Harley
      Keymaster

      It seems that the pin for the dead arm is now incorrect. Did it move previously? Perhaps use the old pins for that stepper driver.

    • #5397
      ate
      Participant

      It is not a dead arm because I can move it around with the pronterface directional buttons, so it the pins must be okay. It is just during the homing that it stays dead. It seems that the issue must be in the bit of coding that pertains to the homing command? I have been sorting through the firmware but I am having trouble locating the bit that controls the homing.

    • #5401
      Quentin Harley
      Keymaster

      The code is in Marlin_main and is part of the G28 gcode handling section

    • #5405
      ate
      Participant

      Ah, it was just an endstop malfunctioning. I came accros this very usefull command m119 that gives you status update of the endstops:

      SENDING:M119
      Reporting endstop status
      x_min: TRIGGERED
      x_max: open
      y_min: TRIGGERED
      y_max: TRIGGERED
      z_min: TRIGGERED
      z_max: open

    • #5417
      Quentin Harley
      Keymaster

      A relief! Now you can finish calibration

    • #6046
      albertbjames
      Participant

      G’day wannafly,

      I too am building the Morgan printer. I already have a Pibot Cartesian printer that uses the Repetier firmware. I have installed the Repetier onto the Pibot and done upgrades so I am familiar with the process and want to use Repetier with the Morgan that I am making. Do you still have the source for your firmware?

      Alby

    • #6104
      Quentin Harley
      Keymaster

      You may have to hack the kinematics into Repetier yourself…

    • #6105
      albertbjames
      Participant

      G’day Quentin,

      Thanks for your reply. I will continue with trying to get the Repetier firmware to work. I will let you know when I have success. Somebody else will benifit from my work. Please refer them to me if you want.

      Alby

Viewing 20 reply threads
  • You must be logged in to reply to this topic.