顯示具有 3DP 標籤的文章。 顯示所有文章
顯示具有 3DP 標籤的文章。 顯示所有文章

2017年6月24日 星期六

2017年4月4日 星期二

2016年8月27日 星期六

2016年4月10日 星期日

[Problem Solve][3DP][SD card] Print at the middle then stuck


Q: Everytime print my object will stuck at the same point.
I felt strange about this.

A:
I find maybe I have two critical issue must to solve.

Issue 1:

[SD Card]

When I use GUI to look my sd care everything is fine.
But when I use command line to check my sd card, I find nothing in my sd card.
I felt something wrong, so I format my sd card and try again.

This is main issue about stuck at the same point when I am printing the object.

Issue 2:

[Mega 2560 Board + Ramp 1.4][Maybe]

Because I want try how to create the function about auto leveling.
I connect to wrong pin, then whole set have bad smell. (whole set = Mega 2560 Board + Ramp 1.4)

I just changed my board (Mega 2560 Board), but I find old board about ramp1.4 have little proble.
The problem is step drive. Everytime print corner line, when machine must return to another way.
The machine will create the line not smoothly.
After I use whole new set (whole new set = Mega 2560 Board + Ramp 1.4), step driver create corner line become smoothly.
The machine will not shake so serious.

2016年4月9日 星期六

2016年4月6日 星期三

[Cyclone PCB Factory] Online Resource

2016年4月3日 星期日

[C] ## macro operator


Replace each variable, then understand how it work.


#include <stdio.h>
#define DECLARE_AND_SET(type, varname, value) type varname = value; type orig_##varname = varname;

void main()
{
    DECLARE_AND_SET( int, area, 2 * 6 );
    printf("%d\n",area);
    printf("%d\n",orig_area);
}

Reference:

2016年3月29日 星期二

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日 星期五

2016年3月23日 星期三

2016年3月7日 星期一

2016年3月2日 星期三

2016年3月1日 星期二

[3DP][Cura] How to print object be fine by using cura

The object print slowly, layer height be low.



Big Object settings



like object - speed 40-50 Layer height 0.1
So so object - speed 60-  Layer height 0.2
Layer height decide the object to be fine, then speed.
流動性太好的線材, 拉絲也會很多
流動性太好的意思是易融
所以還沒到固定要印的位置
料就流出來了
如. 木頭紋的線材. 拉絲會很多
有色的線,愈是不透光噴嘴溫度要愈高。

[Melzi] Upload firmware

Download Arduino from Support the Arduino Software

Environment settings:
Download Sanguino (git@github.com:Lauszus/Sanguino.git) under arduino-1.6.7/hardware
Tools–> Board –> Sanguino
Tools–> Processor –> ATmega1284 or ATmega1284P (16Mhz)


Use Arduino tool to choose Marlin/Marlin/Marlin.ino
Edit Configuration.h


// 20 is the PT100 circuit found in the Ultimainboard V2.x <– OK
// #define BOARD_MELZI_MAKR3D 66 // Melzi with ATmega1284 (MaKr3d version) <– Board


Compile and Export compiled binary to folder.
Sketch –> Export compiled binary


copy Marlin/Marlin/Marlin.ino.sanguino.hex to the folder which you want to upload.


Using the follow command to upload the firmware.
sudo avrdude -p m1284p -C avrdude.conf -c stk500v1 -b 57600 -P/dev/ttyUSB0 -U flash:w:Marlin.hex:i



Reference:

avrdude: No AVR part has been specified, use "-p Part"

Valid parts are:
  uc3a0512 = AT32UC3A0512
  c128     = AT90CAN128
  c32      = AT90CAN32
  c64      = AT90CAN64
  pwm2     = AT90PWM2
  pwm2b    = AT90PWM2B
  pwm3     = AT90PWM3
  pwm316   = AT90PWM316
  pwm3b    = AT90PWM3B
  1200     = AT90S1200
  2313     = AT90S2313
  2333     = AT90S2333
  2343     = AT90S2343
  4414     = AT90S4414
  4433     = AT90S4433
  4434     = AT90S4434
  8515     = AT90S8515
  8535     = AT90S8535
  usb1286  = AT90USB1286
  usb1287  = AT90USB1287
  usb162   = AT90USB162
  usb646   = AT90USB646
  usb647   = AT90USB647
  usb82    = AT90USB82
  m103     = ATmega103
  m128     = ATmega128
  m1280    = ATmega1280
  m1281    = ATmega1281
  m1284p   = ATmega1284P
  m1284rfr2 = ATmega1284RFR2
  m128rfa1 = ATmega128RFA1
  m128rfr2 = ATmega128RFR2
  m16      = ATmega16
  m161     = ATmega161
  m162     = ATmega162
  m163     = ATmega163
  m164p    = ATmega164P
  m168     = ATmega168
  m168p    = ATmega168P
  m169     = ATmega169
  m16u2    = ATmega16U2
  m2560    = ATmega2560
  m2561    = ATmega2561
  m2564rfr2 = ATmega2564RFR2
  m256rfr2 = ATmega256RFR2
  m32      = ATmega32
  m324p    = ATmega324P
  m324pa   = ATmega324PA
  m325     = ATmega325
  m3250    = ATmega3250
  m328     = ATmega328
  m328p    = ATmega328P
  m329     = ATmega329
  m3290    = ATmega3290
  m3290p   = ATmega3290P
  m329p    = ATmega329P
  m32u2    = ATmega32U2
  m32u4    = ATmega32U4
  m406     = ATMEGA406
  m48      = ATmega48
  m48p     = ATmega48P
  m64      = ATmega64
  m640     = ATmega640
  m644     = ATmega644
  m644p    = ATmega644P
  m644rfr2 = ATmega644RFR2
  m645     = ATmega645
  m6450    = ATmega6450
  m649     = ATmega649
  m6490    = ATmega6490
  m64rfr2  = ATmega64RFR2
  m8       = ATmega8
  m8515    = ATmega8515
  m8535    = ATmega8535
  m88      = ATmega88
  m88p     = ATmega88P
  m8u2     = ATmega8U2
  t10      = ATtiny10
  t11      = ATtiny11
  t12      = ATtiny12
  t13      = ATtiny13
  t15      = ATtiny15
  t1634    = ATtiny1634
  t20      = ATtiny20
  t2313    = ATtiny2313
  t24      = ATtiny24
  t25      = ATtiny25
  t26      = ATtiny26
  t261     = ATtiny261
  t4       = ATtiny4
  t40      = ATtiny40
  t4313    = ATtiny4313
  t43u     = ATtiny43u
  t44      = ATtiny44
  t45      = ATtiny45
  t461     = ATtiny461
  t5       = ATtiny5
  t84      = ATtiny84
  t85      = ATtiny85
  t861     = ATtiny861
  t88      = ATtiny88
  t9       = ATtiny9
  x128a1   = ATxmega128A1
  x128a1d  = ATxmega128A1revD
  x128a1u  = ATxmega128A1U
  x128a3   = ATxmega128A3
  x128a3u  = ATxmega128A3U
  x128a4   = ATxmega128A4
  x128a4u  = ATxmega128A4U
  x128b1   = ATxmega128B1
  x128b3   = ATxmega128B3
  x128c3   = ATxmega128C3
  x128d3   = ATxmega128D3
  x128d4   = ATxmega128D4
  x16a4    = ATxmega16A4
  x16a4u   = ATxmega16A4U
  x16c4    = ATxmega16C4
  x16d4    = ATxmega16D4
  x16e5    = ATxmega16E5
  x192a1   = ATxmega192A1
  x192a3   = ATxmega192A3
  x192a3u  = ATxmega192A3U
  x192c3   = ATxmega192C3
  x192d3   = ATxmega192D3
  x256a1   = ATxmega256A1
  x256a3   = ATxmega256A3
  x256a3b  = ATxmega256A3B
  x256a3bu = ATxmega256A3BU
  x256a3u  = ATxmega256A3U
  x256c3   = ATxmega256C3
  x256d3   = ATxmega256D3
  x32a4    = ATxmega32A4
  x32a4u   = ATxmega32A4U
  x32c4    = ATxmega32C4
  x32d4    = ATxmega32D4
  x32e5    = ATxmega32E5
  x384c3   = ATxmega384C3
  x384d3   = ATxmega384D3
  x64a1    = ATxmega64A1
  x64a1u   = ATxmega64A1U
  x64a3    = ATxmega64A3
  x64a3u   = ATxmega64A3U
  x64a4    = ATxmega64A4
  x64a4u   = ATxmega64A4U
  x64b1    = ATxmega64B1
  x64b3    = ATxmega64B3
  x64c3    = ATxmega64C3
  x64d3    = ATxmega64D3
  x64d4    = ATxmega64D4
  x8e5     = ATxmega8E5
  ucr2     = deprecated, use 'uc3a0512'

2016年2月28日 星期日