I purchased the kit with the “preflashed” Arduino with Marlin, along with the wiring kit. I have all 3 stepper axes connected along with the T0 resistor. I cannot get anything to communicate with the Ramps board in any operating system and multiple baud rates. I have tried Repetier Host on Mac (hard to get the mac to recognize the off brand Arduino FTDI but finally got it), Repetier says connected but all commands remain waiting and it says unknown firmware. Windows 10 recognized the board and found the driver automatically. Repetier does the exact same thing. I also tried connecting it to my 3D printer’s Raspberry Pi running Octoprint, no dice. I have no desire to use this as a 3D printer but a CNC, mainly I wanted to test the motors using these 3D printer programs. I plan to use Catia for CAM/GCode generation and a modified CNC version of Octoprint to run the CNC.
I’m all out of ideas and really sad I spent so much money on this and can’t even get the darn thing to connect. Is there any way I can verify that Marlin is indeed flashed on the Ardunio? Or can I be pointed where I can flash the correct flavor of it for this machine? I don’t figure it matters but since I purchased the kit so I wouldn’t have to fuss with this stuff I’d rather not screw it up by trying to reflash the firmware.
I suspect you’re seeing the same thing I (and a few others) have seen… and the fix is downloading and installing a proper driver. The clone Arduino Mega I’ve received in a couple of parts bundles from v1engineering.com use a different chip than the genuine Arduino Mega’s do. It’s called a CH340g or somesuch and is a larger rectangular chip near the USB connector… versus the smaller square Atmega chips on the genuine Arduinos. Installing the correct driver should allow you to communicate with it normally. It’s documented on several sites… it saved the day for me. Here’s a couple…
Repeater says connection opened but 5 commands waiting and it just sits there never changes.
Have tried multiple USB cables and used the driver mentioned above for mac got the serial port listed but can’t get the communications going.
Have the LCD installed and can move the machine around through the menu but can not get the MAC running El Capitan communicating with it.
By the way just got the machine about a month ago. Just got parts printed and put together. Electronics are bundle from vicious site.
Thank you for this. I am going to link it to the ramps page. I have had this questions a few times in the last couple of weeks. I know nothing about the newer Mac’s.
Just to add a little to the post. I am completely green on Arduino and CNC so I found this information in chunks about the driver and the baud rate. In an attempt to change the baud rate I bricked my Arduino by replacing all the programming with just the baud rate code. Found the preconfigured code on this link https://www.v1engineering.com/marlin-firmware/ and changed the Configuration.h file as mentioned above. First thing you must do is install the driver or Arduino IDE won’t see your board. As a newbie to Arduino my steps to fix were as follows:
Download the preconfigured Marlin firmware from the link above. Along with the u8glib library if using LCD.
Unzip and then open in Arduino IDE software
Change the baud rate setting in Configuration.h as mentioned above
Verify code
Upload the new code to the board
Maybe there is an easier way someone can post. But this would have saved me a few hours of troubleshooting hopefully it will help someone else out.
This didn’t work for me. It will not let me verify for some reason…I am all hooked up and changed the BUADRATE after successfully installing the driver.
Arduino: 1.6.9 (Mac OS X), Board: “Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)”
/Users/Patrick/Downloads/B16_32_fullG-112515/B16_32_fullG-112515.ino:44:101: fatal error: U8glib.h: No such file or directory #include <U8glib.h> // library for graphics LCD by Oli Kraus (https://code.google.com/p/u8glib/)
^
compilation terminated.
exit status 1
Error compiling for board Arduino/Genuino Mega or Mega 2560.
This report would have more information with
“Show verbose output during compilation”
option enabled in File -> Preferences.
Still not working on my Macbook Pro. Tried installing driver again, using the non-LCD and LCD versions. It verifies correctly but does not upload and will not connect. Anyone able to assist?
Error codes now…
Arduino: 1.6.9 (Mac OS X), Board: “Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)”
Sketch uses 102,448 bytes (40%) of program storage space. Maximum is 253,952 bytes.
Global variables use 4,224 bytes (51%) of dynamic memory, leaving 3,968 bytes for local variables. Maximum is 8,192 bytes.
avrdude: ser_open(): can’t open device “/dev/cu.usbmodem1421”: No such file or directory
ioctl(“TIOCMGET”): Inappropriate ioctl for device
ioctl(“TIOCMGET”): Inappropriate ioctl for device
avrdude: ser_send(): write error: Bad file descriptor
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
This report would have more information with
“Show verbose output during compilation”
option enabled in File -> Preferences.
I was finally able to get it uploaded. I had to change the ports and enter a line into the terminal for El Capitan. I will do a video on this as this took way too long!
The lcd screen works great. Just install U8glib from arduino Library Manager, comment out those 2 lines, and it compiles (at least in arduino ide 1.6.9).
I am using MAC OS Mojave and can’t get my laptop to interface with the “preflashed” Arduino with Marlin. I am new to this process and a little overwhelmed. Any help is greatly appreciated.