Commit Graph

163 Commits

Author SHA1 Message Date
David Ramiro 79f559e9af
Implement heatbed cooldown routine
- M888: Cooldown routine for the Anycubic Ultrabase (EXPERIMENTAL):
This is meant to be placed at the end Gcode of your slicer. It hovers over the print bed and does circular movements while running the fan. Works best with custom fan ducts.
- T<int>: Target bed temperature (min 15°C), 30°C if not specified
- S<int>: Fan speed between 0 and 255, full speed if not specified

Thanks to @kulfuerst for the suggestion!
2019-03-13 11:40:25 +01:00
David Ramiro c1c2743452
Rework pause, filament runout & abort
- Park head with retract on pause and abort
- Use native functions instead of Gcode
- Loud beeps to alert user on runout
- Fix potential looping issues by using flags
- Fix "Stop failed" message on some occasions
2019-03-12 16:23:29 +01:00
David Ramiro ee6094f39d
Cleanup
Improving and adding some comments to the code, updating a few details on the readme
2019-03-10 22:40:35 +01:00
David Ramiro 1a5804f260
Implement nozzle reheating on timeout via display
- Raise nozzle timeout to 10 minutes
- Use continue button as reheat trigger
- Manage nozzle_timed_out variable via display
- Add PausedByNozzleTimeout flag to enter correct routine on display
- Bump version to 1.4.3
2019-03-08 16:30:56 +01:00
David Ramiro cea54723e7
Use realtime on filament sensor
Instead of incrementing a variable on every iteration on the filament sensor trigger loop, we now use a real time macro that ensure better repeatability and is easier to customize.
2019-03-08 16:05:54 +01:00
David Ramiro 90e27ff21b
Fix indentation
Improve readability and fix #ifdef and #endif indentations
2019-03-08 01:25:21 +01:00
David Ramiro 85c32a2bb6
Fix Z movement on abort
- Referencing #29
- Adding audio feedback to special menu M500 and M502
2019-03-06 22:59:46 +01:00
David Ramiro 2c53c33d52
Tweak M600 display resume
- Add startFileprint(); call to M108 display routine to fix progress and ensure "printing done" gets shown
- Add SD printing check in marlin_main.cpp M600 routine to skip TFTstate if not necessary (e.g. USB printing)
- Move routine to the top again to ensure immediate execution
2019-02-24 15:48:03 +01:00
David Ramiro 8fc01144f1
Set SDPAUSE state on M600 regardless of prior TFTstate
Move the routine to a better position and set the state regardless of SDPRINT status.

This ensures that M600 makes the display show a continue button every time. Before, it was only behaving correctly for the first instance of M600.
2019-02-23 11:16:29 +01:00
David Ramiro 8448c67846
Streamline build identification 2019-02-23 00:31:25 +01:00
David Ramiro e822d53f2f
Merge branch 'master' into dev 2019-02-23 00:26:33 +01:00
David Ramiro 30bbf59cb0
Increase filament rounout trigger delay
In some cases, the filament runout was triggered erratically, we are now waiting for the trigger to last a few moments until we start the routine.
2019-02-22 22:26:58 +01:00
David Ramiro 0f5745e281
Update README.md 2019-02-21 10:30:21 +01:00
David Ramiro d6f2b7dcf2
Update README.md 2019-02-19 19:15:28 +01:00
David Ramiro b25aa626e7
Update semantic versioning 2019-02-18 20:01:22 +01:00
David Ramiro afcdb69cee
Merge branch 'dev' 2019-02-18 19:35:21 +01:00
David Ramiro b447245ddd
Add screen state to gcode_M600()
- Allowing resume after M600 via on screen button:

- Adding check for TFT state status
- Setting flag when print was started via TFT
2019-02-18 19:34:59 +01:00
David Ramiro 078678d434
Merge branch 'dev' 2019-02-18 19:07:34 +01:00
David Ramiro b164d593cb
Update README.md 2019-02-18 19:07:17 +01:00
David Ramiro 2bd6f2f23a
Pause & runout code cleanup
Final changes to pause & filament runout overhaul before release:
- Use booleans instead of chars for cleaner code
- Raised retraction amount
2019-02-18 18:05:37 +01:00
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 94c99ff406
Update issue templates 2019-02-10 16:05:26 +01:00
David Ramiro d3209886ed
Move sections to the wiki 2019-02-10 15:14:12 +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 a57103fb29
Update S3D profile 2019-02-06 18:18:26 +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 3be7677642
Update README.md 2019-02-05 16:45: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 79d00d560f
Update README.md
Mention potential issue with Cura's default jerk & acceleration values
2019-02-04 02:00:51 +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 0f9b4940c5
Fix typo 2019-01-31 21:34:39 +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