Re: Project: Teacup Firmware August 29, 2014 04:52AM |
Registered: 14 years ago Posts: 7,616 |
Quote
KevinOConnor
What I've been thinking of trying out in an experimental firmware is
replacing the standard G1 gcode commands with timed stepping
sequences. That is, instead of sending the micro-controller a command
to move the head a number of millimeters at a specific velocity,
commands would be sent to pulse a given stepper pin starting at a
specific time (measured in clock ticks) and for a given duration
(measured in clock ticks) with a given time between pulses (measured
in clock ticks).
Quote
KevinOConnor
I think one could, in theory, do all the acceleration, lookahead, and
kinematics in the slicer.
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: Project: Teacup Firmware August 29, 2014 12:54PM |
Registered: 11 years ago Posts: 78 |
So what would you need a microcontroller for?Quote
KevinOConnor
What I've been thinking of trying out in an experimental firmware is
replacing the standard G1 gcode commands with timed stepping
sequences. That is, instead of sending the micro-controller a command
to move the head a number of millimeters at a specific velocity,
commands would be sent to pulse a given stepper pin starting at a
specific time (measured in clock ticks) and for a given duration
(measured in clock ticks) with a given time between pulses (measured
in clock ticks). ...
Full ack.Quote
Traumflug
Getting things faster IMHO means to get rid of the neccessity to split movements into tiny pieces and moving "real" curves instead. Like e.g. LinuxCNC does. You'd save most of these time consuming lookahead calculations. Far too complex for most RepRap heads, though :-)
Re: Project: Teacup Firmware August 29, 2014 01:08PM |
Registered: 15 years ago Posts: 107 |
Quote
Traumflug
Nice idea, but are you aware you have to achieve something like 40'000 steps in a single second? That's at least 100 times more than what you can send over a serial line.
Quote
Traumflug
Quote
KevinOConnor
I think one could, in theory, do all the acceleration, lookahead, and
kinematics in the slicer.
Yes, that's doable. Actually, original FiveD firmware did it this way with a simple trick: F doesn't command feedrate of the whole movement, but the feedrate to achieved at the end of the move, accelerating or decelerating along the wholedistance. This strategy is still described in the wiki: [reprap.org]
Quote
Traumflug
Getting things faster IMHO means to get rid of the neccessity to split movements into tiny pieces and moving "real" curves instead. Like e.g. LinuxCNC does. You'd save most of these time consuming lookahead calculations. Far too complex for most RepRap heads, though :-)
Re: Project: Teacup Firmware August 29, 2014 02:22PM |
Registered: 14 years ago Posts: 7,616 |
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: Project: Teacup Firmware August 30, 2014 09:07AM |
Registered: 14 years ago Posts: 7,616 |
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: Project: Teacup Firmware September 03, 2014 08:31PM |
Registered: 13 years ago Posts: 39 |
Re: Project: Teacup Firmware September 04, 2014 04:08AM |
Registered: 14 years ago Posts: 7,616 |
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Teacup supports CoreXY now October 11, 2014 08:16AM |
Registered: 14 years ago Posts: 7,616 |
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
SD card support! November 05, 2014 05:08PM |
Registered: 14 years ago Posts: 7,616 |
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: Teacup supports CoreXY now November 25, 2014 03:23PM |
Registered: 10 years ago Posts: 9 |
Re: Teacup supports CoreXY now November 25, 2014 05:18PM |
Registered: 14 years ago Posts: 7,616 |
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: Teacup supports CoreXY now November 25, 2014 05:52PM |
Registered: 10 years ago Posts: 9 |
Re: Teacup supports CoreXY now November 26, 2014 08:44AM |
Registered: 14 years ago Posts: 7,616 |
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: Teacup supports CoreXY now November 27, 2014 02:59AM |
Registered: 10 years ago Posts: 9 |
Re: Teacup supports CoreXY now November 28, 2014 02:58PM |
Registered: 10 years ago Posts: 9 |
Re: Teacup supports CoreXY now November 29, 2014 01:09PM |
Registered: 14 years ago Posts: 7,616 |
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: Project: Teacup Firmware January 18, 2015 11:27PM |
Registered: 12 years ago Posts: 1,320 |
Re: Project: Teacup Firmware January 19, 2015 07:45AM |
Registered: 14 years ago Posts: 7,616 |
Quote
jbernardis
1) There is no way to query for the current temperature targets. M105 returns the current temps, but no indication of what the targets are. I'm pretty sure Marlin returned the targets from this command ("ok T:xxx.xx/xxx.xx Bxxx.xx/xxx.xx")
Quote
jbernardis
2) There is no interacting with the printer during an M116 wait. Under Marlin while waiting with M109 or M190 you couldn't interact with the firmware, but at least it would periodically produce a temperature report (M105) so that you could have some idea of how much longer you'll need to wait.
Quote
jbernardis
3) The hot-end temperature zig-zags up and down around the target temperature. From 3 or 4 degrees above to 3 or 4 degrees below. It never zeros in on the target. This is probably just a matter of tuning my thermistor table; I just used the stock one to get started.
Quote
jbernardis
4) this last one is really puzzling me, but I suspect it's a problem with my host software rather than the firmware. If I issue a manual command - such as M105 - while the printer is printing. I occasionally get a checksum error on some command that's in the buffer. It doesn't happen every time, so it appears to be some kind of race condition. The interesting thing is that my host software sends an M105 every few seconds in order to update its display and I never get this issue with those commands.
Quote
jbernardis
I'd like to retain the SD Card functionality. I know there are a couple of branches where this is being worked on.
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: Project: Teacup Firmware January 19, 2015 10:09AM |
Registered: 12 years ago Posts: 1,320 |
I've already added the functionality on my system. I can include it in my branch (or a separate branch if you prefer) for consideration for the master/experimental branch. I'll put ifdef's around it so it's optional.Quote
Traumflug
So far nobody requested this and when this temp printing code was written, also printing target temperatures wasn't yet in fashion.
This printing code is in temp.c, temp_print(). Target temperatures are in temp_sensors_runtime, see temp_set() in the same file.
Thanks - I'll check it out.Quote
Traumflug
Code for such a regular report is already in clock.c, line 92/93, just commented out. I don't know what hosts currently expect, though.
Yeah - I figured it was just some tuning that needed to be done. Lower priority right now.Quote
Traumflug
I think it's a matter of PID values, which can be set by M130..M134 with EECONFIG enabled. There are quite some topic branches which try to enhance the algorithm, I'd be glad if this stuff could be sorted.
My host sends an entire command - be it a Gcode command from the printed file or an interactive command - as a unit. I have the ability in my host to turn on low level tracing. I will try that soon to see if it gives me any information.Quote
Traumflug
I'd guess your host doesn't send the M105 between two lines coming from the G-code file, but right when you send it.
I can give that a shot. My SD Card reader is a bit home-grown. It's not a standard SDRamps card, but it adheres to the same pin configuration so it should work. Ill check out that branch and give it a try.Quote
Traumflug
SD card code should be ready for at least reading the card (branch sdcard2). Have no such hardware, though, so I couldn't test. As soon as somebody can confirm it works I'll happily forward this to the experimental branch. Adding writing shouldn't be too much work, just the hardware layer in pff_diskio.c is missing.
Re: Project: Teacup Firmware January 19, 2015 10:27AM |
Registered: 14 years ago Posts: 7,616 |
Quote
jbernardis
I can include it in my branch
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: Project: Teacup Firmware January 24, 2015 02:04AM |
Registered: 12 years ago Posts: 1,320 |
Re: Project: Teacup Firmware January 24, 2015 03:25AM |
Registered: 11 years ago Posts: 14,686 |
Re: Project: Teacup Firmware January 24, 2015 05:47AM |
Registered: 14 years ago Posts: 7,616 |
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: Project: Teacup Firmware January 24, 2015 10:16AM |
Registered: 12 years ago Posts: 1,320 |
Re: Project: Teacup Firmware January 24, 2015 11:50PM |
Registered: 12 years ago Posts: 1,320 |
Re: Project: Teacup Firmware January 28, 2015 10:26AM |
Registered: 10 years ago Posts: 4 |
6- or 9-axis support January 28, 2015 11:02AM |
Registered: 14 years ago Posts: 7,616 |
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: 6- or 9-axis support January 30, 2015 05:43AM |
Registered: 10 years ago Posts: 4 |
Re: 6- or 9-axis support January 30, 2015 07:40AM |
Registered: 14 years ago Posts: 7,616 |
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Teensy 3.1 & Delta support February 07, 2015 05:47AM |
Registered: 14 years ago Posts: 7,616 |
Quote
Teacup is intriguing to me for a couple of different reasons. (1) It uses a different design philosophy that would probably give better performance on the Mega/Ramps platform and (2) I am a Teensy 3.1 hacker and followed Nikki.V's work porting Teacup to the Teensy closely. I would like to extend that excellent work.
Quote
I would like to add delta support to Teacup (if no one else is going to).
Quote
In a very simplistic sense, it seems that dda-split is the place to have the simultaneous ABC tower carriages moves inserted into the queue
Quote
Would it be better to have constant velocity for the ABC tower moves or constant velocity at the effector (Cartesian XYZ)? Marlin does it one way, Repetier does the other.
Generation 7 Electronics | Teacup Firmware | RepRap DIY |