顯示具有 Prusa i3 標籤的文章。 顯示所有文章
顯示具有 Prusa i3 標籤的文章。 顯示所有文章

2017年4月4日 星期二

2017年3月25日 星期六

[Kisslicer] How to easy take off raft from object

After KISSlicer produce the gcode.
Open Gcode file.

Find “BEGIN_LAYER_RAFT” and befor string insert following command.
M221 S40   ; amount of material
M104 S180  ; temperature

Find “BEGIN_LAYER_OBJECT” and befor string insert following command.
M221 S100   ;  amount of material
M104 S190   ;  temperature

Script to add following command
awk '/; BEGIN_LAYER_RAFT z=1.55/{print;print "M221 S40 \nM109 S180";next}1' phone_stand.2.gcode > print.gcode

awk '/; BEGIN_LAYER_OBJECT z=2.20/{print;print "M221 S100 \nM109 S190";next}1' print.gcode > print_done.gcode

Reference:

2016年3月28日 星期一

[Auto level][Prusa I3][3DP] How to leveling the 3D printer


Download Repetier-Host
Learning hwo to start Repetier-Host up

Connect to 3D printer.


Connect object to right place

Seeing the picture can know two pin connect together. (5v connect to Vcc)
Flowowing the instruction connect the SG90 into the board.
The signal of endstop connect to Z(micro switch).



SG90 have three line.
Orange one is signal line.
Red one is power line.
Brown one is ground line.


Input Gcode command at Repetier-Host
M280 P0 S{angle}
So input "M280 P0 S60", SG90 will turn 60 degree.


Upload Marlin Code to the board

Please download prusa_i3 and git checkout to Auto_leveling, find out what diff in Configuration.h.

Start to test the function of auto leveling.

If upload firmware is done.
Start to test the function.

KISSlicer
M104 S<TEMP>; Start to preheat the header
G92 Z0;  Set the current z postion as origin
G1 Z10;  Move Z axis up to 10mm avoid probe bang the platform. 
G28 Y;   Y axis return to zero.
G28 X;   X axis return to zero.
G1 X100 Y100 F6000;   Header move to center of platform
M401;  Put the probe down
G28 z;  Z axis return to zero.
G29;             Platform leveling correction dectective
G1 Z5 F3000 ; move z axis up to 5mm 
M109 S<TEMP>;  Wait for temperature up to working temperature.
M82;   E axis use absolute coordinate

Reference:

2016年3月27日 星期日

[Prusa I3][3DP] Download Prusa i3 Rework Firmware from internet

When upload the firmware from internet will display simple command.






1. Download firmware from internet Marlin_Prusai3_reprap_pt.zip.
The info get from Prusa i3 Rework Firmware

2. Compile the code
Choose Board Type : Tools –> Board –> Arduino MEGA 2560

Start to compile

3. Change to the location of arduino firmware.
/tmp/build2709516825013937380.tmp

4. Upload the firmware to the board (Mega 2560)
Method 1
Execute
sudo avrdude -p m2560 -c stk500v2 -b 115200 -P/dev/ttyUSB0 -U flash:w:Marlin.cpp.hex:i -D
[happy@localhost build4709796185245500912.tmp]$ sudo avrdude  -p m2560 -c stk500v2 -b 115200 -P/dev/ttyUSB0 -U flash:w:Marlin.cpp.hex:i -D

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.01s

avrdude: Device signature = 0x1e9801
avrdude: reading input file "Marlin.cpp.hex"
avrdude: writing flash (116672 bytes):

Writing | ################################################## | 100% 17.43s

avrdude: 116672 bytes of flash written
avrdude: verifying flash memory against Marlin.cpp.hex:
avrdude: load data flash data from input file Marlin.cpp.hex:
avrdude: input file Marlin.cpp.hex contains 116672 bytes
avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 13.54s

avrdude: verifying ...
avrdude: 116672 bytes of flash verified

avrdude: safemode: Fuses OK (E:FF, H:D8, L:FF)

avrdude done.  Thank you.


Method 2
Using arduino GUI to upload the file.


Reference:

2016年3月26日 星期六

[Prusa I3][3PD] How to upload firmware to (Mega 2560)

1. Download Arduino 1.0.5
Open the Marlin.ino


2. Compile the code
Choose Board Type : Tools –> Board –> Arduino MEGA 2560


Start to compile


3. Change to the location of arduino firmware.
/tmp/build2709516825013937380.tmp

4. Upload firmware to the board
Method 1:
Execute
sudo avrdude -p m2560 -c stk500v2 -b 115200 -P/dev/ttyUSB0 -U flash:w:Marlin.cpp.hex:i -D
[happy@localhost build4709796185245500912.tmp]$ sudo avrdude  -p m2560 -c stk500v2 -b 115200 -P/dev/ttyUSB0 -U flash:w:Marlin.cpp.hex:i -D

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.01s

avrdude: Device signature = 0x1e9801
avrdude: reading input file "Marlin.cpp.hex"
avrdude: writing flash (116672 bytes):

Writing | ################################################## | 100% 17.43s

avrdude: 116672 bytes of flash written
avrdude: verifying flash memory against Marlin.cpp.hex:
avrdude: load data flash data from input file Marlin.cpp.hex:
avrdude: input file Marlin.cpp.hex contains 116672 bytes
avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 13.54s

avrdude: verifying ...
avrdude: 116672 bytes of flash verified

avrdude: safemode: Fuses OK (E:FF, H:D8, L:FF)

avrdude done.  Thank you.

Method 2:
Using arduino GUI to upload the file.


Reference:

2016年3月25日 星期五