Re: Project: Teacup Firmware December 13, 2013 02:36AM |
Registered: 11 years ago Posts: 290 |
Quote
phord
Thanks for the patch. I think I have embodied all your fixes in this patch:
[github.com]
Also in the mac-simulator branch.
Can you try it and let me know if it works ok for you?
I just find the problem now. It is not config file related but instead of the undef of axis/movement direction i.e.: X_INVERT_DIR, Y_INVERT_DIR etc. I uncomment those lines to suite my machine.Quote
phord
The PIN settings in the configs should be ignored for the simulator (mostly) but I have not tested them all thoroughly. Can you explain a little more? I do not get a just a flat line when I tried it here just now.
Re: Project: Teacup Firmware December 13, 2013 08:47AM |
Registered: 14 years ago Posts: 7,616 |
Quote
Attached the plot
Quote
...__attribute__ ((hot));
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: Project: Teacup Firmware December 13, 2013 11:25AM |
Registered: 12 years ago Posts: 44 |
Re: Project: Teacup Firmware December 13, 2013 05:01PM |
Registered: 12 years ago Posts: 44 |
Re: Project: Teacup Firmware December 14, 2013 08:16AM |
Registered: 13 years ago Posts: 1,236 |
Quote
phord
Quote
Traumflug
Quote
Attached the plot
Oh, a speed bump at about second 128 in the first plot. On a real printer this likely means step losses. Shouldn't happen.
Yes, I was looking at that, too. The startup velocity at t=0 looks wacky, too.
Re: Project: Teacup Firmware December 15, 2013 07:25AM |
Registered: 14 years ago Posts: 7,616 |
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: Project: Teacup Firmware December 15, 2013 11:34AM |
Registered: 11 years ago Posts: 290 |
Quote
Traumflug
The question is, is this the code from the master or experimental branch. I'm not sure wether all fixes for a smooth lookahead ride are on the master branch, because there's a fundamental flaw in jerk calculation. On experimental it's fixed. Experimental will go to master as soon as it's reasonably sure it doesn't introduce new flaws.
Re: Project: Teacup Firmware December 16, 2013 04:34AM |
Registered: 11 years ago Posts: 290 |
Re: Project: Teacup Firmware December 16, 2013 08:17AM |
Registered: 14 years ago Posts: 7,616 |
Quote
I guess this because the waifor_temp is not initialized when created so it takes abritary value other than zero (?). I then add this line in the dda_queue():
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: Project: Teacup Firmware December 25, 2013 12:48PM |
Registered: 10 years ago Posts: 2 |
Quote
zungmann
Another one though, on the real running firmware I am stuck with M116 as could never get the 'Temp achieved' after heating the extruder to a target temp and wait for it. I configure Teacup with both using extruder and heat bed. And apparently M116 expects both extruder and bed temp to be set to return 'Temp achieved' whereas I just only want to heat the extruder and leave the bed cool. Is this on purpose that we have to set both temp if configured to use both?
Re: Project: Teacup Firmware December 26, 2013 05:39AM |
Registered: 11 years ago Posts: 290 |
Quote
TOBE
Quote
zungmann
Another one though, on the real running firmware I am stuck with M116 as could never get the 'Temp achieved' after heating the extruder to a target temp and wait for it. I configure Teacup with both using extruder and heat bed. And apparently M116 expects both extruder and bed temp to be set to return 'Temp achieved' whereas I just only want to heat the extruder and leave the bed cool. Is this on purpose that we have to set both temp if configured to use both?
Hi there.
I´m wondering if there is a solution for the above mentioned problem.
I´ve build my first printer and he´s working very well but he stucks very often at the M116 command.
Is the firmware expecting that the target temperature is reached exactly or is there a tolerance included?
Thanks for your help.
Re: Project: Teacup Firmware December 27, 2013 03:29AM |
Registered: 14 years ago Posts: 7,616 |
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: Project: Teacup Firmware December 27, 2013 11:39PM |
Registered: 11 years ago Posts: 290 |
Re: Project: Teacup Firmware December 28, 2013 04:54AM |
Registered: 14 years ago Posts: 7,616 |
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: Project: Teacup Firmware December 28, 2013 02:21PM |
Registered: 10 years ago Posts: 2 |
Re: Project: Teacup Firmware January 22, 2014 01:38AM |
Registered: 12 years ago Posts: 258 |
Re: Project: Teacup Firmware February 04, 2014 11:48AM |
Registered: 12 years ago Posts: 258 |
Quote
DaveX
Are these the units for the Teacup PID parameters?
P: counts/(C/4)*PID_SCALE
I: counts/((C/4)*(s*4)) *PID_SCALE = counts/(C*s)*PID_SCALE
D: counts/((C/4)/(TH_COUNT*s/4)) * PID_SCALE = counts/(C/(s*TH_COUNT))*PID_SCALE or counts/(C/8s)*PID_SCALE
I Limit: C/4*s*4 = C*s
The default parameters are set around [github.com] while the PID_SCALE is 1024L and TH_COUNT is 8 in config.h
The s*4 factor is due to the 250 ms set by [github.com]
The C/4 unit is Teacup's 1/4 degree temperature measurement.
With this, Teacup's default PID of (8124, 512, 24576) would be a PID of (32,0.5,3) in a degree-second units interpretation.
Re: Project: Teacup Firmware May 25, 2014 10:00AM |
Registered: 14 years ago Posts: 7,616 |
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: Project: Teacup Firmware May 25, 2014 10:09AM |
Registered: 14 years ago Posts: 7,616 |
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: Project: Teacup Firmware May 30, 2014 10:05AM |
Registered: 14 years ago Posts: 7,616 |
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: Project: Teacup Firmware June 15, 2014 08:28PM |
Registered: 14 years ago Posts: 7,616 |
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
CoreXY, Delta, WhatTheFun? July 01, 2014 08:40AM |
Registered: 14 years ago Posts: 7,616 |
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: CoreXY, Delta, WhatTheFun? July 01, 2014 09:23AM |
Registered: 11 years ago Posts: 72 |
Teacup and brushless motors. July 10, 2014 06:25PM |
Registered: 14 years ago Posts: 7,616 |
Quote
I´m using Gen7 1.5 board with Teacup fw and i would like implement some code to control brushless motor. I tested this code with Arduino Uno and it is working very well. The problem is that when I put ino file in to Teacup folder and try to compile I get this error:
autoSpindleDriver.ino: In function 'void setup()':
autoSpindleDriver:29: error: 'delay' was not declared in this scope [...]
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: Teacup and brushless motors. July 11, 2014 10:29AM |
Registered: 14 years ago Posts: 7,616 |
// Pin Setup: WRITE(pin, 0); SET_OUTPUT(pin); // For each pulse: ATOMIC_START WRITE(pin, 1); delay_us(delay_in_microseconds); WRITE(pin, 0); ATOMIC_END
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: Project: Teacup Firmware July 11, 2014 06:30PM |
Registered: 11 years ago Posts: 1,381 |
Re: Teacup and brushless motors. July 11, 2014 06:30PM |
Registered: 10 years ago Posts: 4 |
Re: Teacup and brushless motors. July 11, 2014 06:39PM |
Registered: 14 years ago Posts: 7,616 |
Quote
dronecz
Is this possible with your board? Could you please discribe how can I set it up?
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: Teacup and brushless motors. July 11, 2014 06:50PM |
Registered: 10 years ago Posts: 4 |