Commit Graph

113 Commits

Author SHA1 Message Date
David Ramiro 16d6d37096
Disable TFT debug 2019-02-17 19:57:07 +01:00
David Ramiro 5fbc1b6035
Tweak pause & filament runout
- Check for PausedByFilamentChange flag on pause and resume
- Move stop movements from StateHandler() to StopPrint()
- Retract 1mm on pause (2mm on runout) without feed on resume, preventing ooze
- Fix special menu margin on some buttons
2019-02-16 18:41:22 +01:00
David Ramiro 76b873baee
Add M600 and M108 routines to display code 2019-02-15 22:58:42 +01:00
David Ramiro 1fe1842a75
Rework filament runout, pause and stop
Editing display pausing/stopping and using nozzle parking for filament runout
2019-02-15 20:26:54 +01:00
David Ramiro bfe39a342d
Fix buffer issue with S3D USB printing 2019-02-11 22:53:09 +01:00
David Ramiro 28e86b95ed
Adjust temperature limits and margins
Lowering the safety margin of MAXTEMP to 10°C and raising MAXTEMP to 285/135.

Resulting in a limit of 275°C for the hotend and 125°C for the heatbed.

Referencing #23
2019-02-11 14:16:30 +01:00
David Ramiro bb06621c6c
Tweak feedrate, jerk and acceleration 2019-02-08 16:30:41 +01:00
David Ramiro f01026e748
Tweak minimum segment time
Improve USB printing by slowing down on certain situations. This prevents the buffer from running empty and removes the need to wait for new serial commands.
2019-02-08 16:28:02 +01:00
David Ramiro 06424642ba
Merge branch 'm600' 2019-02-06 19:33:25 +01:00
David Ramiro 9281686c49
Tweak M600 filament change
Adjust load and unload distances to suit the bowden tube and append instructions
2019-02-06 18:10:39 +01:00
David Ramiro 01e152b456
Bugfix
- Buffer flush added to the the end of M190 loop
- Inverted position polling when canceling print via display
2019-02-06 12:32:58 +01:00
David Ramiro 42f52d34b4
Flush serial buffer after heating
Some hosts like Pronterface use continuous M105 commands to poll temperature, this causes a software halt when the heating via M109 or M190 is finished. Flushing the rx buffer fixes this.

As reported in #15, thanks to @rug156 for the feedback!
2019-02-06 11:42:24 +01:00
David Ramiro 574b2f8aed
Enable busy messages on M109/M190 2019-02-06 11:07:31 +01:00
David Ramiro 5f7a252267
Enable filament change feature
Adding support for headless M600/M108 filament change

Addressing #15
2019-02-05 15:24:00 +01:00
David Ramiro ae98ec4bae
Merge branch 'dev' 2019-02-02 20:23:12 +01:00
David Ramiro a40267c4a0
Change acceleration 2019-02-02 20:20:30 +01:00
David Ramiro f8a7e2d0d6
Append building instructions
Resolve #13
2019-01-31 21:32:01 +01:00
David Ramiro c5cc8b2171
Disabling S-Curve-Acceleration
Trying to mitigate Y axis layer shifts on certain machines
2019-01-30 17:40:07 +01:00
David Ramiro f01ee75004
Merge upstream changes
from https://github.com/MarlinFirmware/Marlin/tree/bugfix-1.1.x
2019-01-28 23:30:14 +01:00
David Ramiro b3af9708e9
Tweak print cancelling behaviour
Fix movement on certain positions of the Z axis
2019-01-24 16:50:34 +01:00
David Ramiro ad683fdedc
Beautify code
Fix indentation
2019-01-24 16:45:35 +01:00
David Ramiro 8aa4ed6945
Update readme
Mention PWM-fan release and update extruder calibration instructions
2019-01-22 19:48:21 +01:00
David Ramiro c6c4bec8e0
Revert M420 state after G28
As a possible fix for the bug with Cura's end Gcode as described in 
issue #7, I changed the leveling state to be disabled after homing since 
Cura uses X homing in their end Gcode.
2019-01-21 23:57:12 +01:00
David Ramiro c32d1b4a80
Move 5015 changes to pwm-fan branch
Reverting software PWM and moving it to https://github.com/davidramiro/Marlin-AI3M/tree/pwm-fan
2019-01-17 21:15:29 +01:00
David Ramiro 7cd658e10f
Fix 5015 fan issue
Addressing issue #3
2019-01-16 21:18:29 +01:00
David Ramiro de70c97f4a
Revert bed sizing test values
Reverting some minor changes to bed size. Those were not meant for the main branch, just for testing.
2019-01-10 18:52:14 +01:00
David Ramiro 4dd8c5df0d
Enhance print cancelling behaviour 2019-01-10 12:52:12 +01:00
David Ramiro 7c05040274
Move up nozzle after aborting
Raise Z for up to 5 cm (depending on current height) after aborting a print via display.

Referencing issue #9.
2019-01-07 14:07:20 +01:00
David Ramiro 00ab4d68c3
Move releases 2019-01-06 01:20:52 +01:00
David Ramiro 3c65df1a97
Enable printcounter
Log printing statistics, use M78 to use this
2019-01-04 15:24:01 +01:00
David Ramiro b024c6d1a2
Merge branch 'endstop-noise-testing' 2019-01-04 15:22:06 +01:00
David Ramiro d0831e79c6
Adjust bed size
Thanks to Dominic for the feedback.
2019-01-04 15:21:06 +01:00
David Ramiro dca0eb752a
Mitigate false endstop triggering
While adding ENDSTOP_NOISE_FILTER, I try to reduce the impact on accuracy as much as possible by reducing the endstop_poll_count to 2.

Possible fix for #8.

Thanks to @notching, @mensikv and @md66pt for the valuable feedback!
2019-01-04 01:12:46 +01:00
David Ramiro 5dface64e1
Revert endstop toggle 2019-01-02 19:51:40 +01:00
David Ramiro f877f1201f
Fix home issue
Possible fix for #7 and #8
2019-01-02 18:30:50 +01:00
David Ramiro 1a8f4e8b11
Update compiled binaries 2018-12-31 20:45:25 +01:00
David Ramiro d8733e1bed
Adjust min & max temperatures 2018-12-31 20:38:15 +01:00
David Ramiro b959252220
Fix layer shifts on TMC2208
Thanks to feedback from @DerDominik I was made aware that Anycubic's default acceleration values in their source code are different from the ones they use in their compiled firmwares. Seems like insufficient torque on the Y-axis caused step loss on TMC2208 for that reason.

Co-Authored-By: DerDominik <derdominik@users.noreply.github.com>
2018-12-27 03:28:16 +01:00
David Ramiro fd3be9aca4
Fix special menu bug
Fixed typo on the Z movement and edited M502 menu text
2018-12-25 15:00:44 +01:00
David Ramiro c5ae6e872f
Adjust PID tune timeouts and thermal watchdog
- Updated readme
- Adjusted WATCH_TEMP_PERIOD to be more tolerant
- Raised PID tuning timeout
- Adjusted default PID tuning commands
- Changed hex file naming
2018-12-24 14:26:06 +01:00
David Ramiro 5e9dfe5038
Tweak PID & G26
Thanks to some great feedback from @RolandRosenfeld I did some small tweaks:

- Adjusted auto PID tune parameters
- Replaced manufacturer PID values
- Minor changes to the readme
- Raised retraction on G26 Mesh Test
- Merged latest bugfix from derhopp
- Added latest hex files

Co-Authored-By: Roland Rosenfeld <roland@spinnaker.de>
2018-12-17 20:16:57 +01:00
David Ramiro e9dd41af89
Update G26 defaults 2018-12-13 10:14:45 +01:00
David Ramiro 7f311c086e
Edit default values
Getting closer to the stock settings, I edited the hotend PID and extruder step values.
2018-12-13 10:03:25 +01:00
David Ramiro 63c5ab6af1
Update precompiled hex 2018-12-02 15:22:46 +01:00
David Ramiro 731e8b81bf
Enable MMBL after homing
Making M420 S1 on the slicer start code redundant by restoring mesh bed leveling values after homing
2018-12-02 15:00:10 +01:00
David Ramiro a3c7d4f3f1
Tweak bed size
Slightly enlarging incorrect bed size from the manufacturer configuration
2018-12-02 14:57:50 +01:00
David Ramiro 8a6a05e600
Merge branch 'testing' 2018-11-29 17:16:28 +01:00
David Ramiro e527750d81
Enable S-Curve Acceleration and tweak jerk
To further optimize print quality even at very high speeds (I aim for roughly 80-100mm/s), I enabled S_CURVE_ACCELERATION and tweaked the jerk and default acceleration values.

Note: This is still in testing. As soon as I finish and it works as I like, I'll push it onto the master branch. If you see this commit on the master branch, it's safe to flash.
2018-11-28 23:33:11 +01:00
David Ramiro b76f3358a5
Enabling fan on auto PID tune
Since a custom fan duct caused the heat block on my printer to cool down enough to have a negative impact on PETG printing, I adjusted the auto PID tune aswell as the default PID values.

Also adding a precompiled hex file of all the previous changes.
2018-11-24 03:44:53 +01:00
David Ramiro 4fd3347f81
Enable G26 mesh validation
Enabling the G26 command for easy testing of the bed mesh removing the need of a manually printed bed level test file.
2018-11-24 03:38:15 +01:00
David Ramiro 0fb578c915
Add precise Z axis movement
To help with manual mesh bed leveling, I added four Z-axis controls to the special menu.
2018-11-19 16:43:06 +01:00
David Ramiro dde0d239d3
Further tweak PID 2018-11-18 00:40:10 +01:00
David Ramiro 3fc5663535
Tweak thermal runaway and PIDs
Fix false positive thermal runaway on higher temperature prints with the fan on
2018-11-18 00:04:41 +01:00
David Ramiro 35de65ee1d
Fix mesh leveling menu
Fixed a typo that caused mesh leveling not to start
2018-11-17 22:56:38 +01:00
David Ramiro 5432154bf7
Update special menu
• Added auto PID tune of heatbed to the special TFT menu
•Enabled automatic saving on both PID tune commands
• Added preheating and mesh leveling commands to the special TFT menu
• Mentioned changes in readme
2018-11-17 22:02:55 +01:00
David Ramiro c583398198
Correcting bed size
Migrating bed size values from manufacturer firmware
2018-11-17 20:19:33 +01:00
David Ramiro 3101fc8d6f
Raising maximum hotend temperature
Due to a request, I am raising the maximum temperature allowed on the hotend more flexibility on ABS and PETG printing.
2018-11-17 19:53:29 +01:00
David Ramiro 77ceef9625
Tweak e-steps
After getting my extruder to work reliably on a Vref of 1.100V on the TMC2208, I had to adjust my e-steps quite a bit from the original value from Anycubic. Assuming you have a TMC2208 on a similar voltage, this might work well right after flashing, calibrating your e-steps is recommended in any case.
2018-11-17 19:43:48 +01:00
David Ramiro 468123fe4f
Revert buffer tweaks
Due to occasional hiccups on USB printing, I am looking for a better way to ensure smooth prints and temporarily reverting the buffer tweaks
2018-11-16 19:23:00 +01:00
David Ramiro 5e56a939e3
Enable heatbed PID mode and add several tweaks
Enable heatbed PID mode and add several tweaks

Enable PIDTEMPBED and add several tweaks

• Enabling heatbed PID tuning
• Tweaking default hotend PID
• Enhancing MMBL grid from 9 points to 25 (3x3 to 5x5 -
 fair warning, leveling might take a few minutes now!)
• Increasing buffer and lowering baudrate to ensure smoother prints via USB
• Removing some redundant stuff to save memory

Thanks to @NetrunnerAT for his recommendations!

Co-Authored-By: NetrunnerAT <netrunnerat@users.noreply.github.com>
2018-11-16 10:50:55 +01:00
David Ramiro a813344030
Enable heatbed PID mode and add several tweaks
Enable PIDTEMPBED and add several tweaks

• Enabling heatbed PID tuning
• Tweaking default hotend PID
• Enhancing MMBL grid from 9 points to 25 (3x3 to 5x5 -
 fair warning, leveling might take a few minutes now!)
• Increasing buffer and lowering baudrate to ensure smoother prints via USB
• Removing some redundant stuff to save memory

Thanks to @NetrunnerAT for his recommendations!

Co-Authored-By: NetrunnerAT <netrunnerat@users.noreply.github.com>
2018-11-16 10:45:53 +01:00
David Ramiro 75a3d730d8
Enable manual mesh bed leveling
For the known issue of uneven heatbeds of the i3 Mega, I have enabled Marlin's manual mesh bed leveling.
2018-11-16 10:35:55 +01:00
David Ramiro 6957194af3
Initial commit
Using TMC2208 in standalone mode, I've inverted the stepper direction to match Anycubics pin layout. M110 memory watcher was removed due to redundancy and - ironically - to save memory.
2018-11-16 10:32:01 +01:00