3D Printer: Difference between revisions

From Objectif Client Inc
Jump to navigation Jump to search
Line 44: Line 44:
</pre>
</pre>
** configuration.h file change
** configuration.h file change
*** configuration.h [[:File:configuration.h|Marlin configuration.h]]
*** Baud Rate
*** Baud Rate
<pre>
<pre>

Revision as of 15:10, 17 February 2018

Hardware

Anet A8 Desktop 3D Printer

  • Overall, an excellent price-performance ratio. Relatively quickly to assemble. Good printing output, tested only with PLA so far. Easy to use software.




File:Exemple.jpg

Firmware

M303 E0 S220 C8
...
...
Recv: PID Autotune finished! Put the last Kp, Ki and Kd constants from below into Configuration.h
Recv: #define  DEFAULT_Kp 15.42
Recv: #define  DEFAULT_Ki 0.65
Recv: #define  DEFAULT_Kd 91.61
//###Nr001 #define BAUDRATE 250000
#define BAUDRATE 115200
      • MotherBoard
#ifndef MOTHERBOARD
  //###Nr001 #define MOTHERBOARD BOARD_RAMPS_14_EFB
  #define MOTHERBOARD BOARD_ANET_10
#endif
      • Filament
//###Nr001#define DEFAULT_NOMINAL_FILAMENT_DIA 3.0
#define DEFAULT_NOMINAL_FILAMENT_DIA 1.75

SoftWare

Cura

Setup

Machine Setup
  • Printer Setting
x: 220
Y: 220
Z: 220
  • Print Head Setting
X min: 0
Y min: 0
X max: 0
y max: 0
  • Ganty height: 0
  • Nozzle size: .04
  • Machine Center is Zero: Not Selected
  • Heated Bed  : Select
  • Start GCode

G21 ;metric values G90 ;absolute positioning M82 ;set extruder to absolute mode M107 ;start with the fan off G28 X0 Y0 ;move X/Y to min endstops G28 Z0 ;move Z to min endstops G29 ;Autoleveling G1 Z15.0 F9000 ;move the platform down 15mm G92 E0 ;zero the extruded length G1 F200 E3 ;extrude 3mm of feed stock G92 E0 ;zero the extruded length again G1 F9000 M117 Printing...


* End GCode
<pre>
M104 S0 ;extruder heater off
M140 S0 ;heated bed heater off (if you have it)
G91 ;relative positioning
G1 E-1 F300  ;retract the filament a bit before lifting the nozzle, to release some of the pressure
G1 Z+0.5 E-5 X-20 Y-20 F9000 ;move Z up a bit and retract filament even more
G28 X0 Y0 ;move X/Y to min endstops, so the head is out of the way
M84 ;steppers off
G90 ;absolute positioning

OctoPrint

Switch On/Off

  • Add switch on off

/home/pi/.octoprint/config.yaml

system:
  actions:
  - action: led on
    command: gpio -g write 18 1
    name: Turn on the led
  - action: led off
    command: gpio -g write 18 0
    confirm: You are about to turn off the led.
    name: Turn off the led

Stream On/Off

  • Add switch on off

/home/pi/.octoprint/config.yaml

system:
  actions:
  - action: streamon
    command: /home/pi/scripts/webcam start
    confirm: false
    name: Start video stream
  - action: streamoff
    command: /home/pi/scripts/webcam stop
    confirm: false
    name: Stop video stream