RAMPS 1.4 - Endstop switch

Поделиться
HTML-код
  • Опубликовано: 10 сен 2024
  • Explain basic end stop switch sensors and how to enable and load correctly in Marlin Firmware on RAMPS 1.4/Arduino MEGA 2560
    One Time Tips, You Can PayPal Me:
    www.paypal.me/...
    Discord:
    / discord
    Patreon:
    / edbraiman
    Required hardware:
    RAMP 1.4 board
    Arduino MEGA 2560
    USB Cable
    Mechanical End Stop Limit Switch+Cable
    TEMCo Micro Limit Switch Roller Arm
    Required software:
    Arduino IDE (version 1.8.2 or higher)
    www.arduino.cc/
    Marlin Firmware (version 1.1.6)
    marlinfw.org/
    Pronterface Software:
    www.pronterface...

Комментарии • 46

  • @grandpapip9618
    @grandpapip9618 5 лет назад +3

    Was pointed to your video , You just saved me from wasting money on a replacement board... THANK YOU

  • @Malainor
    @Malainor Год назад

    Many thanks for the refresh that showed it quickly. this wire here that is there. Okey i had all 3 reversed.
    Endstops kept reseeting the board...but i might have done it as a cheap emergency stop many years ago. click kills all 5v to board even to stepper drivers, no 5v but motor gets power from seperate psu= total stop.
    was years ago

  • @rheller_82
    @rheller_82 4 года назад

    Very helpful for me. I didn't know what to do with those connectors till you.

  • @michaelbarakat6095
    @michaelbarakat6095 5 лет назад +1

    Thank you very much for this great work

  • @MrWaldorfian
    @MrWaldorfian 4 года назад

    I'm building a corexy printer. My endstops show up correctly using M119 in Pronterface but when I move the X or Y to the endstop they don't stop the motors. I can't figure out why they don't operate correctly. Any ideas?

    • @EdwardBraiman
      @EdwardBraiman  4 года назад +1

      Could be a connection issue or the endstop might be in the Marlin firmware set to opposite direction. One test you can do is home on x or y and click endstop manually and see if stops. You can also send configuration file to me on Discord to take a look.

  • @ajellis2069
    @ajellis2069 4 года назад

    Hi I got an BIQU Magician and the previous owner damaged the mb i fixed it but the Y+ is not registering.
    How can I change the endstop to use Z- instead of Y+ for endstop

  • @cyberstar251
    @cyberstar251 5 лет назад

    I'm wanting to use one of these switches for the automatic bed leveling function for the ramps 1.4, how would i wire that up and which pins do i use? the switch itself only has 2 wires on it.

    • @EdwardBraiman
      @EdwardBraiman  5 лет назад

      Check out my tutorials on either 3d touch or BL touch.

  • @stratoanania9713
    @stratoanania9713 5 лет назад

    Hi, I connect a Endstop with 3 wires on the Arduino Mega board, like the first example, and I almost burned it. Now the screen looks bright, but it works. This mistake is for bad wire colours connectors or because I only must connect 2 wires for endstop? (minus and signal), thanks!

    • @EdwardBraiman
      @EdwardBraiman  5 лет назад

      This video is somewhat dated, my newer videos have a better camera and should be easier to follow. Your end stop functions?

    • @stratoanania9713
      @stratoanania9713 5 лет назад

      @@EdwardBraiman Hola, vi que tenes tutoriales en español. Hablás español? Tengo un endstop como el que mostrás ( el segundo con dos pines ), probé instanaldolo y me trajo problemas. Salió como olor a quemado y lo apagué enseguida. Saqué el endstop y la pantalla quedó blanca. Y da un error. Esto será por el endstop o por que actualicé a Marlin 1.1.9 y fallé en algo de la configuración? Gracias.

    • @EdwardBraiman
      @EdwardBraiman  5 лет назад

      @@stratoanania9713
      Spanish:
      No hablo español con fluidez, creo que todavía tengo familia en España desde antes de 1492, pero la mayoría se mudó a Europa del Este y algunos se fueron a Argentina o Estados Unidos en el siglo XX. En el momento en que huele a algo quemado, podría haber sufrido daños en el Arduino Mega 2560. Es necesario reemplazar el Arduino o RAMPS 1.4. al configurar, desea examinar de cerca los pines de abajo hacia arriba para + (voltaje), - (tierra) y s (señal). Los dos cables solo deben conectarse a - (tierra) y s (señal). Espero que esto ayude.
      English:
      I do not speak fluent Spanish, I think I may still have family in Spain from before 1492, but most moved to eastern Europe and some went to Argentina or the USA in the 1900s . The moment you smell anything burn you might have had damage caused to the Arduino Mega 2560. You many need to replace the Arduino and or the RAMPS 1.4. when setting up you want to examine closely the pins from bottom to top for + (voltage), - (ground) and s (signal). The two wires should only be connected to - (ground) and s (signal). Hope this helps.

  • @5t0rZ0
    @5t0rZ0 Год назад

    Hello,
    This is a very nice project but I have few problems. I would be really happy for you to fix them. So basically when I programmed my Arduino and tested it I only had X and Y motor controllers in ramps 1.4 and didn't had the Z motor controller and extruder. Basically then I added them and Z coordinate Motor (DVD Rom drive) Started overheating and every motor controller started overheating too. Please tell me what to do and thanks if you answer👍😁

    • @EdwardBraiman
      @EdwardBraiman  Год назад

      The question your asking is not within scope of video. Keeping in mind my hourly rates are $200 an hour minimum 3 hours. A NEMA 17 motor costs $10-20.

  • @carloscobparro5964
    @carloscobparro5964 6 лет назад

    One question. In the second endstop the order of the pins is NC NO C?

    • @EdwardBraiman
      @EdwardBraiman  6 лет назад +1

      The pins order from left to right is +(positive), -(Negative or Ground), S(signal). It only uses Negative and Signal. Red wire will be Negative and Black will be signal for second sensor example. My MKS Gen L tutorial is currently what the gold standard of video from me. I will be posting a new video on Smart Ramps/Arduino Due. I'm still editing as the process for Marlin FW is slightly changed for 32 bit processors. It should be up in the next two weeks, but the connection process will be the same.

    • @stratoanania9713
      @stratoanania9713 5 лет назад

      I gues: NC for Negative / C for Signal. Only 2 pin wires need.

  • @4ngelk1ng
    @4ngelk1ng 6 лет назад

    I like your video I want to ask some questions
    If I change 2 wires endstop wires to ground to nc from ground to no not firmwire it will work or wont

    • @EdwardBraiman
      @EdwardBraiman  6 лет назад

      +Bekir OZGUR could you clarify your question. Are you making reference to physical sensor connection? Are you also asking about a setting in marlinfw? It's okay to ask the question in your native language. I'll be able to understand your description and we will both not lose something in translation.

    • @4ngelk1ng
      @4ngelk1ng 6 лет назад

      Edward Braiman Sorry I am making a 3d printer When i sent to home, Axis didnt moved . I push the triger it moves . First i try to change logic in firmware 4mkduo 4.3.2 and same problem . Can I change my endstop logic bu changing wires

    • @EdwardBraiman
      @EdwardBraiman  6 лет назад

      Bekir, I'm not sure about 4Mkduo firmware, but here are a couple of questions. If you were to user Pronterface.exe and send the command, "M119", what is the response you see? If you then use your hand to trigger sensor and send the command, "M119", what is the response? If you then try and move either left or right by a small increment, what occurs? It sounds like the logic for homing in which ever axis your move is logically reversed. One possible fix is to invert the logic. This can be done in MarlinFW several ways, X_MIN_ENDSTOP_INVERTING or X_ENABLE_ON 0. Or switching the direction of the plug for you stepper. Keep in mind if you working with another firmware or hardware I might not have a perfect answer. Hope this helps.

    • @4ngelk1ng
      @4ngelk1ng 6 лет назад +1

      Edward Braiman I loaded marlin 1.1.8 it is working

    • @EdwardBraiman
      @EdwardBraiman  6 лет назад

      +Bekir OZGUR congratulations.

  • @oscse
    @oscse 6 лет назад

    Nice video! I have a question. Can I use x_min as the end_stop for the X and x_max as the end_stop for the extruder?

    • @EdwardBraiman
      @EdwardBraiman  6 лет назад +1

      Sure, but it might require you to setup the filiment run-out as x_max.

    • @oscse
      @oscse 6 лет назад

      Edward Braiman That's not a problem for me. But the problem is how/where do I modify in the firmware to act it as an end stop for the extruder. Thanks!! :)

    • @EdwardBraiman
      @EdwardBraiman  6 лет назад

      I'm working on a mks gen l tutorial for this, but I have a similar one on my RAMPS 1.4 tutorial.

    • @oscse
      @oscse 6 лет назад

      Please give me the link. Also, some guidelines if possible. Appreciate it.

    • @EdwardBraiman
      @EdwardBraiman  6 лет назад +1

      ruclips.net/video/ijAuX8d3Mr4/видео.html ... You also need to lookup pinouts for the RAMPS 1.4

  • @thewhizard
    @thewhizard 4 года назад

    if you short + and - will it crash or kill board?

    • @EdwardBraiman
      @EdwardBraiman  4 года назад

      If you connect ground and voltage pins you'll damage the board. You should only connect ground and signal pins.

    • @thewhizard
      @thewhizard 4 года назад +1

      @@EdwardBraiman have to watch closely plugging in my 2 pin plugs

  • @treasuretotrash2067
    @treasuretotrash2067 5 лет назад

    i got an error saying ARRAY_0 was not declared in this scope. Any idea why? Nevermind fixed. Great vid ;)

    • @EdwardBraiman
      @EdwardBraiman  5 лет назад

      What version of Marlin firmware are you using? What version of Arduino IDE are you using? What type of board are you using? Also is there more than an Endstop being configured?

    • @treasuretotrash2067
      @treasuretotrash2067 5 лет назад

      @@EdwardBraiman actually im having a different problem. Im on ramps 1.4 and some off brand arduino mega and marlin 1.1.x. The issue is the motors sound lime there moving but there just humming

    • @EdwardBraiman
      @EdwardBraiman  5 лет назад

      My guess without all the information is the trim pods are not calibrated for your motors.

    • @treasuretotrash2067
      @treasuretotrash2067 5 лет назад

      @@EdwardBraiman Sorry im kind of new to RAMPS 1.4 but what are "pods"

    • @EdwardBraiman
      @EdwardBraiman  5 лет назад

      Checkout my playlist for MKS Gen L and calibration of either a drv8825 or a4988 stepper driver.