Re: Project: Teacup Firmware September 27, 2013 08:15PM |
Registered: 13 years ago Posts: 7,616 |
vx1 = 400 mm/min, vx2 = 420 mm/min ==> continue full speed vx1 = 50 mm/min, vx2 = 600 mm/min ==> too much jerk ==> slow down
|v1 - v2| < max_jerk
x * |v1 - v2| < max_jerk
max_jerk x = ----------- |v1 - v2| if x > 1: continue full speed if x < 1: v = v_max * x
max_speed_factor = 2 << 8; for (i = 0; i < AXIS_NUM; i++) { factor = (max_jerk(i) / abs(v1(i) - v2(i))) << 8 if (factor < max_speed_factor) max_speed_factor = factor; } if (max_speed_factor >= (1 << 8)) f_corner = f_max; else f_corner = (f_max * max_speed_factor) >> 8
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: Project: Teacup Firmware October 19, 2013 08:49AM |
Registered: 13 years ago Posts: 7,616 |
git rename -m Gen7 experimental
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: Project: Teacup Firmware October 21, 2013 06:15AM |
Registered: 13 years ago Posts: 7,616 |
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: Project: Teacup Firmware October 22, 2013 09:50AM |
Registered: 11 years ago Posts: 44 |
git branch -m Gen7 experimental
Re: Project: Teacup Firmware October 22, 2013 10:34AM |
Registered: 11 years ago Posts: 44 |
Re: Project: Teacup Firmware October 23, 2013 05:58AM |
Registered: 13 years ago Posts: 7,616 |
Quote
Non-slow homing works, but is brutal since it accelerates into the endstops and then begins decelerating, far too late. Yikes! How is "slow" homing not the only acceptable version of homing?
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: Project: Teacup Firmware October 24, 2013 05:59AM |
Registered: 10 years ago Posts: 72 |
Re: Project: Teacup Firmware October 25, 2013 06:16AM |
Registered: 13 years ago Posts: 7,616 |
Quote
Can i use Teacup on a atmega328 to drive a uln2003 darlington array and a unipolar stepper with normal step signals and not dir/step/enable?
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: Project: Teacup Firmware October 28, 2013 10:16AM |
Registered: 10 years ago Posts: 72 |
Re: Project: Teacup Firmware October 29, 2013 01:27PM |
Registered: 13 years ago Posts: 7,616 |
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: Project: Teacup Firmware November 03, 2013 02:26PM |
Registered: 11 years ago Posts: 40 |
Re: Project: Teacup Firmware November 04, 2013 04:02AM |
Registered: 13 years ago Posts: 7,616 |
Quote
I am wanting to use the z output to drive a second motor on the y axis.
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: Project: Teacup Firmware November 06, 2013 04:13PM |
Registered: 11 years ago Posts: 40 |
Quote
Traumflug
Quote
I am wanting to use the z output to drive a second motor on the y axis.
Likely you simply want to put both steppers onto the same stepper driver, like all the Prusa-Mendel printers do for the Z axis.
Another way to achieve this is to rewire the board and to connect both stepper driver signals to the same ATmega pin.
A software solution should be to add a z_step() to all occurrences of y_step() in dda.c. Similar for y_enable()/z_enable() if Gen6 happens to have separate enable signals for each stepper. That's not 100% accurate, but close enough.
Re: Project: Teacup Firmware November 06, 2013 06:36PM |
Registered: 11 years ago Posts: 44 |
Re: Project: Teacup Firmware November 10, 2013 07:32AM |
Registered: 11 years ago Posts: 40 |
Quote
Traumflug
Quote
I am wanting to use the z output to drive a second motor on the y axis.
Likely you simply want to put both steppers onto the same stepper driver, like all the Prusa-Mendel printers do for the Z axis.
Another way to achieve this is to rewire the board and to connect both stepper driver signals to the same ATmega pin.
A software solution should be to add a z_step() to all occurrences of y_step() in dda.c. Similar for y_enable()/z_enable() if Gen6 happens to have separate enable signals for each stepper. That's not 100% accurate, but close enough.
Re: Project: Teacup Firmware November 10, 2013 11:41AM |
Registered: 11 years ago Posts: 40 |
Re: Project: Teacup Firmware November 10, 2013 12:14PM |
Registered: 11 years ago Posts: 40 |
Re: Project: Teacup Firmware November 11, 2013 06:40AM |
Registered: 13 years ago Posts: 7,616 |
Quote
it will only go one way
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: Project: Teacup Firmware November 11, 2013 01:47PM |
Registered: 11 years ago Posts: 40 |
Quote
Traumflug
Quote
it will only go one way
You have to do the same for the Dir pin. {x|y|z|e}_direction() in dda_start().
Re: Project: Teacup Firmware November 12, 2013 08:31AM |
Registered: 13 years ago Posts: 7,616 |
Quote
z_direction(dda->z_direction);
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: Project: Teacup Firmware November 20, 2013 05:44PM |
Registered: 13 years ago Posts: 7,616 |
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: Project: Teacup Firmware November 24, 2013 08:13PM |
Registered: 10 years ago Posts: 290 |
Re: Project: Teacup Firmware November 25, 2013 03:48AM |
Registered: 13 years ago Posts: 7,616 |
Quote
WARNING: file cmd/gdbserver.cpp: line 961: Invalid memory address: 0x900000
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: Project: Teacup Firmware November 27, 2013 05:54AM |
Registered: 13 years ago Posts: 7,616 |
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: Project: Teacup Firmware November 28, 2013 08:31PM |
Registered: 9 years ago Posts: 2 |
Re: Project: Teacup Firmware November 29, 2013 05:22AM |
Registered: 13 years ago Posts: 7,616 |
Quote
How can I go about configuring the firmware to work with the above mentioned XY setup?
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: Project: Teacup Firmware December 06, 2013 07:12PM |
Registered: 13 years ago Posts: 7,616 |
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: Project: Teacup Firmware December 12, 2013 10:43AM |
Registered: 10 years ago Posts: 290 |
Re: Project: Teacup Firmware December 12, 2013 10:56AM |
Registered: 10 years ago Posts: 290 |
Re: Project: Teacup Firmware December 12, 2013 12:20PM |
Registered: 11 years ago Posts: 44 |
...Quote
zungmann
When compiling the simulation on my mac book, the compiler complain about this kind of line: TARGET startpoint __attribute__ ((__section__ (".bss")))
It says that it needs comma separated, so then I change this line and others similar to something:
Quote
zungmann
Now the simulator is working fine.
Quote
zungmann
Last one I found is that the simulator seems to work with config.default.h config. When I used config for gen7 1.4, I just get flat line. I have not seen further … so not sure which one to change.