Ramps 1.4 board

This topic contains 13 replies, has 3 voices, and was last updated by  Ryan 2 months, 1 week ago.

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #49407

    Ryan
    Participant

    I am almost finished building the MPCNC. Everything is assembled. I am testing the stepper motors on the ramps board before I install them on the printer. I have the ramps board communicating with repetier. When I first power up the board the motors click but I can’t get them to move or do anything.  I have also tested in ESTLCAM. The board communicates but the motors don’t move.

    I’m using the stock pololu drivers at the moment. I also tried DRV8825, they didn’t do anything either.

    I did modify the ramps board for 24V by removing D2.

    What is the best way to test the motors and the ramps board? It seems like something is defective but I don’t know where to start looking.

    #49409

    Ryan
    Keymaster
    I have also tested in ESTLCAM.

    What exactly does this mean?

     

    #49410

    Ryan
    Keymaster

    This is typically how we test it, https://www.v1engineering.com/assembly/software/

    Your previous statement might mean that is not an option now.

    Where did you buy everything?

    Are you powering both the ramps and the arduino?

    #49411

    Jeffeb3
    Participant
    I have also tested in ESTLCAM. The board communicates but the motors don’t move.

    So, you flashed with estlcam firmware? You shouldn’t do that (stick with the Marlin FW).

    I did modify the ramps board for 24V by removing D2.

    I’m not familiar with that procedure. Your Power supply is 24V, and you removed a diode, so nothing is powering the arduino, except USB? Can the drivers handle 24V?

    I have the ramps board communicating with repetier.

    What evidence do you have of that? Do you get a response from an M115 command?

    Normally, you should be able to move the motors in repetier, (or from the LCD, if you have it), and they will move even without all the mechanical stuff on there.

    #49415

    Ryan
    Participant

    Ok, the Z axis moves from repetier manual control. Now I have to figure out why X an Y are not moving.

    #49430

    Ryan
    Keymaster

    Your not giving us much information to go off of to help.

    #49586

    Ryan
    Participant

    I think the root of my problem is keeping the arduino showing up as a com port in windows device manager. If I plug and unplug the usb cable enough time it will sometimes show up but usually windows won’t recognize it. Extremely frustrating.

    Any suggestions on how to fix this? The arduino I am using is a clone. It uses the CH340 USB chip which windows doesn’t seem to like. I installed a driver specifically for that chip. It shows up sometimes, but it seems random.

    #49588

    Ryan
    Keymaster

    On a mega 2560? That sounds like an older board, you might just want to upgrade to a 2560.

    #49599

    Ryan
    Participant

    It’s a Mega 2560.  A clone though.

    #49607

    Jeffeb3
    Participant

    Switch to Linux? Sorry, couldn’t be helped.

    #49615

    Ryan
    Participant

    Yes, that’s what I’m working on. I’m setting up Ubuntu.

    It is Mega 2560, but its a clone.

    #49644

    Jeffeb3
    Participant

    Shoot. I meant that as a joke. Do you know Linux? If it’s still a problem in Ubuntu, then you’ll know it’s the board, at least. Thee syslog might give you a clue.

    #49651

    Ryan
    Participant

    There might be something wrong with this arduino board. It worked fine earlier, but I’m having a really difficult time getting it to work consistently. Sometimes it will connect sometimes it won’t.

     

    Its connected on com3 and shows up in device manager now but I get this error when I try to flash it from the arduino IDE.

     

     

    Sketch uses 104098 bytes (40%) of program storage space. Maximum is 253952 bytes.
    Global variables use 4633 bytes (56%) of dynamic memory, leaving 3559 bytes for local variables. Maximum is 8192 bytes.
    avrdude: ser_open(): can’t open device “\\.\COM3”: Access is denied.

    avrdude: ser_drain(): read error: The handle is invalid.

    avrdude: ser_send(): write error: sorry no info avail
    avrdude: stk500_send(): failed to send command to serial port
    avrdude: ser_recv(): read error: The handle is invalid.

    avrdude: stk500v2_ReceiveMessage(): timeout
    avrdude: ser_send(): write error: sorry no info avail
    avrdude: stk500_send(): failed to send command to serial port
    avrdude: ser_recv(): read error: The handle is invalid.

    avrdude: stk500v2_ReceiveMessage(): timeout
    avrdude: ser_send(): write error: sorry no info avail
    avrdude: stk500_send(): failed to send command to serial port
    avrdude: ser_recv(): read error: The handle is invalid.

    avrdude: stk500v2_ReceiveMessage(): timeout
    avrdude: ser_send(): write error: sorry no info avail
    avrdude: stk500_send(): failed to send command to serial port
    avrdude: ser_recv(): read error: The handle is invalid.

    avrdude: stk500v2_ReceiveMessage(): timeout
    avrdude: ser_send(): write error: sorry no info avail
    avrdude: stk500_send(): failed to send command to serial port
    avrdude: ser_recv(): read error: The handle is invalid.

    avrdude: stk500v2_ReceiveMessage(): timeout
    avrdude: ser_send(): write error: sorry no info avail
    avrdude: stk500_send(): failed to send command to serial port
    avrdude: ser_recv(): read error: The handle is invalid.

    avrdude: stk500v2_ReceiveMessage(): timeout
    avrdude: stk500v2_getsync(): timeout communicating with programmer
    the selected serial port avrdude: stk500v2_getsync(): timeout communicating with programmer
    does not exist or your board is not connected
    processing.app.SerialException: Error opening serial port ‘COM3’.
    at processing.app.Serial.<init>(Serial.java:147)
    at processing.app.Serial.<init>(Serial.java:82)
    at processing.app.SerialMonitor$4.<init>(SerialMonitor.java:101)
    at processing.app.SerialMonitor.open(SerialMonitor.java:101)
    at processing.app.AbstractMonitor.resume(AbstractMonitor.java:104)
    at processing.app.Editor.resumeOrCloseSerialMonitor(Editor.java:2218)
    at processing.app.Editor.access$2200(Editor.java:79)
    at processing.app.Editor$DefaultExportHandler.run(Editor.java:2196)
    at java.lang.Thread.run(Thread.java:748)
    Caused by: jssc.SerialPortException: Port name – COM3; Method name – openPort(); Exception type – Port busy.
    at jssc.SerialPort.openPort(SerialPort.java:164)
    at processing.app.Serial.<init>(Serial.java:136)
    … 8 more
    Error opening serial port ‘COM3’.

    #49652

    Ryan
    Participant

    The arduino works fine the first time you install the drivers, but if you restart the computer, Windows tries to assign different drivers to the device and messes everything up. I can’t stop it from doing this.

Viewing 14 posts - 1 through 14 (of 14 total)

You must be logged in to reply to this topic.