Re: New experimental firmware: all kinematics in host November 01, 2017 02:24PM |
Registered: 7 years ago Posts: 270 |
Re: New experimental firmware: all kinematics in host November 01, 2017 04:02PM |
Registered: 14 years ago Posts: 107 |
Quote
newbob
This is quite interesting project. I've been reading the documentation and have a couple of questions: is GPIO state solely controlled by host? For example, when heater is on and controller disconnects from raspberrypi - will the heater keep on heating?
Similarly, if limit is triggered - is it up to the controller to stop processing stepper commands or it's up to the host?
Re: New experimental firmware: all kinematics in host November 03, 2017 06:28AM |
Registered: 6 years ago Posts: 8 |
Re: New experimental firmware: all kinematics in host November 03, 2017 10:58AM |
Registered: 14 years ago Posts: 107 |
Quote
lenne0815
Hey Kevin, first of all huge thanks for your amazing work ! Ill converse my small simple printer probably later today and will come back if i find anything noteworthy with that. Do you plan on implementing dual dual setups ? ( As in dual steppers / Dual endstops on multiple axes ) I got my big printer running with repetier but obviously it needs toolpath prediction aswell, just like any other cnc machine Thanks again, im really exited for klipper !
Re: New experimental firmware: all kinematics in host November 03, 2017 01:16PM |
Registered: 6 years ago Posts: 8 |
Re: New experimental firmware: all kinematics in host November 03, 2017 06:52PM |
Registered: 6 years ago Posts: 8 |
Re: New experimental firmware: all kinematics in host November 03, 2017 07:27PM |
Registered: 14 years ago Posts: 107 |
Quote
lenne0815
Ok, my small diy I3 is running Klipper.
It far exceeded my expectations, i know what a reasonable lookahead looks from Art Lebedevs implementation in Mach3 and i really didnt expect Klipper to match that on a 3D printer. It did. Needless to say right now im redialing in my settings at around 150mms whereas on Marlin prints would ring unbearably at just 75mms.
Quote
I recon Klipper to be the holy grail of 8 bit controller softwares.
Quote
Observations: While fiddling around with settings the bed got stuck on heating at one point, as soon as the ramps received power it switched the heatbed on, no warm or cold reboot could fix it, disconnecting pi not either. Reflashed and it works again.
Re: New experimental firmware: all kinematics in host November 03, 2017 08:06PM |
Registered: 6 years ago Posts: 8 |
Re: New experimental firmware: all kinematics in host November 04, 2017 11:38AM |
Registered: 14 years ago Posts: 107 |
Quote
lenne0815
Im still pondering how i could get my big printer to work, i could pull out 4 drivers from the rumba and bridge ena step dir on two sets and remove the additional endstops for auto squaring and could make hard stops at the opposing side to run them against by hand before powering on... Its worth it !
Quote
One more question, when editing the cfg are the new values respected without doing anything else ? ( Right now im sending a restart to the 2560 but i guess thats actually not doing anything )
Quote
And another one, is there an auto pid tune already ? If not what would you propose is the easiest option ? Just reflashing marlin, pid tune and use the values from there ?
Re: New experimental firmware: all kinematics in host November 04, 2017 11:54AM |
Registered: 6 years ago Posts: 8 |
Re: New experimental firmware: all kinematics in host November 04, 2017 01:24PM |
Registered: 14 years ago Posts: 107 |
Quote
lenne0815
Ok, then i did it right, i sent restart to the arduino via terminal every change, just wasnt sure if it does affect the print the as the kinematic calculations are done the pi so thats actually where the parameters are read ?
Quote
Thanks for implementing M303, i dont think its a big issue that its stored in the log, i recoup that time with the first 10% of the first print
Ive stumbled across the Github issue, watching it eagle eyed, maybe someone gets it done before i do the hardware mods
Is there are list somwhere for supported M Codes ? many i tried already which did work but a list would be great !
Re: New experimental firmware: all kinematics in host November 04, 2017 02:01PM |
Registered: 6 years ago Posts: 8 |
Re: New experimental firmware: all kinematics in host November 04, 2017 03:50PM |
Registered: 7 years ago Posts: 3 |
[heater_bed] heater_pin: ar8 sensor_type: EPCOS 100K B57560G104F sensor_pin: analog14 control: pid pid_Kp: 53.40 pid_Ki: 0.56 pid_Kd: 1271.58 min_temp: 0 max_temp: 120
cat /tmp/klippy.log |grep Autotune
Re: New experimental firmware: all kinematics in host November 04, 2017 04:00PM |
Registered: 6 years ago Posts: 8 |
Re: New experimental firmware: all kinematics in host November 05, 2017 03:09AM |
Registered: 6 years ago Posts: 8 |
Re: New experimental firmware: all kinematics in host November 14, 2017 05:28PM |
Registered: 7 years ago Posts: 270 |
Re: New experimental firmware: all kinematics in host November 22, 2017 04:29PM |
Registered: 10 years ago Posts: 20 |
Re: New experimental firmware: all kinematics in host November 22, 2017 06:17PM |
Registered: 14 years ago Posts: 107 |
Quote
Tomek
Does anyone recommend a particular platform for the MCU side of things?
I am interested in TMC2260 all around, so thought the Azteeg smoothieboard that can do that from Panucatt would be great. I have not confirmed yet whether Klipper supports that processor, of it there are better options. It seems according to devs "todo" [github.com] it is not an option yet. I may have overlooked it, but is there a list of supported MCUs so far? It seems due might be a good option as there are a few references to that. I can make my connectivity board for the due and add the TMC2660 drivers, but it might be alot more work.
Quote
For my project I'm trying to drop in place a klipper upgrade to a nice 3D printer, and am at the moment finding all the connectors so I can use stock wiring and what not [I have zero documentation on this printer sadly.] Hoping to choose the MCU board now so that in the same wire connector board I might be able to be smart about how I'm plugging in my MCU to avoid lots of jumper wires .
Based on what I've said so far, is the DUE the only relatively tested 32-bit platform for the MCU side of Klipper? It's OK if that is the case, just checking in. And does anyone recommend a DUE-type cape? The only one I'm familiar with is RAMPS32-bit, and i wasn't sure if that's recommended (love original ramps for what it offered but I overall didn't like the board and had one melt down on me couple years ago :p.)
Re: New experimental firmware: all kinematics in host November 23, 2017 10:57PM |
Registered: 10 years ago Posts: 20 |
Re: New experimental firmware: all kinematics in host November 27, 2017 11:02AM |
Registered: 10 years ago Posts: 20 |
Re: New experimental firmware: all kinematics in host December 10, 2017 11:16AM |
Registered: 10 years ago Posts: 20 |
stepper_event(struct timer *t) { struct stepper *s = container_of(t, struct stepper, time); if (CONFIG_NO_UNSTEP_DELAY) { // On slower mcus it is possible to simply step and unstep in // the same timer event. gpio_out_toggle(s->step_pin); uint16_t count = s->count - 1; if (likely(count)) { s->count = count; s->time.waketime += s->interval; unsigned char xx; ///////////// for (xx=0; xx<10; xx++) { asm volatile ("nop") ; } ///////////// gpio_out_toggle(s->step_pin); if (s->flags & SF_HAVE_ADD) s->interval += s->add; return SF_RESCHEDULE; } uint_fast8_t ret = stepper_load_next(s, 0); unsigned char xx; /////////////// for (xx=0; xx<10; xx++) { asm volatile ("nop") ; } /////////////// gpio_out_toggle(s->step_pin); return ret; }
Re: New experimental firmware: all kinematics in host December 10, 2017 01:03PM |
Registered: 14 years ago Posts: 107 |
Quote
pamalofeev
Hello, Kevin!
I really liked the klipper and I want to use it. And I had to solve one more problem, layers shift, you can see in the photo. I do not use stepper motors in my 3D printer, I use collector motors with a step / dir interface instead. You can read about my printer here, I hope GoogleTranslit will help you. It seems klipper did not give my drivers enough width for step-pulse, because here's such a dirty hack fixed the layer shift:
gpio_out_toggle(s->step_pin); if (s->flags & SF_HAVE_ADD) s->interval += s->add;to:
s->interval += s->add; gpio_out_toggle(s->step_pin);
Re: New experimental firmware: all kinematics in host December 10, 2017 02:05PM |
Registered: 10 years ago Posts: 20 |
No, I used other people's designs, the basis of which was this old project. Despite the fact that it is very old, it is made correctly and works well. I studied at on the specialty "electric drive" and can distinguish a good DC drive from a bad one.Quote
KevinOConnor
If I understand your article correctly, you've built your own motor driver (impressive!) that needs a longer step time.
-Kevin
Re: New experimental firmware: all kinematics in host December 11, 2017 01:24PM |
Registered: 10 years ago Posts: 20 |
Re: New experimental firmware: all kinematics in host December 17, 2017 07:09PM |
Registered: 11 years ago Posts: 10 |
Re: New experimental firmware: all kinematics in host December 18, 2017 10:02AM |
Registered: 10 years ago Posts: 20 |
Re: New experimental firmware: all kinematics in host December 18, 2017 03:20PM |
Registered: 6 years ago Posts: 5 |
Re: New experimental firmware: all kinematics in host December 18, 2017 05:18PM |
Registered: 14 years ago Posts: 107 |
Quote
geodave4
Does klipper write anything to the 3d printer firmware other than when a person issues:
make flash FLASH_DEVICE=/dev/ttyACM0
Since I have read that the eeproms have a limited number of re-writes to them, I was curious to what situations klipper writes the firmware to the 3d printer electronics. Since I have not read this anywhere, it is probably not a problem.
Re: New experimental firmware: all kinematics in host December 19, 2017 05:42AM |
Registered: 6 years ago Posts: 5 |
Re: New experimental firmware: all kinematics in host December 27, 2017 01:08AM |
Registered: 12 years ago Posts: 364 |