Arduino CNC Shield V3.0 May 14, 2014 02:32PM |
Registered: 11 years ago Posts: 18 |
Re: Arduino CNC Shield V3.0 May 14, 2014 02:53PM |
Registered: 14 years ago Posts: 1,352 |
Re: Arduino CNC Shield V3.0 May 14, 2014 03:13PM |
Registered: 11 years ago Posts: 18 |
Re: Arduino CNC Shield V3.0 May 14, 2014 03:46PM |
Registered: 14 years ago Posts: 1,352 |
Re: Arduino CNC Shield V3.0 May 14, 2014 03:57PM |
Registered: 11 years ago Posts: 18 |
Re: Arduino CNC Shield V3.0 May 14, 2014 04:25PM |
Registered: 14 years ago Posts: 1,352 |
Re: Arduino CNC Shield V3.0 May 14, 2014 04:57PM |
Registered: 14 years ago Posts: 1,352 |
Re: Arduino CNC Shield V3.0 May 14, 2014 06:20PM |
Registered: 11 years ago Posts: 18 |
Re: Arduino CNC Shield V3.0 May 14, 2014 06:44PM |
Registered: 14 years ago Posts: 1,352 |
Re: Arduino CNC Shield V3.0 May 14, 2014 06:57PM |
Registered: 14 years ago Posts: 1,352 |
Re: Arduino CNC Shield V3.0 May 14, 2014 07:00PM |
Registered: 11 years ago Posts: 18 |
Re: Arduino CNC Shield V3.0 May 14, 2014 07:10PM |
Registered: 14 years ago Posts: 1,352 |
Re: Arduino CNC Shield V3.0 May 14, 2014 07:16PM |
Registered: 14 years ago Posts: 1,352 |
Quote
DR1983
I currently assigned pin 12, as it should be correct. Would this be changed in Marlin to 4 in order to work?
Re: Arduino CNC Shield V3.0 May 14, 2014 07:17PM |
Registered: 11 years ago Posts: 18 |
Re: Arduino CNC Shield V3.0 May 14, 2014 07:22PM |
Registered: 14 years ago Posts: 1,352 |
Re: Arduino CNC Shield V3.0 May 14, 2014 07:32PM |
Registered: 14 years ago Posts: 1,352 |
#if MOTHERBOARD == 99 #define KNOWN_BOARD 1 #ifndef __AVR_ATmega328P__ #error Oops! Make sure you have 'Arduino Duemilanove w/ ATMega328' selected from the 'Tools -> Boards' menu. #endif #define X_STEP_PIN 2 #define Y_STEP_PIN 3 #define Z_STEP_PIN 4 #define X_DIR_PIN 5 #define Y_DIR_PIN 6 #define Z_DIR_PIN 7 #define X_ENABLE_PIN 8 #define Y_ENABLE_PIN 8 #define Z_ENABLE_PIN -1 #define E0_ENABLE_PIN -1 #define X_MIN_PIN 9 // investigate whats the deal with the asterisk in the image there #define Y_MIN_PIN 10 #define Z_MIN_PIN 11 #define X_MAX_PIN -1 // max endstops are not used #define Y_MAX_PIN -1 #define Z_MAX_PIN -1 // following are proposals #define E0_STEP_PIN 12 // or other which you can wire it onboard #define E0_DIR_PIN 13 // or other which you can wire it onboard #define HEATER_0_PIN 0 // extruder (digital numbering) #define HEATER_BED_PIN 1 // bed (digital numbering) #define TEMP_0_PIN 4 // 4 is A4, this or other pin that has nothing attached to it MUST USE ANALOG INPUT NUMBERING NOT DIGITAL OUTPUT NUMBERING!!!!!!!!! #define TEMP_BED_PIN 5 // 5 is A5, this or other pin that has nothing attached to it MUST USE ANALOG INPUT NUMBERING NOT DIGITAL OUTPUT NUMBERING!!!!!!!!!This is what i think for now, at very least to test the compilation size this should suffice for being as close as possible. If you get it to compile to a workeable size then this can be further refined.
Re: Arduino CNC Shield V3.0 May 14, 2014 07:49PM |
Registered: 14 years ago Posts: 1,352 |
#define TEMP_1_PIN -1 #define TEMP_2_PIN -1 #define LED_PIN -1 #define PS_ON_PIN -1 #define FAN_PIN -1The problem is that the compile size is 50522 bytes and it gave me "sketch too big". I did a few changes and i got to ~46.6k but there isnt much i would disable and does not seem like could get it lower. So you have your work cut out to chop the firmware down to a smaller size. I dont think it will work out with marlin, but you can certainly try. At this time i would say you should perhaps switch to teacup in which case the config file will be a little different.
Re: Arduino CNC Shield V3.0 May 14, 2014 07:53PM |
Registered: 11 years ago Posts: 18 |
Re: Arduino CNC Shield V3.0 May 14, 2014 08:14PM |
Registered: 14 years ago Posts: 1,352 |
Re: Arduino CNC Shield V3.0 May 14, 2014 08:35PM |
Registered: 11 years ago Posts: 18 |
Re: Arduino CNC Shield V3.0 May 14, 2014 09:33PM |
Registered: 14 years ago Posts: 1,352 |