Skip to content

Instantly share code, notes, and snippets.

@keyz182
keyz182 / Configuration.h
Last active March 19, 2017 15:37
wanhao-di3-prometheus-v2
/*
This file is part of Repetier-Firmware.
Repetier-Firmware is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Repetier-Firmware is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
# generated by Slic3r 1.2.9 on Sun Apr 2 20:25:14 2017
[filament:My Settings]
bed_temperature = 0
bridge_fan_speed = 100
cooling = 1
disable_fan_first_layers = 3
extrusion_multiplier = 2.5
fan_always_on = 0
fan_below_layer_time = 60
@keyz182
keyz182 / config-di3-unmodified.json
Last active April 24, 2017 15:53
Configuration for RepRap Firmware (https://configurator.reprapfirmware.org/) for a Wanhao Di3 Modified with a DuetWifi board, David Crockers IR Z-Probe (https://miscsolutions.wordpress.com/mini-height-sensor-board/), and Prometheus system (https://www.distechautomation.com/products/prometheus-system). Z Height is low currently as the prometheus …
{
"board": "duetwifi10",
"firmware": 1.17,
"compatibility": 2,
"nvram": false,
"geometry": {
"type": "cartesian",
"mins": [
0,
0,
{
"board": "duetwifi10",
"firmware": 1.17,
"compatibility": 2,
"nvram": false,
"geometry": {
"type": "cartesian",
"mins": [
0,
-20,
@keyz182
keyz182 / config.g
Created June 30, 2018 20:46
DuetConfigHevoPiezo
; General preferences
G90 ; Send absolute coordinates...
M83 ; ...but relative extruder moves
M667 S1 ; Select CoreXY mode
; Network
M550 PThreedee ; Set machine name
M552 D1 ; Enable network
M587 S"s" P".........." ; Configure access point. You can delete this line once connected
@keyz182
keyz182 / config.g
Last active July 26, 2018 12:15
DuetConfigHevoPiezoSensorlessHoming
; General preferences
G90 ; Send absolute coordinates...
M83 ; ...but relative extruder moves
M667 S1 ; Select CoreXY mode
; Network
M550 P******** ; Set machine name
M552 S1 ; Enable network
M587 S"********" P""********"" ; Configure access point. You can delete this line once connected
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Controlling a PWM Laser with the Duet Board

Assumptions

  • Your laser runs on 12v
  • Your laser requires a 5v active-high PWM
  • You want to control the laser wit M3 and M5 commands
  • You have a laser module
  • You have a Duet board
This file has been truncated, but you can view the full file.
; Generated with:
; "Duet Raster 2 Laser Gcode generator"
; by 305 Engineering
;
;
;
G28; home all axes
G21; Set units to millimeters
G90; Use absolute coordinates
G92; Coordinate Offset
@keyz182
keyz182 / bed.g
Last active February 9, 2019 15:27
Duet Wifi Hypercube Evolution (20190209)
; bed.g
; called to perform automatic bed compensation via G32
;
; generated by RepRapFirmware Configuration Tool on Tue Feb 27 2018 20:56:15 GMT+0000 (GMT Standard Time)
M561 ; clear any bed transform
; G28 ; home all axes
; Probe the bed at 5 points
G1 X60 Y60 Z5 F9000 ; Move to bed
G4 P1500