RAMPS 1.4 - Error during uploading Firmware September 03, 2013 03:52PM |
Registered: 12 years ago Posts: 29 |
Re: RAMPS 1.4 - Error during uploading Firmware September 04, 2013 11:50AM |
Registered: 12 years ago Posts: 29 |
Re: RAMPS 1.4 - Error during uploading Firmware September 04, 2013 11:52AM |
Registered: 12 years ago Posts: 29 |
#define X_STEP_PIN 54 #define X_DIR_PIN 55 #define X_ENABLE_PIN 38 #define Y_STEP_PIN 60 #define Y_DIR_PIN 61 #define Y_ENABLE_PIN 56 #define Z_STEP_PIN 46 #define Z_DIR_PIN 48 #define Z_ENABLE_PIN 62 #define E0_STEP_PIN 26 #define E0_DIR_PIN 28 #define E0_ENABLE_PIN 24 #define E1_STEP_PIN 36 #define E1_DIR_PIN 34 #define E1_ENABLE_PIN 30 void setup() { pinMode(X_STEP_PIN, OUTPUT); pinMode(X_DIR_PIN, OUTPUT); pinMode(X_ENABLE_PIN, OUTPUT); pinMode(Y_STEP_PIN, OUTPUT); pinMode(Y_DIR_PIN, OUTPUT); pinMode(Y_ENABLE_PIN, OUTPUT); pinMode(Z_STEP_PIN, OUTPUT); pinMode(Z_DIR_PIN, OUTPUT); pinMode(Z_ENABLE_PIN, OUTPUT); pinMode(E0_STEP_PIN, OUTPUT); pinMode(E0_DIR_PIN, OUTPUT); pinMode(E0_ENABLE_PIN, OUTPUT); pinMode(E1_STEP_PIN, OUTPUT); pinMode(E1_DIR_PIN, OUTPUT); pinMode(E1_ENABLE_PIN, OUTPUT); } void step(int stepperPin, int steps, int dirPin, boolean dir){ digitalWrite(dirPin,dir); delay(50); for(int i=0;iEdited 2 time(s). Last edit at 09/04/2013 11:57AM by druss.
Re: RAMPS 1.4 - Error during uploading Firmware September 05, 2013 12:15AM |
Registered: 11 years ago Posts: 1,592 |
Re: RAMPS 1.4 - Error during uploading Firmware September 05, 2013 01:15AM |
Registered: 12 years ago Posts: 29 |
I tried Arduino software on 3 different OS (7, XP & Linux). Always the same problem.Quote
3DStu
I really wondered that whether your 2560 is in good condition or damaged.I suggest you to have any other program to test the mega board.(Use the software of arduino 1.0)
Confirm that you have install the driver correctly.
In the arduino software,Choose the Arduino Mega 2560 board and the right Serial Port .I do not know whether it is COM4,because different board has different Serial Port,you can check it out.
Agreed with the 0023 version.Quote
waitaki
There's no reason why 0023 should not be used.
Have you set the motherboard to 33 in the firmware? and have you set the baud rate to 115200 in the firmware and in Pronterface?
Re: RAMPS 1.4 - Error during uploading Firmware September 05, 2013 02:48AM |
Registered: 12 years ago Posts: 29 |
Re: RAMPS 1.4 - Error during uploading Firmware September 05, 2013 06:17AM |
Registered: 12 years ago Posts: 29 |
Re: RAMPS 1.4 - Error during uploading Firmware September 05, 2013 04:12PM |
Registered: 12 years ago Posts: 29 |
/* Fade This example shows how to fade an LED on pin 9 using the analogWrite() function. This example code is in the public domain. */ int brightness = 0; // how bright the LED is int fadeAmount = 5; // how many points to fade the LED by void setup() { // declare pin 9 to be an output: pinMode(13, OUTPUT); } void loop() { // set the brightness of pin 9: analogWrite(13, brightness); // change the brightness for next time through the loop: brightness = brightness + fadeAmount; // reverse the direction of the fading at the ends of the fade: if (brightness == 0 || brightness == 255) { fadeAmount = -fadeAmount ; } // wait for 30 milliseconds to see the dimming effect delay(30); }