Compare commits
16 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d13779c7d0 | ||
|
|
b6b73ae559 | ||
|
|
7f3e535160 | ||
|
|
afe26f9ee5 | ||
|
|
ab66b295dd | ||
|
|
25b0f025ab | ||
|
|
064b6155ea | ||
|
|
3256d6d5f8 | ||
|
|
568fae4b39 | ||
|
|
514d6e16ab | ||
| 40d7c2aa86 | |||
| 8075b6fef8 | |||
| a5a6e1d4e2 | |||
| 0e07d4d669 | |||
| 7dc1ad1f7c | |||
| 88638bd30f |
2
.gitignore
vendored
2
.gitignore
vendored
@@ -4,3 +4,5 @@
|
||||
dwc-settings.json
|
||||
heightmap.csv
|
||||
config-override.g
|
||||
accelerometer/*
|
||||
resurrect.g
|
||||
|
||||
BIN
Duet3-6HC_BoardDiagram.png
Normal file
BIN
Duet3-6HC_BoardDiagram.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.6 MiB |
37
README.md
37
README.md
@@ -24,6 +24,8 @@ Pay special attention to the stepper direction and stepper step/angle, these are
|
||||
#####
|
||||
- 1x [Duet 3 6HC](https://www.123-3d.nl/Duet3D-Duet-3-Mainboard-6HC-v1-0-origineel-Duet-3-MB6HC-v1-00-i4602.html)
|
||||
|
||||
<img src="Duet3-6HC_BoardDiagram.png" alt="Duet3 6HC Diagram" width="1600"/>
|
||||
|
||||
##### Display
|
||||
- 1x [Duet panel Due](https://www.123-3d.nl/Duet3D-PanelDue-met-7-v1-0-display-kabel-PanelDue-7i-v1-0-i3018-t14808.html)
|
||||
|
||||
@@ -31,7 +33,8 @@ Pay special attention to the stepper direction and stepper step/angle, these are
|
||||
- 1x [PI 4 2GB](https://www.123-3d.nl/RaspberryPi-Raspberry-Pi-4-model-B-2-GB-i4908-t16066.html)
|
||||
|
||||
##### Power supply
|
||||
- 1x Mean well 400W 24v ([RSP-500-24](https://eu.mouser.com/ProductDetail/MEAN-WELL/RSP-500-24?qs=8uyp%2Fy7yFW5FrdkZCZycgg==))
|
||||
- 1x Mean well 400W 24v - ([RSP-500-24](https://eu.mouser.com/ProductDetail/MEAN-WELL/RSP-500-24?qs=8uyp%2Fy7yFW5FrdkZCZycgg==))
|
||||
- 1x Mean well 50w 5v - [LRS-50-5](https://www.meanwell-web.com/en-gb/ac-dc-single-output-enclosed-power-supply-lrs--50--5)
|
||||
|
||||
##### Steppers
|
||||
- 3x z [0.9 nema 17](https://www.123-3d.nl/123-3D-NEMA17-stappenmotor-0-9-graden-per-stap-48-mm-lang-4-2-kg-cm-SL42S248MA108-0524-i3420-t14804.html)
|
||||
@@ -81,6 +84,9 @@ Note: The usage of a second SSR allows more lighting to be added without worries
|
||||
##### Filament sensor
|
||||
1x [Duet 3d - laser sensor](https://www.123-3d.nl/Duet3D-Laser-Filament-Monitor-LaserFilamentMonitor-i3121-t14808.html)
|
||||
|
||||
##### Power automation
|
||||
1x SONOFF 10A [BASICR2](https://sonoff.tech/product/diy-smart-switch/basicr2/)
|
||||
|
||||
### Software
|
||||
#### Base intall
|
||||
[Duet light](https://pkg.duet3d.com/DuetPi-lite.zip) - Config [link](https://duet3d.dozuki.com/Wiki/SBC_Setup_for_Duet_3)
|
||||
@@ -100,6 +106,9 @@ ls -s /opt/duet_vcore3 /root/ # yes I use root on the rasp.
|
||||
|
||||
### Duet 3 6HC - Pins
|
||||
|
||||
#### Accelerometer
|
||||
* Temp daughterboard - [LIS3HD](https://www.digikey.nl/en/products/detail/adafruit-industries-llc/3886/10709725)
|
||||
|
||||
#### IO
|
||||
Used IO pin headers
|
||||
* io_0 - display
|
||||
@@ -109,14 +118,13 @@ Used IO pin headers
|
||||
* io_7 - bltouch
|
||||
|
||||
#### Stepper motors
|
||||
All steppers are 0.9º
|
||||
|
||||
* z left - driver2 - motion backwards (looking from the back of the printer)
|
||||
* z rear - driver1 - motion backwards
|
||||
* z right - driver1 - motion backwards
|
||||
* top right motor - driver3 - Y - motion forwards (looking from the back of the printer)
|
||||
* top left motor - driver4 - X - motion forwards
|
||||
* extruder motor - driver5 - motion forwards
|
||||
* z left - driver2 - motion backwards (looking from the back of the printer) - 0.9º
|
||||
* z rear - driver1 - motion backwards - 0.9º
|
||||
* z right - driver1 - motion backwards - 0.9º
|
||||
* top right motor - driver3 - Y - motion forwards (looking from the back of the printer) - 1.8º
|
||||
* top left motor - driver4 - X - motion forwards - 1.8º
|
||||
* extruder motor - driver5 - motion forwards - 0.9º
|
||||
|
||||
#### Outputs
|
||||
##### Heating elements (24v)
|
||||
@@ -137,8 +145,19 @@ Thermal probes in use:
|
||||
* temp0 - Bed thermistor
|
||||
* temp1 - Hotend thermistor
|
||||
|
||||
#### Jumpers
|
||||
* Internal 5V - Enable
|
||||
* 5V -> SBC - Disable
|
||||
* SBC -> 5V - Disable
|
||||
|
||||
The SBC is powerwered by the Mean Well LRS-50-5
|
||||
|
||||
#### Emergency Reset
|
||||
Emergency reset button is connected to reset pins.
|
||||
|
||||
## TODO
|
||||
- Add printing tracking camera
|
||||
- Add accelerometer config
|
||||
|
||||
- All macros are untested until stated otherwise (some are cloned from duet repos, others are mine), list of tested macros:
|
||||
- - Lighting (all)
|
||||
@@ -150,7 +169,7 @@ Thermal probes in use:
|
||||
- - Diagnostics/E steps calibration
|
||||
|
||||
## Electronics backplate
|
||||
I've also set a exectronics backplate (to be a cut of alluminium or polycarbonate up to 4mm), you may find it in [thingiverse.com](https://www.thingiverse.com/thing:4792093).
|
||||
I've also add a electronics backplate (to be a cut of alluminium or polycarbonate up to 4mm), you may find it in [thingiverse.com](https://www.thingiverse.com/thing:4792093).
|
||||
|
||||
## Links and external sources
|
||||
* [GCode library](https://duet3d.dozuki.com/Wiki/Gcode)
|
||||
|
||||
8
bed.g
8
bed.g
@@ -4,10 +4,9 @@
|
||||
|
||||
|
||||
M561 ; clear any bed transform
|
||||
|
||||
G30 P0 X5 Y5 Z-99999 ; probe near a leadscrew
|
||||
G30 P1 X5 Y20 Z-99999 ; probe near a leadscrew
|
||||
G30 P2 X20 Y5 Z-99999 ; probe near a leadscrew
|
||||
G30 P0 X10 Y10 Z-99999 ; probe near a leadscrew
|
||||
G30 P1 X60 Y10 Z-99999 ; probe near a leadscrew
|
||||
G30 P2 X60 Y60 Z-99999 ; probe near a leadscrew
|
||||
G30 P3 X230 Y470 Z-99999 ; probe near a leadscrew
|
||||
G30 P4 X250 Y470 Z-99999 ; probe near a leadscrew
|
||||
G30 P5 X250 Y450 Z-99999 ; probe near a leadscrew
|
||||
@@ -17,4 +16,5 @@ G30 P8 X470 Y5 Z-99999 ; probe near a leadscrew
|
||||
G30 P9 X450 Y5 Z-99999 S3 ; probe near a leadscrew and calibrate 3 motors
|
||||
|
||||
M280 P0 S160 ; clear and reset BL touch
|
||||
G1 Z10 F300
|
||||
G29 S1 ; probe the bed and enable compensation
|
||||
|
||||
45
config.g
45
config.g
@@ -9,19 +9,19 @@ M550 P"vcore3" ; set printer name fqdn: vcor
|
||||
M669 K1 ; select CoreXY mode
|
||||
|
||||
; Drives
|
||||
M569 P0.0 S0 D3 H50 V50 ; physical drive 0.0 goes backwards
|
||||
M569 P0.1 S0 D3 H50 V50 ; physical drive 0.1 goes backwards
|
||||
M569 P0.2 S0 D3 H50 V50 ; physical drive 0.2 goes backwards
|
||||
M569 P0.3 S1 D3 H50 V50 ; physical drive 0.3 goes forwards
|
||||
M569 P0.4 S1 D3 H50 V50 ; physical drive 0.4 goes forwards
|
||||
M569 P0.5 S0 D3 H50 V50 ; physical drive 0.5 goes backwards
|
||||
M569 P0.0 S0 D3 H500 V500 ; physical drive 0.0 goes backwards
|
||||
M569 P0.1 S0 D3 H500 V500 ; physical drive 0.1 goes backwards
|
||||
M569 P0.2 S0 D3 H500 V500 ; physical drive 0.2 goes backwards
|
||||
M569 P0.3 S1 D3 H500 V500 ; physical drive 0.3 goes forwards
|
||||
M569 P0.4 S1 D3 H500 V500 ; physical drive 0.4 goes forwards
|
||||
M569 P0.5 S0 D2 H500 V500 ; physical drive 0.5 goes backwards
|
||||
M584 X0.3 Y0.4 Z0.2:0.1:0.0 E0.5 ; set drive mapping
|
||||
M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
|
||||
M92 X80.00 Y80.00 Z1600.00 E835 ; set steps per mm
|
||||
M92 X80.00 Y80.00 Z1600.00 E794 ; set steps per mm
|
||||
M566 X400.00 Y400.00 Z6.00 E120.00 P1 ; set maximum instantaneous speed changes (mm/min)
|
||||
M203 X20800.00 Y20800.00 Z1000.00 E3600.00 ; set maximum speeds (mm/min)
|
||||
M201 X6000.00 Y6000.00 Z3000.00 E3600.00 ; set accelerations (mm/s^2)
|
||||
M906 X2000 Y2000 Z1200 E800 I20 ; set motor currents (mA) and motor idle factor in per cent
|
||||
M203 X10800.00 Y10800.00 Z1000.00 E3600.00 ; set maximum speeds (mm/min)
|
||||
M201 X3000 Y3000 Z100.00 E3600.00 ; set accelerations (mm/s^2)
|
||||
M906 X1700 Y1700 Z800 E800 I20 ; set motor currents (mA) and motor idle factor in per cent
|
||||
M84 S30 ; Set idle timeout
|
||||
|
||||
; Axis Limits
|
||||
@@ -34,13 +34,14 @@ M574 Y2 S1 P"io1.in" ; configure active-high endst
|
||||
|
||||
; Z-Probe
|
||||
M950 S0 C"io7.out" ; create servo pin 0 for BLTouch
|
||||
M558 P9 C"^io7.in" H2 F200 T10000 A5 ; set Z probe type to bltouch and the dive height + speeds, run probing 5x
|
||||
M558 P9 C"^io7.in" H5 F300 T10000 A5 S0.05 R0.2 ; set Z probe type to bltouch and the dive height (H) + speeds (F), run probing 5x
|
||||
; tolerance when probing mm (S), probe recovery time (R),
|
||||
;; Pay special attention to the values bellow on G31, the Z value needs to be validated for your printer
|
||||
;; Start with something like 0.5
|
||||
;; Documentation available: https://duet3d.dozuki.com/Wiki/Test_and_calibrate_the_Z_probe
|
||||
G31 P500 X-35 Y-0.5 Z3.175 ; set Z probe trigger value, offset and trigger height
|
||||
M671 X-6:250:503 Y0:511:0 S5 ; define positions of Z leadscrews or bed levelling screws
|
||||
M557 X5:465 Y5:465 P20 ; define 20x20 mesh grid
|
||||
G31 P500 X-35 Y-0.5 Z2.84 ; set Z probe trigger value, offset and trigger height (90 ºc, 15m after reaching temp)
|
||||
M671 X-4.5:250:503 Y4.52:505:-4.5 S100 ; define positions of Z leadscrews or bed levelling screws
|
||||
M557 X5:465 Y5:465 P5 ; define mesh grid
|
||||
|
||||
; Heaters
|
||||
;; BED
|
||||
@@ -50,7 +51,6 @@ M307 H0 B0 S1.00 ; disable bang-bang mode for
|
||||
M140 H0 ; map heated bed to heater 0
|
||||
M143 H0 S120 ; set temperature limit for heater 0 to 120C
|
||||
|
||||
;; HotEnd
|
||||
M308 S1 P"temp1" Y"thermistor" T100000 B4725 C7.060000e-8 A"Hotend" ; configure sensor 1 as thermistor on pin temp1
|
||||
M950 H1 C"out2" T1 ; create nozzle heater output on out2 and map it to sensor 1
|
||||
M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
|
||||
@@ -61,7 +61,7 @@ M950 F0 C"out7" Q500 ; create fan 0 on pin out7 an
|
||||
M106 P0 C"Hotend fan" S1 H1 T45 ; set fan 0 value. Thermostatic control is turned on
|
||||
M950 F1 C"out4" Q20 ; create fan 1 on pin out4
|
||||
;M950 F1 C"!out4+out4.tach" Q25000 ; create fan 1 on pin out4 pwm fan (4 wires)
|
||||
M106 P1 C"Layer fan" S0 H-1 -L255 ; set fan 1 value. Thermostatic control is turned off
|
||||
M106 P1 C"Layer fan" S0 H-1 L255 ; set fan 1 value. Thermostatic control is turned off
|
||||
|
||||
; Lights
|
||||
M950 P2 C"out8" ; create output for lighning via DC DC SSR
|
||||
@@ -72,7 +72,7 @@ G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets
|
||||
G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C
|
||||
|
||||
; Filament sensor - Duet3D laser filament monitor
|
||||
M591 D0 P5 C"io3.in" R40:120 E3.0 S1 ; Duet3D laser sensor for extruder drive 0, connected to endstop input 4 (E0), tolerance 40 to 120%, 3mm comparison length, enabled filament monitoring
|
||||
M591 D0 P5 C"io3.in" R20:150 E5.0 A0 S1 ; Duet3D laser sensor for extruder drive 0, connected to endstop input 4 (E0), tolerance 30 to 125%, 5mm comparison length, enabled filament monitoring
|
||||
|
||||
; Miscellaneous
|
||||
M575 P1 S1 B57600 ; enable support for PanelDue
|
||||
@@ -81,3 +81,14 @@ M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set tension thresholds and
|
||||
M404 N1.75 D0.4 ; Filament width and nozzle diameter
|
||||
;M572 D0 S0.10 ; Pressure Advance
|
||||
T0 ; Define default tool
|
||||
|
||||
; Accelerometer - LIS3HD
|
||||
;; More info: https://duet3d.dozuki.com/Wiki/Accelerometers
|
||||
;; More info: regarding sensor orientation: https://www.dropbox.com/s/hu2w5mk57l4zqpg/Accelerometer%20Orientation.pdf
|
||||
;; Possible orientations 01,02,05,06
|
||||
M955 P0 C"spi.cs3+spi.cs2" I01 S1344 R10; all wires connected to temperature daughter board connector, Orientation 01, Sampling rate 1344, 10b resolution
|
||||
M593 P"ei3" F38 ; use P "shaper" input shaping to cancel ringing at center 38Hz
|
||||
;M593 P"none" ; disable input shaping
|
||||
;M593 P"custom" H0.4:0.7 T0.0135:0.0135 ; use custom input shaping
|
||||
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ G1 X250 Y250 F3600 ; go to first probe point
|
||||
G30 ; home Z by probing the bed
|
||||
G29 S1 ; enable compensation
|
||||
G91 ; Relative positioning
|
||||
G1 Z10 F100 ; lift Z relative to current position
|
||||
G1 Z10 F3600 ; lift Z relative to current position
|
||||
G90 ; absolute positioning
|
||||
|
||||
|
||||
|
||||
2
homez.g
2
homez.g
@@ -10,6 +10,6 @@ G1 X250 Y250 F10800 ; go to first probe point
|
||||
G30 ; home Z by probing the bed
|
||||
G29 S1 ; probe the bed and enable compensation
|
||||
G91 ; relative positioning
|
||||
G1 Z10 F100 ; lift Z relative to current position
|
||||
G1 Z10 F3600 ; lift Z relative to current position
|
||||
G90 ; absolute positioning
|
||||
|
||||
|
||||
Binary file not shown.
BIN
reprapfirmware_3.4.5-1_all.deb
Normal file
BIN
reprapfirmware_3.4.5-1_all.deb
Normal file
Binary file not shown.
39
resurrect.g
39
resurrect.g
@@ -1,39 +0,0 @@
|
||||
; File "0:/gcodes/CFFFP_accel_support.gcode" resume print after print paused at 2022-02-13 17:05
|
||||
G21
|
||||
M140 P0 S90.0
|
||||
G29 S1
|
||||
G92 X215.634 Y137.576 Z0.400
|
||||
G60 S1
|
||||
G10 P0 S230 R230
|
||||
T0 P0
|
||||
M98 P"resurrect-prologue.g"
|
||||
M116
|
||||
M290 X0.000 Y0.000 Z0.000 R0
|
||||
T-1 P0
|
||||
T0 P6
|
||||
; Workplace coordinates
|
||||
G10 L2 P1 X0.00 Y0.00 Z0.00
|
||||
G10 L2 P2 X0.00 Y0.00 Z0.00
|
||||
G10 L2 P3 X0.00 Y0.00 Z0.00
|
||||
G10 L2 P4 X0.00 Y0.00 Z0.00
|
||||
G10 L2 P5 X0.00 Y0.00 Z0.00
|
||||
G10 L2 P6 X0.00 Y0.00 Z0.00
|
||||
G10 L2 P7 X0.00 Y0.00 Z0.00
|
||||
G10 L2 P8 X0.00 Y0.00 Z0.00
|
||||
G10 L2 P9 X0.00 Y0.00 Z0.00
|
||||
G54
|
||||
M106 S0.00
|
||||
M106 P1 S0.00
|
||||
M116
|
||||
G92 E-1.00000
|
||||
M83
|
||||
M486 S-1
|
||||
G17
|
||||
M23 "0:/gcodes/CFFFP_accel_support.gcode"
|
||||
M26 S788
|
||||
G0 F6000 Z2.400
|
||||
G0 F6000 X215.634 Y137.576
|
||||
G0 F6000 Z0.400
|
||||
G1 F600.0 P0
|
||||
G21
|
||||
M24
|
||||
Reference in New Issue
Block a user