Re: New experimental firmware: all kinematics in host June 07, 2017 10:44PM |
Registered: 7 years ago Posts: 15 |
Re: New experimental firmware: all kinematics in host June 08, 2017 11:25AM |
Registered: 14 years ago Posts: 107 |
Quote
kdodman
I just flashed to the latest marlin and end stops are working, other stuff isnt at the moment tho lol
sudo service klipper stop make flash FLASH_DEVICE=/dev/ttyACM0 sudo service klipper start
Re: New experimental firmware: all kinematics in host June 08, 2017 03:18PM |
Registered: 7 years ago Posts: 15 |
pi@octopi:~/klipper $ sudo service klipper stop pi@octopi:~/klipper $ make flash FLASH_DEVICE=/dev/ttyACM0 Build Kconfig config file Creating symbolic link out/board Compiling out/src/sched.o Compiling out/src/command.o Compiling out/src/stepper.o Compiling out/src/basecmd.o Compiling out/src/debugcmds.o Compiling out/src/gpiocmds.o Compiling out/src/endstop.o Compiling out/src/adccmds.o Compiling out/src/spicmds.o Compiling out/src/pwmcmds.o Compiling out/src/avr/main.o Compiling out/src/avr/timer.o Compiling out/src/avr/gpio.o Compiling out/src/avr/watchdog.o Compiling out/src/avr/serial.o Building out/compile_time_request.o Version: v0.4.0-32-g3af87e1-20170608_191807-octopi Linking out/klipper.elf Creating hex file out/klipper.elf.hex Flashing /dev/ttyACM0 via avrdude avrdude: AVR device initialized and ready to accept instructions Reading | ################################################## | 100% 0.01s avrdude: Device signature = 0x1e9801 avrdude: reading input file "out/klipper.elf.hex" avrdude: writing flash (13838 bytes): Writing | ################################################## | 100% 2.48s avrdude: 13838 bytes of flash written avrdude: verifying flash memory against out/klipper.elf.hex: avrdude: load data flash data from input file out/klipper.elf.hex: avrdude: input file out/klipper.elf.hex contains 13838 bytes avrdude: reading on-chip flash data: Reading | ################################################## | 100% 1.80s avrdude: verifying ... avrdude: 13838 bytes of flash verified avrdude: safemode: Fuses OK (E:00, H:00, L:00) avrdude done. Thank you. pi@octopi:~/klipper $ sudo service klipper start
Re: New experimental firmware: all kinematics in host June 09, 2017 10:54AM |
Registered: 14 years ago Posts: 107 |
Quote
kdodman
pi@octopi:~/klipper $ sudo service klipper stop pi@octopi:~/klipper $ make flash FLASH_DEVICE=/dev/ttyACM0 ...
sudo service klipper stop ~/klippy-env/bin/python ~/klipper/klippy/console.py /dev/ttyACM0 250000and then fully disconnect the endstop pin, attach the multimeter, and issue the low-level commands:
PINS arduino set_digital_out pin=ar2 value=1Verify the voltage is at 5V on the pin and then:
set_digital_out pin=ar2 value=0And verify the voltage is at 0V on the pin.
PINS arduino allocate_oids count=1 config_end_stop oid=0 pin=ar2 stepper_count=1 pull_up=1And then verify the pin goes from 0V to 5V once the config_end_stop command is issued.
end_stop_query oid=0should report a value of 1 when nothing is attached to the pin and a value of 0 when the pin is grounded.
Re: New experimental firmware: all kinematics in host June 09, 2017 10:22PM |
Registered: 7 years ago Posts: 15 |
Re: New experimental firmware: all kinematics in host June 10, 2017 02:47AM |
Registered: 7 years ago Posts: 15 |
Re: New experimental firmware: all kinematics in host June 10, 2017 08:17AM |
Registered: 14 years ago Posts: 107 |
Quote
kdodman
Got a couple successfull prints, however, I'm getting this error now "Firmware shutdown: Rescheduled timer in the past"
The only thing I changed was to dial in my extruder by setting step_distance: .00091666
EDIT: Looks like the code cant handle an extruder at 1/32, I set it to 0.0018 (for 1/16) and it works ok
Re: New experimental firmware: all kinematics in host June 10, 2017 05:27PM |
Registered: 7 years ago Posts: 8 |
Re: New experimental firmware: all kinematics in host June 12, 2017 03:46PM |
Registered: 7 years ago Posts: 8 |
Re: New experimental firmware: all kinematics in host June 12, 2017 03:56PM |
Registered: 14 years ago Posts: 107 |
Quote
mdm63
Well got my first dual extruder prints today. I have still some calibrating, setting fiddling to do, but the firmware seems to work good. My temperatures are all over the place tough and the printer stops quite often to wait for the printhead to get to the temperature. At least that's what I think is happening. I suspect that my temperature pid values are crap. I have to try tuning them. I have a suspicion that there is no autotune available?
I need to finish my coding for my 3D scanner and I then may have some time to take a look at the klipper code.
Re: New experimental firmware: all kinematics in host June 16, 2017 11:06AM |
Registered: 7 years ago Posts: 15 |
Re: New experimental firmware: all kinematics in host June 21, 2017 09:07AM |
Registered: 7 years ago Posts: 8 |
self.respond("Starting PID_TUNE of heater E%i for %iC..." % (heater_index, temp))to the cmd_PID_TUNE(). The behaviour is not effected by my modifications. It just sits there doing nothing with or without them.
Quote
Terminal
Send: PID_TUNE E1 S200
Recv: Starting PID_TUNE of heater E1 for 200C...
Recv: Tuning...
Recv: T0:23.2 /0.0 T1:22.3 /0.0 B:22.9 /0.0
Recv: T0:23.2 /0.0 T1:22.6 /0.0 B:22.5 /0.0
Recv: T0:23.1 /0.0 T1:22.4 /0.0 B:22.6 /0.0
Recv: T0:23.0 /0.0 T1:22.6 /0.0 B:22.5 /0.0
Re: New experimental firmware: all kinematics in host June 22, 2017 12:32PM |
Registered: 14 years ago Posts: 107 |
Quote
mdm63
I am having issues with the PID tuning. If I give the command PID_TUNE E0 S200 or PID_TUNE E1 S200, it just sits there printing temperatures, but does not heat the hot ends.
Re: New experimental firmware: all kinematics in host July 01, 2017 07:17PM |
Registered: 7 years ago Posts: 8 |
Re: New experimental firmware: all kinematics in host July 02, 2017 03:46PM |
Registered: 14 years ago Posts: 107 |
Quote
mdm63
In mean time I decided to take a whack at the "user friendliness" of the PID_TUNE. I was thinking just using ConfigParser.set() to write the values to the printer.cfg. Would it be preferred that the software auto restarts (or just a reload of printer.cfg?) to utilize the new pid values or should we prompt user to do a manual restart?
Re: New experimental firmware: all kinematics in host July 02, 2017 03:54PM |
Registered: 11 years ago Posts: 126 |
Quote
KevinOConnor
Quote
mdm63
In mean time I decided to take a whack at the "user friendliness" of the PID_TUNE. I was thinking just using ConfigParser.set() to write the values to the printer.cfg. Would it be preferred that the software auto restarts (or just a reload of printer.cfg?) to utilize the new pid values or should we prompt user to do a manual restart?
Unfortunately, writing printer.cfg using the ConfigParser stuff results in all of the user's config file comments being eliminated. I think that would be more surprising to a user then requiring them to edit their config file and restart.
-Kevin
Re: New experimental firmware: all kinematics in host July 02, 2017 09:08PM |
Registered: 7 years ago Posts: 8 |
Quote
KevinOConnor
Quote
mdm63
In mean time I decided to take a whack at the "user friendliness" of the PID_TUNE. I was thinking just using ConfigParser.set() to write the values to the printer.cfg. Would it be preferred that the software auto restarts (or just a reload of printer.cfg?) to utilize the new pid values or should we prompt user to do a manual restart?
Unfortunately, writing printer.cfg using the ConfigParser stuff results in all of the user's config file comments being eliminated. I think that would be more surprising to a user then requiring them to edit their config file and restart.
-Kevin
Re: New experimental firmware: all kinematics in host July 02, 2017 09:41PM |
Registered: 11 years ago Posts: 126 |
Re: New experimental firmware: all kinematics in host July 05, 2017 11:14AM |
Registered: 14 years ago Posts: 107 |
Quote
mdm63
What are your thoughts of making Klipper a plug-in for Octoprint in some point? I have no idea what this would require exactly, but how hard can it be? IMHO the integration would improve the user friendlessness and make it more seamless experience over all.
Klipper on Beaglebone PRU July 05, 2017 02:45PM |
Registered: 14 years ago Posts: 107 |
Re: New experimental firmware: all kinematics in host July 05, 2017 06:16PM |
Registered: 7 years ago Posts: 7 |
Re: New experimental firmware: all kinematics in host July 05, 2017 09:44PM |
Registered: 14 years ago Posts: 107 |
Quote
crow
I hope to try Install today on the BBB/Replicape.
Re: New experimental firmware: all kinematics in host July 06, 2017 09:41AM |
Registered: 7 years ago Posts: 7 |
Re: New experimental firmware: all kinematics in host July 06, 2017 09:10PM |
Registered: 7 years ago Posts: 7 |
Re: New experimental firmware: all kinematics in host July 12, 2017 08:46AM |
Registered: 7 years ago Posts: 8 |
Re: New experimental firmware: all kinematics in host July 12, 2017 09:33AM |
Registered: 11 years ago Posts: 126 |
Re: New experimental firmware: all kinematics in host July 13, 2017 06:43PM |
Registered: 7 years ago Posts: 7 |
Quote
mdm63
Hi!
I had quick look at Octoprint plugin tutorial, so how hard can it be? I will take a crack at it, as it seems to me that plugin would be best option to make configuring klipper user friendly. I am simply thinking a tab in octoprint settings menu to setup the printer.cfg with some simple fields and explanations/help texts to go with them. I have finally some free time next week, so I can commit my self to this fully.
The Beaglebone support sounds very interesting, maybe now I can convince myself to purchase one. Is there any ready made middle HW to connect Beaglebone to the stepper motors etc.?
Re: New experimental firmware: all kinematics in host July 18, 2017 01:40PM |
Registered: 7 years ago Posts: 15 |
Re: New experimental firmware: all kinematics in host July 18, 2017 02:58PM |
Registered: 14 years ago Posts: 107 |
Quote
kdodman
Been loving Klipper, however on occasion, I'm getting a firmware crash with "no next step" Seems to happen alot when printing rafts from Simplify3d. Seems to always happen in the first layer and hotend temp reading drops to 0. Firmware restart brings it back to life, but on trying again fails exact same spot.
I'm sure its an issue with the slicer gcode, but not knowing what "no next step" means I cant really diagnose the issue very well.
Re: New experimental firmware: all kinematics in host July 24, 2017 07:28AM |
Registered: 7 years ago Posts: 8 |