Getting movement with Teacup + Gen7 1.2 — resolved August 15, 2011 11:37AM |
Registered: 13 years ago Posts: 37 |
Re: Getting movement with Teacup + Gen7 1.2 August 15, 2011 01:41PM |
Registered: 13 years ago Posts: 91 |
Re: Getting movement with Teacup + Gen7 1.2 August 18, 2011 07:57AM |
Registered: 13 years ago Posts: 37 |
#define X_MIN_PIN DIO7 #define Y_MIN_PIN DIO5 #define Z_MIN_PIN DIO1
#define X_MAX_PIN DIO6 #define Y_MAX_PIN DIO2 #define Z_MAX_PIN DIO0
home.c: In function 'home_x_positive': home.c:119: error: 'X_MAX' undeclared (first use in this function) home.c:119: error: (Each undeclared identifier is reported only once home.c:119: error: for each function it appears in.) home.c: In function 'home_y_positive': home.c:213: error: 'Y_MAX' undeclared (first use in this function) home.c: In function 'home_z_positive': home.c:308: error: 'Z_MAX' undeclared (first use in this function)
#define X_MIN_PIN DIO7 #define Y_MIN_PIN DIO5 #define Z_MIN_PIN DIO1
Re: Getting movement with Teacup + Gen7 1.2 August 18, 2011 09:18AM |
Registered: 13 years ago Posts: 37 |
#define X_STEP_PIN DIO19 #define X_DIR_PIN DIO18 #define X_MIN_PIN DIO7 #define X_MAX_PIN DIO6 //#define X_ENABLE_PIN xxxx //#define X_INVERT_DIR //#define X_INVERT_MIN //#define X_INVERT_MAX //#define X_INVERT_ENABLE #define Y_STEP_PIN DIO23 #define Y_DIR_PIN DIO22 #define Y_MIN_PIN DIO5 #define Y_MAX_PIN DIO2 //#define Y_ENABLE_PIN xxxx //#define Y_INVERT_DIR //#define Y_INVERT_MIN //#define Y_INVERT_MAX //#define Y_INVERT_ENABLE #define Z_STEP_PIN DIO26 #define Z_DIR_PIN DIO25 #define Z_MIN_PIN DIO1 #define Z_MAX_PIN DIO0 //#define Z_ENABLE_PIN xxxx //#define Z_INVERT_DIR //#define Z_INVERT_MIN //#define Z_INVERT_MAX //#define Z_INVERT_ENABLE
>>>M114 SENDING:M114 ok X:12.000,Y:12.000,Z:11.520,E:0.000,F:4000 >>>G0 X10 SENDING:G0 X10 >>>M114 SENDING:M114 ok X:10.000,Y:12.000,Z:11.520,E:0.000,F:4000
Re: Getting movement with Teacup + Gen7 1.2 August 18, 2011 02:59PM |
Registered: 14 years ago Posts: 7,616 |
Quote
Ok, I reverted to the default Teacup installation linked from the Gen7 1.2 page [github.com] as well as Traumflugs linked config.h from this page: [forums.reprap.org]
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: Getting movement with Teacup + Gen7 1.2 August 19, 2011 06:59AM |
Registered: 13 years ago Posts: 37 |
avrdude: stk500_2_ReceiveMessage(): timeoutand I get this regardless if I'm feeding power through the USB or Molex (with the proper jumper, of course) and the Polos in or out. Changed baud to 9600 since that's what was in the test, but still nothing. Is there something in the SetupTest.pde which could cause the ATMega to die?
In file included from temp.c:54: config.h:270: error: 'THERMISTOR_BED' undeclared here (not in a function)
DEFINE_TEMP_SENSOR(bed, TT_THERMISTOR, PINA2, THERMISTOR_BED)
Re: Getting movement with Teacup + Gen7 1.2 August 19, 2011 04:28PM |
Registered: 13 years ago Posts: 37 |
Re: Getting movement with Teacup + Gen7 1.2 August 20, 2011 03:51AM |
Registered: 14 years ago Posts: 7,616 |
Quote
In file included from temp.c:54:
config.h:270: error: 'THERMISTOR_BED' undeclared here (not in a function)
Quote
If as I you say I need to invert this behaviour, how do I set that?
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: Getting movement with Teacup + Gen7 1.2 August 20, 2011 12:05PM |
Registered: 13 years ago Posts: 37 |
Printer is now online >>>M114 SENDING:M114 ok X:0.000,Y:0.000,Z:0.000,E:0.000,F:50 >>>G1 X0.5 SENDING:G1 X0.5 >>>M114 SENDING:M114 ok X:0.500,Y:0.000,Z:0.000,E:0.000,F:50 >>>G0 Y0.5 SENDING:G0 Y0.5 >>>M114 SENDING:M114 ok X:0.500,Y:0.500,Z:0.000,E:0.000,F:4000
T:0.25 B:0.0 T:0.25 B:0.0 T:0.25 B:0.0 T:0.25 B:0.0 T:0.25 B:0.0
Re: Getting movement with Teacup + Gen7 1.2 August 21, 2011 01:41AM |
Registered: 14 years ago Posts: 7,616 |
Quote
when sending manual commands I get this: [...]
Quote
When measuring over PIN11 and PIN33 I have a steady 5V when sending the commands.
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: Getting movement with Teacup + Gen7 1.2 August 21, 2011 06:31AM |
Registered: 13 years ago Posts: 37 |
#define PS_ON_PIN DIO15 #define STEPPER_ENABLE_PIN DIO24 #define STEPPER_INVERT_ENABLEand using pronterface.py to send
G1 X50 F50Just as previously I get
start Printer is now online >>>G1 X50 F50 SENDING:G1 X50 F50 >>>M114 SENDING:M114 ok X:48.000,Y:0.000,Z:0.000,E:0.000,F:50with a constant 5V DC over PIN11 and PIN33.
#define PS_ON_PIN DIO15 #define STEPPER_ENABLE_PIN DIO24 //#define STEPPER_INVERT_ENABLEbut with the same result.
T:26.25 B:0.0 T:47.50 B:0.0 >>>M114 SENDING:M114 ok X:57.600,Y:0.000,Z:9.600,E:0.000,F:3000 T:61.0 B:0.0 T:71.25 B:0.0 T:74.0 B:0.0 T:74.25 B:0.0 T:74.25 B:0.0 T:74.75 B:0.0 T:75.0 B:0.0 T:75.25 B:0.0 T:75.75 B:0.0 T:76.25 B:0.0 T:77.50 B:0.0 T:79.50 B:0.0 T:84.50 B:0.0 T:96.25 B:0.0 T:109.0 B:0.0 T:120.75 B:0.0 T:132.25 B:0.0 T:143.75 B:0.0 >>>G1 X50 F50 SENDING:G1 X50 F50 //here the FAN LED lights up T:0.25 B:0.25 T:0.25 B:0.0 T:0.25 B:0.25 T:0.25 B:0.0 T:37.50 B:0.0 T:57.0 B:0.0 T:68.75 B:0.0 T:74.0 B:0.0 T:74.25 B:0.0 T:74.75 B:0.0 T:75.0 B:0.0 T:75.25 B:0.0 T:75.75 B:0.0 T:76.25 B:0.0 T:77.25 B:0.0 T:79.25 B:0.0 T:84.25 B:0.0 T:97.25 B:0.0 T:111.50 B:0.0 T:124.75 B:0.0This is very inconsistent, and I can't always replicate the resetting of the temperature. Just now I unplugged the USB cable and connected again:
start Printer is now online T:866.25 B:0.0 T:866.25 B:0.0 >>>G1 X50 F50 SENDING:G1 X50 F50 //Here the FAN LED lit up. It goes up to 12V for a while then gradually drops. T:0.25 B:0.0 T:0.25 B:0.25 T:0.25 B:0.25 T:0.25 B:0.25 T:0.25 B:0.25 T:0.25 B:0.0 T:0.25 B:0.25 T:0.25 B:0.0 T:0.25 B:0.25 T:0.25 B:0.25 T:0.25 B:0.25 T:0.25 B:0.25 T:0.25 B:0.0 T:0.25 B:0.25 T:0.25 B:0.25 T:0.25 B:0.25 T:0.25 B:0.25 T:0.25 B:0.0 T:0.25 B:0.25 T:0.25 B:0.0 T:25.25 B:0.0 T:46.0 B:0.0 T:60.25 B:0.0 T:70.25 B:0.0 T:74.0 B:0.0 T:74.25 B:0.0 T:74.50 B:0.0 T:74.75 B:0.0 T:75.0 B:0.0 T:75.50 B:0.0 T:76.0 B:0.0 T:76.25 B:0.0 T:77.25 B:0.0 T:79.0 B:0.0 T:83.0 B:0.0 T:93.25 B:0.0 T:106.0 B:0.0 T:118.0 B:0.0 T:129.25 B:0.0 T:139.75 B:0.0 T:154.50 B:0.0 T:171.75 B:0.0 T:193.0 B:0.0 T:220.0 B:0.0 T:255.50 B:0.0 T:309.75 B:0.0 T:586.50 B:0.0 T:866.25 B:0.0 T:866.25 B:0.0 T:866.25 B:0.0 T:866.25 B:0.0 T:866.25 B:0.0 T:866.25 B:0.0 T:866.25 B:0.0 T:866.25 B:0.0 T:866.25 B:0.0 T:866.25 B:0.0 T:866.25 B:0.0 T:866.25 B:0.0 T:866.25 B:0.0 T:866.25 B:0.0 T:866.25 B:0.0 >>>G1 X50 F50 SENDING:G1 X50 F50 T:866.25 B:0.0 T:866.25 B:0.0 T:866.25 B:0.0 >>>G1 X50 F50 SENDING:G1 X50 F50 T:866.25 B:0.0 T:866.25 B:0.0 T:866.25 B:0.0 >>>M114 SENDING:M114 ok X:48.000,Y:0.000,Z:0.000,E:0.000,F:50 T:866.25 B:0.0 T:866.25 B:0.0 T:866.25 B:0.0 T:866.25 B:0.0Is there perhaps something in Teacup which doesn't allow the ENABLE pin to drop to 0V unless a right temperature is reached?
Re: Getting movement with Teacup + Gen7 1.2 August 22, 2011 04:30AM |
Registered: 14 years ago Posts: 7,616 |
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: Getting movement with Teacup + Gen7 1.2 August 22, 2011 05:11AM |
Registered: 13 years ago Posts: 37 |
Re: Getting movement with Teacup + Gen7 1.2 August 23, 2011 03:39AM |
Registered: 14 years ago Posts: 7,616 |
Quote
Firmware uploads fine, and shortly therafter the H1 LED is blinking regularly.
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: Getting movement with Teacup + Gen7 1.2 August 23, 2011 03:45AM |
Registered: 13 years ago Posts: 37 |
Re: Getting movement with Teacup + Gen7 1.2 September 10, 2011 06:35AM |
Registered: 13 years ago Posts: 37 |
Re: Getting movement with Teacup + Gen7 1.2 September 11, 2011 10:46AM |
Registered: 14 years ago Posts: 7,616 |
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: Getting movement with Teacup + Gen7 1.2 September 13, 2011 06:39AM |
Registered: 13 years ago Posts: 37 |
Re: Getting movement with Teacup + Gen7 1.2 September 13, 2011 09:16AM |
Registered: 17 years ago Posts: 33 |
Re: Getting movement with Teacup + Gen7 1.2 September 13, 2011 03:52PM |
Registered: 14 years ago Posts: 7,616 |