My mpcnc project!

When I went to compile or verify the firmware I got this error:

Arduino: 1.6.10 (Windows 10), Board: “Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)”

In file included from sketch\ConfigurationStore.cpp:65:0:

sketch\language.h:65:0: warning: “MACHINE_NAME” redefined

#define MACHINE_NAME CUSTOM_MENDEL_NAME

^

sketch\language.h:61:0: note: this is the location of the previous definition

#define MACHINE_NAME “Mendel”

^

In file included from sketch\Marlin_main.cpp:47:0:

sketch\language.h:65:0: warning: “MACHINE_NAME” redefined

#define MACHINE_NAME CUSTOM_MENDEL_NAME

^

sketch\language.h:61:0: note: this is the location of the previous definition

#define MACHINE_NAME “Mendel”

^

sketch\Marlin_main.cpp:2715:36: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]

     LCD_MESSAGEPGM(MACHINE_NAME" "MSG_OFF".");

                                ^

In file included from sketch\SdFile.h:27:0,

             from sketch\cardreader.h:8,

             from sketch\Marlin_main.cpp:44:

SdBaseFile.h:38: error: using typedef-name ‘fpos_t’ after ‘struct’

struct fpos_t {

    ^

In file included from sketch\Marlin.h:10:0,

             from sketch\Marlin_main.cpp:30:

c:\program files (x86)\arduino\hardware\tools\avr\avr\include\stdio.h:950:33: note: ‘fpos_t’ has a previous declaration here

extension typedef long long fpos_t;

                             ^

exit status 1
using typedef-name ‘fpos_t’ after ‘struct’

This report would have more information with
“Show verbose output during compilation”
option enabled in File -> Preferences.

Please use an older version of arduino. It has just been updated and they moved the libraries for some crazy reason. You can down load classic or older and be fine. This just happened very recently.

Are you saying to select a different board and compile again? Which one from the attached picture?

Nope, download the 1.0.6 version from here, https://www.arduino.cc/en/Main/OldSoftwareReleases#previous

Marlin has just been updated 5 days ago and is under very active updates, so we are stuck with using the older version of arduino until marlin stabilizes a bit.

So I got the firmware loaded. I’ve already adjusted the voltage on the drivers. Installed the resistor on T0. Repetier Host seems to connect and see the ramps board. However, I’m still not able to get the steppers to move. Not sure if when everything is powered up if I should see any voltage between ground and the potentiometer screw.

Lets see a picture of your board

Here you go:

Power?

Here is the power supply.

Are you asking if I have the ramps board powered? Doesn’t it get power from the Arduino?

Unplug the black one. You need power to the green plug only. Look at the ramps instructions under the assembly link.

WOW! That only took all day! My bad! Hook up the power supply to the ramps board and not the Arduino that has the exact same connector on it. The steppers are working now. At least now I can have all weekend to think about other stuff than… What am I doing wrong and how do I make this work. :slight_smile: Thanks everyone for your help!!!

When in Repetier Host I press the X or y “1” the stepper rotates 1 time. If I press 10 or 50 it just makes noise after one rotation. I would think 10 or 50 would mean 10 or 50 rotations?

I think that noise is steppers skipping. make sure movement is smooth when you manually move thigns and that the belt isn’t too tight.

1 10 50 millimeters…

What do you have repetier set to? inches or mm? because pressing 1 should not move one rotation, that would be like 25mm, or 1 inch. perhaps when hitting 10 it doesn’t know where to go because I assume you setup a bed size in repetier and moving 10inches at a time may not be coinciding with the stepper algorithm built into the arduino.

also a good point walter…

Where in RH do I need to look? I have attached a few snapshots of RH. When I hit 1 on X or Y it rotates around once.

The 1795 pic shows the setting in question. Those are what the firmware is set at.

Do you have all three jumpers under each of the drivers? That is the only thing I can think of that would cause this.

I don’t have any jumpers under the drivers. What do I need to jumper?

I found the picture showing what needs to be done.