Board logo

標題: Marlin 2.0.x 升級 - 首發 (以TinyBoy 為例子) [打印本頁]

作者: fred2088    時間: 2018-12-24 08:38     標題: Marlin 2.0.x 升級 - 首發 (以TinyBoy 為例子)

本帖最後由 fred2088 於 2020-4-6 23:50 編輯

Offer 大神早於 2014-9-6 已經首發 Arduino Mega 2560 + RAMPS1.4 + Marlin Firmware 如設定 Marlin 1.0.0 beta

https://www.hkepc.com/forum/view ... 259&tid=2120148

四年多後 Marlin 停止 1.x 的開發, 將開發已去到 2.x
希望可以在 2019年一月開始 ...
雖然內容只是皮毛步驟, 但為使在 HKEPC 人氣多D及令高手師兄多D發言及分享, 內容會先在這裡首發 !!!

見國內 大部份3D打印機的 Marlin 都只是升級去到 1.1.9, 希望他們會在來多D這裡, 為他們的機子升級 (自大說法... )
http://marlinfw.org/meta/features/ (進階功能等師兄們試了)

Marlin 2.x 好處
- 支援好多 32Bit 板 , ARM, STM32 ...
- 支援多類 LED燈, 機內照明及機箱燈, WS2812 / Neopixel/RGBW 等 (作小改可作進度燈)
- 支援 USB Flash Disk (8 Bit 去到 32 bit 主板)
- 支援用LCD Menu 使用人手換絲步驟
- 支援方便自定UI 介面
- 支援 SD 升級 Firmware - USB and SDCARD Firmware flashing for the ARDUINO ATMEGA 2560 and ADK
- 打印完成, 熱頭歸位
- M425 - Backlash compensation
- 支援 Touch Mon
- 支援開機動畫

https://www.hkepc.com/forum/redi ... 57&pid=37890392
[youtube]dkDnyQQjNQg[/youtube]
作者: fred2088    時間: 2018-12-24 08:38

本帖最後由 fred2088 於 2018-12-24 23:15 編輯

首先要知道自己部機的規格 :

找找有沒有舊 Marlin 1.x 的源代碼
或 寫下規格
打印機結構 : Cartesian ( Cartesian / Delta / SCARA / Core XY / Core XZ / Core YZ )
X 最大長度 :  100mm, 定位碰制 : Max
Y 最大長度 :  100mm, 定位碰制 : Min
Z 最大長度 :  105mm, 定位碰制 : Min
X 步進 : 每步 1.8度, 步進帶 : GT2, 牙距 : 2mm
Y 步進 : 每步 1.8度, 步進帶 : GT2, 牙距 : 2mm
Z 步進 : 每步 1.8度, 絲杆 : 3MM, 螺紋距離 : 0.5mm @圈
E 步進 : 每步 1.8度, 輪牙直徑 : 11mm
熱咀 : 1個
發熱管 : 50W 12V
熱感 : 100K NTC
風扇接線位 : 直連電源(不經主板)
顯示屏 : i2c 128x64 OLED ( i2C / SPI / TxRx )
SD 模塊 : SPI SD/MicroSD Shield
作者: fred2088    時間: 2018-12-24 08:38

本帖最後由 fred2088 於 2018-12-29 15:44 編輯

升級前預備

因為Marlin 2.0.x 用了樹型存檔,  Arduino IDE 是不支援的 (只會自動開啟同資料夾的文件), 所以要另找 Editor ...
我選了 Notepad++
還有其他的 Editor 可用 :
Sublime Text 3, Notepad++, TextMate, Visual Studio Code, Atom,
https://www.google.com/search?q=free+text+and+project+editors

Recommend by Marlin
https://github.com/MarlinFirmware/Marlin/tree/bugfix-2.0.x
To build Marlin 2.0 you'll need Arduino IDE 1.9 or PlatformIO. We've posted detailed instructions on how to build Marlin 2.0 for ARM.

1. 下載及 安裝 Arduino 1.8.8 (Current release) 1.9 還是 Beta
或 PlatformIO (未用過, 因為我只是初哥, 如果是32Bit板 PlatformIO 會好D ...)
2. 安裝 U8glib, Adafruit_NeoPixel (Sketch>Include Library>Manage Library:search U8glib, neopixel)
3. 使用Notepad+ 開啟 configuration.h 及 configuration_adv.h

*** 在修改時, 在修改了的內容前 加入記號 (我會用 // fred), 可以方便一次過搜尋所有已改動的內容 ...

m1.jpg

圖片附件: [自定開機 Logo] m1.jpg (2018-12-28 11:54, 98.83 KB) / 下載次數 430
https://h0.hkepc.com/forum/attachment.php?aid=2101639&k=3e1667fd1b18862c586ab7045ae311f0&t=1781817966&sid=1NGLIebDiy



圖片附件: [上載速度] m2.jpg (2018-12-28 11:56, 100.84 KB) / 下載次數 368
https://h0.hkepc.com/forum/attachment.php?aid=2101640&k=64ec464bced61c4135d8046e363ccb2b&t=1781817966&sid=1NGLIebDiy



圖片附件: [主板類別] m3.jpg (2018-12-28 12:00, 83.1 KB) / 下載次數 400
https://h0.hkepc.com/forum/attachment.php?aid=2101641&k=47bdd5f87fd7155c89a437136f7fbdcc&t=1781817966&sid=1NGLIebDiy



圖片附件: [自定打印機名稱] m4.jpg (2018-12-28 12:05, 104.21 KB) / 下載次數 394
https://h0.hkepc.com/forum/attachment.php?aid=2101643&k=568499914cbd7071b52c179a45cb25ea&t=1781817966&sid=1NGLIebDiy



圖片附件: [印絲直徑] m5.jpg (2018-12-28 12:08, 40.09 KB) / 下載次數 444
https://h0.hkepc.com/forum/attachment.php?aid=2101644&k=95252fce1bacacee10f10273409e18fe&t=1781817966&sid=1NGLIebDiy



圖片附件: [印咀及熱床溫感] m6.jpg (2018-12-28 12:11, 96.57 KB) / 下載次數 438
https://h0.hkepc.com/forum/attachment.php?aid=2101645&k=1db84cc9e74332f2c2d87eab2d1eee3c&t=1781817966&sid=1NGLIebDiy



圖片附件: [遠程送絲長度] m7.jpg (2018-12-29 00:57, 68.01 KB) / 下載次數 364
https://h0.hkepc.com/forum/attachment.php?aid=2101806&k=8028c2689ae441f47ecc9b2dcf3c5b79&t=1781817966&sid=1NGLIebDiy



圖片附件: [有效定位碰制] m8.jpg (2018-12-29 00:58, 102.39 KB) / 下載次數 395
https://h0.hkepc.com/forum/attachment.php?aid=2101807&k=9ca9ab12e7b6f3aba5ba0d772eb5504c&t=1781817966&sid=1NGLIebDiy



圖片附件: [碰制正反設定] m9.jpg (2018-12-29 01:02, 149.96 KB) / 下載次數 440
https://h0.hkepc.com/forum/attachment.php?aid=2101808&k=076b7ae3593d01454acfebe078c466e0&t=1781817966&sid=1NGLIebDiy



圖片附件: [XYZE 每mm 步數] m10.jpg (2018-12-29 01:05, 136.33 KB) / 下載次數 511
https://h0.hkepc.com/forum/attachment.php?aid=2101809&k=a2b4717b55fa385d439a2502428d4068&t=1781817966&sid=1NGLIebDiy



圖片附件: [最快步度] m11.jpg (2018-12-29 01:07, 48.67 KB) / 下載次數 469
https://h0.hkepc.com/forum/attachment.php?aid=2101810&k=a5b50aa9e3c1dc6a4edd50facc8d64a3&t=1781817966&sid=1NGLIebDiy



圖片附件: [最大加速] m12.jpg (2018-12-29 01:09, 75 KB) / 下載次數 466
https://h0.hkepc.com/forum/attachment.php?aid=2101811&k=22a910df2e525263f083939a9c412bfb&t=1781817966&sid=1NGLIebDiy



圖片附件: [預設加速] m13.jpg (2018-12-29 13:30, 126.34 KB) / 下載次數 308
https://h0.hkepc.com/forum/attachment.php?aid=2101846&k=ebd97760c0612dadad63b6a88119b8b2&t=1781817966&sid=1NGLIebDiy



圖片附件: [加減速緩衝] m14.jpg (2018-12-29 13:30, 108.61 KB) / 下載次數 476
https://h0.hkepc.com/forum/attachment.php?aid=2101847&k=ce3b83a3f50bcc281ca898bed3280d3e&t=1781817966&sid=1NGLIebDiy



圖片附件: [停止鎖死步進] m15.jpg (2018-12-29 13:30, 69.94 KB) / 下載次數 403
https://h0.hkepc.com/forum/attachment.php?aid=2101848&k=d325b78d382ec67167b14369de80e059&t=1781817966&sid=1NGLIebDiy



圖片附件: [步進轉動方向] m16.jpg (2018-12-29 13:30, 92.98 KB) / 下載次數 460
https://h0.hkepc.com/forum/attachment.php?aid=2101849&k=cd46c61fea00e2242fd9546079ae1e2e&t=1781817966&sid=1NGLIebDiy



圖片附件: [Z軸歸零位置] m17.jpg (2018-12-29 13:30, 59.75 KB) / 下載次數 370
https://h0.hkepc.com/forum/attachment.php?aid=2101850&k=5c3ba139f73052da86a53f1925315a9c&t=1781817966&sid=1NGLIebDiy



圖片附件: [XYZ軸歸零方向] m18.jpg (2018-12-29 13:30, 79.22 KB) / 下載次數 362
https://h0.hkepc.com/forum/attachment.php?aid=2101851&k=96a6998ecc0788db82f82af39ebcd194&t=1781817966&sid=1NGLIebDiy



圖片附件: [打印時數總計] m19.jpg (2018-12-29 13:30, 31.17 KB) / 下載次數 481
https://h0.hkepc.com/forum/attachment.php?aid=2101852&k=a51594c2c65e44e08e70f6e7681a69cb&t=1781817966&sid=1NGLIebDiy



圖片附件: [在選單設定歸零選項] m20.jpg (2018-12-29 13:30, 59.63 KB) / 下載次數 411
https://h0.hkepc.com/forum/attachment.php?aid=2101853&k=08cf953cba2885c18d4c85763c278e3b&t=1781817966&sid=1NGLIebDiy



圖片附件: [OLED設定] m21.jpg (2018-12-29 13:30, 133.12 KB) / 下載次數 416
https://h0.hkepc.com/forum/attachment.php?aid=2101854&k=ef7648106ed7fc257e9136012f7f583a&t=1781817966&sid=1NGLIebDiy



圖片附件: [刪除風扇針腳定義] m24.jpg (2018-12-29 15:26, 120.23 KB) / 下載次數 509
https://h0.hkepc.com/forum/attachment.php?aid=2101876&k=378c634b89e97fe63ee9c7f269356dc8&t=1781817966&sid=1NGLIebDiy



圖片附件: [自動風扇針腳定義] m22.jpg (2018-12-29 15:27, 126.51 KB) / 下載次數 363
https://h0.hkepc.com/forum/attachment.php?aid=2101877&k=da5ff6d9b4b1057d0c3f1801d69ddcc3&t=1781817966&sid=1NGLIebDiy



圖片附件: [TinyOLED 針腳定義] m23.jpg (2018-12-29 15:27, 83.72 KB) / 下載次數 427
https://h0.hkepc.com/forum/attachment.php?aid=2101878&k=f71869da9108bcccf0bc66f4a167f40c&t=1781817966&sid=1NGLIebDiy


作者: fred2088    時間: 2018-12-24 08:39

本帖最後由 fred2088 於 2018-12-31 10:55 編輯

LCD Menu Tree 修改

128x64 的選項修改 ... 在 Marlin-bugfix-2.0.x\Marlin\src\lcd\ultralcd.cpp
menu.png

圖片附件: menu.png (2018-12-31 10:55, 44.35 KB) / 下載次數 498
https://h0.hkepc.com/forum/attachment.php?aid=2102249&k=641b4efb010378799108978f964746cb&t=1781817966&sid=1NGLIebDiy


作者: fred2088    時間: 2018-12-24 08:39

本帖最後由 fred2088 於 2019-1-1 14:28 編輯

改 Menu 做大字 原本是5行的, 加大字改為 4 行 ...

U8glib Font List , 大家可從 Font List 選可支援的字型大小 來顯示 ...
https://github.com/olikraus/u8glib/wiki/fontsize

1.1.6以後... 已改用 Hallow highlight 以減低主板的工作, 但 XYZ 機可以用回反白選項, Delta 機會有點吃力 ...
\Marlin-bugfix-2.0.x\Marlin\src\lcd\ultralcd_impl_DOGM.h

m31.jpg

https://www.hkepc.com/forum/redi ... 57&pid=37974684

圖片附件: m31.jpg (2019-1-1 14:16, 124.25 KB) / 下載次數 447
https://h0.hkepc.com/forum/attachment.php?aid=2102429&k=b58dbe76734a70bdafeb24e471e3bce9&t=1781817966&sid=1NGLIebDiy



圖片附件: [\Marlin-bugfix-2.0.x\Marlin\src\lcd\ultralcd_impl_DOGM.h] m32.jpg (2019-1-1 14:27, 89.5 KB) / 下載次數 389
https://h0.hkepc.com/forum/attachment.php?aid=2102432&k=bd586a2dc53d6f7a88e04e13028d0537&t=1781817966&sid=1NGLIebDiy


作者: fred2088    時間: 2018-12-24 08:39

本帖最後由 fred2088 於 2019-1-2 11:31 編輯

自定 128x64 UI
也可為Marlin加入未支援的 LCD顯屏 (獨家支援 ... 又自 High ... 最重要是平 )

        u8g.setFont(u8g_font_fur14); 設定不同字體 (U8glib 內支援的字體)

m34.jpg


https://www.hkepc.com/forum/redi ... 57&pid=37974684

圖片附件: m34.jpg (2019-1-2 11:22, 38.19 KB) / 下載次數 394
https://h0.hkepc.com/forum/attachment.php?aid=2102544&k=449b03c83cc6dfe561407a362f35a1b0&t=1781817966&sid=1NGLIebDiy


作者: fred2088    時間: 2018-12-24 08:39

本帖最後由 fred2088 於 2019-1-2 11:39 編輯

支援 WS2812 / Neopixel , 機內燈, 機身燈 (又是獨家 20 x WS2812 自己玩做PCB ... )
m35.jpg



https://www.hkepc.com/forum/redi ... 57&pid=37974125

圖片附件: [Neopixel 設定] m35.jpg (2019-1-2 11:34, 134.54 KB) / 下載次數 357
https://h0.hkepc.com/forum/attachment.php?aid=2102548&k=86ccf3a4d5ffc3082411ba740245f547&t=1781817966&sid=1NGLIebDiy



圖片附件: [機箱燈] m36.jpg (2019-1-2 11:38, 141.69 KB) / 下載次數 365
https://h0.hkepc.com/forum/attachment.php?aid=2102549&k=86887c90f27d48f6d7021d8490664efe&t=1781817966&sid=1NGLIebDiy


作者: fred2088    時間: 2018-12-24 08:39

本帖最後由 fred2088 於 2019-1-12 21:16 編輯

USB 手指支援 (不用再找SD卡 ... )
Mini USB Host Sheild / USB Host Sheild for Uno $2x~$3x
支援Mega2560+RAMPS

m55.png


https://www.hkepc.com/forum/redi ... 57&pid=37999075

圖片附件: m55.png (2019-1-12 21:15, 36.87 KB) / 下載次數 383
https://h0.hkepc.com/forum/attachment.php?aid=2104656&k=65a705ff8952decef86d9a7853b2aea6&t=1781817966&sid=1NGLIebDiy


作者: fred2088    時間: 2018-12-24 08:39

本帖最後由 fred2088 於 2019-1-2 11:30 編輯

多頁打印資訊

1. 整體資訊
2. 熱頭資訊
3. XYZ座標資訊
4. SD卡打印進度資訊

在 Marlin-bugfix-2.0.x\Marlin\src\lcd\dogm\status_screen_DOGM.h 改 lcd_impl_status_screen_0()
可自定多少頁 page1 ~ page??

m33.jpg

  實機打印 ...
    [youtube]afOCooLNhVs[/youtube]

圖片附件: [Marlin-bugfix-2.0.x\Marlin\src\lcd\dogm\status_screen_DOGM.h] m33.jpg (2019-1-2 11:27, 114.15 KB) / 下載次數 368
https://h0.hkepc.com/forum/attachment.php?aid=2102547&k=d5ef62fdc5353a0fd568673b50de3cf4&t=1781817966&sid=1NGLIebDiy


作者: fred2088    時間: 2018-12-24 08:39

本帖最後由 fred2088 於 2019-1-4 00:06 編輯

預計打印所需時間
Printing ETA

打印機的打印% 是以已打印的Byte數 除以檔案大小的Byte數,
而預計打印所需時間, 有不同的處理手法,
1. 在切片時計算之後以備註加入GCODE 內, 如切片時沒有加入時間備註,便顯示不倒 ...
2. 以已打印的時間及 % 計算出 預計打印所需時間 ,  初計算出來的打印時間會相差很多 ...
        預計時間 = (已用時間 / 已用%) * 100) - 已用時間;
3. 可能還有其他方法 ...

m37.jpg


圖片附件: m37.jpg (2019-1-2 11:51, 73.27 KB) / 下載次數 382
https://h0.hkepc.com/forum/attachment.php?aid=2102553&k=731b01c95674c8e52c6c9f31d28ef775&t=1781817966&sid=1NGLIebDiy


作者: seasky    時間: 2018-12-24 13:58

提示: 作者被禁止或刪除 內容自動屏蔽
作者: fred2088    時間: 2018-12-24 14:33

本帖最後由 fred2088 於 2018-12-24 14:36 編輯

回覆 11# seasky

Prusa Firmware 已放出 source code ...
應有人做了
https://github.com/revilor/Marlin/tree/MMU2
https://github.com/MarlinFirmware/Marlin/issues/11859
用RX/TX 應唔難 ... 但我地無 MMU2

https://github.com/prusa3d/Prusa ... K3/Firmware/mmu.cpp
https://manual.prusa3d.com/Guide ... ssembly/757?lang=en

所以Marlin 的功能比其他 Firmware 會多好多Makers支援修改 ...
作者: seasky    時間: 2018-12-24 15:46

提示: 作者被禁止或刪除 內容自動屏蔽
作者: fred2088    時間: 2018-12-25 00:10

回覆 13# seasky


    什麼是近視佬 (老人家看不明 ...)
作者: fred2088    時間: 2018-12-26 00:34

updated ...
作者: fred2088    時間: 2018-12-26 23:04

本帖最後由 fred2088 於 2018-12-28 11:43 編輯

回覆 15# fred2088

Notepad++ 都幾方便 可以 :
Search current file,
search open file
search all file in directory
save last opened files list

notepad1.jpg

圖片附件: notepad1.jpg (2018-12-26 23:02, 68.46 KB) / 下載次數 268
https://h0.hkepc.com/forum/attachment.php?aid=2101295&k=1969ef8ad6aa0aada424f9a99f590618&t=1781817966&sid=1NGLIebDiy


作者: seasky    時間: 2018-12-27 09:08

提示: 作者被禁止或刪除 內容自動屏蔽
作者: fred2088    時間: 2018-12-27 10:41

回覆 17# seasky

收到 ... 受教 ...
作者: fred2088    時間: 2018-12-27 21:45

Download Arduino IDE and Library ...
作者: bam1a    時間: 2018-12-28 07:01

支援cortex m3同m4板已經好大驚喜
唔怪只得mks好似蠢咗咁出re-arm相容板同死唔停產sbase,原來係發現marlin 2.0支援佢哋
作者: fred2088    時間: 2018-12-28 12:02

本帖最後由 fred2088 於 2018-12-29 16:39 編輯

- 自定開機 Logo - _Bootscreen.h
- 上載速度 - 現在一般設定為 250000
- 主板類別 - 一般 Mega2560+RAMPS1.4
- 自定打印機名稱
- 印絲直徑 - 一般 是 1.75mm
- 印咀及熱床溫感 - 一般 1: NTC 100K
作者: fred2088    時間: 2018-12-29 01:11

- 遠程送絲長度
- 有效定位碰制
- 碰制正反設定
- XYZE 每mm 步數
- XYZE 最大步速
- XYZE 最大加速
作者: fred2088    時間: 2018-12-29 13:38

本帖最後由 fred2088 於 2018-12-29 15:34 編輯

- 預設加速
- 加減速緩衝
- 停止鎖死步進
- 步進轉動方向
- Z軸歸零位置
- XYZ軸歸零方向
- 打印時數總計 - 可顯示打印機的總打印時數及成功打印次數
- 在選單設定歸零選項 - 可在選單上單獨使 XYZ歸零
- OLED設定 - 設定使用 TinyOLED 顯屏
- 自動風扇針腳定義 - 50度自動開關風扇
- TinyOLED 針腳定義
- 刪除風扇針腳定義
作者: fred2088    時間: 2018-12-29 15:17

回覆 23# fred2088


    把以上所有設定好便可正常使用 ...

   但如要其他額外功能設定, 便要再看下去 ...
作者: fred2088    時間: 2018-12-30 17:00

本帖最後由 fred2088 於 2018-12-31 00:43 編輯

自定開機 Logo  

128x64 pixel BMP

http://marlinfw.org/tools/u8glib/converter.html
test.png

圖片附件: test.png (2018-12-30 16:59, 102.35 KB) / 下載次數 256
https://h0.hkepc.com/forum/attachment.php?aid=2102125&k=9bcd3d50ec60708a5204222b35fc6ee3&t=1781817966&sid=1NGLIebDiy


作者: fred2088    時間: 2018-12-31 11:00

如想加減選項便可以進行修改
作者: fred2088    時間: 2018-12-31 23:40

回覆 26# fred2088


    開始改大字 ...
作者: fred2088    時間: 2019-1-1 14:29

U8glib 支援的 Font List, 可在 Marlin 自己選擇 ...
https://github.com/olikraus/u8glib/wiki/fontsize
作者: fred2088    時間: 2019-1-2 11:36

回覆 28# fred2088


    設定自定資訊畫面及多頁打印資訊 ...
作者: fred2088    時間: 2019-1-5 11:28

本帖最後由 fred2088 於 2019-1-5 11:29 編輯

回覆 29# fred2088


    接 CLK, MISO, MOSI, SS, INT, 5V, GND, RST
或用 USB HOST SHIELD for UNO 便不用接線

便可用
作者: fred2088    時間: 2019-1-12 21:26

回覆 30# fred2088


    USB and SDCARD Firmware flashing for the ARDUINO ATMEGA 2560 and ADK
https://github.com/FleetProbe/MicroBridge-Arduino-ATMega2560
作者: fred2088    時間: 2019-1-12 21:58

本帖最後由 fred2088 於 2019-1-12 22:17 編輯

為 TinyBoy - Marlin 2.0.x 加入 打印完成後, 自動把印頭歸位及 把印件的Y 軸行到最出 ...
不用在 切片加 GCode

https://www.hkepc.com/forum/redi ... 57&pid=38094578
作者: fred2088    時間: 2019-1-12 22:07

手動換絲選項

M62.jpg

圖片附件: M62.jpg (2019-1-12 22:07, 32.78 KB) / 下載次數 235
https://h0.hkepc.com/forum/attachment.php?aid=2104669&k=6d239fd5c2ee7ed3e522e8405a583d7b&t=1781817966&sid=1NGLIebDiy


作者: fred2088    時間: 2019-2-2 22:50

支援 Prusa MMU2 ...

mmu.png

圖片附件: mmu.png (2019-2-2 22:49, 25.52 KB) / 下載次數 250
https://h0.hkepc.com/forum/attachment.php?aid=2108344&k=60de7df1458724fb9cc719a5bcf47938&t=1781817966&sid=1NGLIebDiy


作者: fred2088    時間: 2019-2-4 09:29

marlin-config
https://github.com/akaJes/marlin ... mp3yO1lY97Foi2N0oWU

作者: fred2088    時間: 2019-2-17 00:17

本帖最後由 fred2088 於 2019-3-24 19:33 編輯

關機續印 - SD卡打印合用 ...
Continue after Power-Loss Option
m69.png

This feature operates without a power-loss detection circuit by writing to the recovery file periodically (e.g., once per layer), or if a POWER_LOSS_PIN is configured then it will write the recovery info only when a power-loss is detected. The latter option is preferred, since constant writing to the SD card can shorten its life, and the print will be resumed where it was interrupted rather than repeating the last layer. (Future implementations may allow use of the EEPROM or the on-board SD card.)

New M-Code to enable/disable Power-loss Recovery
http://marlinfw.org/docs/gcode/M413.html

圖片附件: m69.png (2019-2-17 00:16, 30.3 KB) / 下載次數 231
https://h0.hkepc.com/forum/attachment.php?aid=2110462&k=29f64121bee86f5b1b428ef8c99cd669&t=1781817966&sid=1NGLIebDiy


作者: fred2088    時間: 2019-3-1 00:50

2.0.x 支援機箱溫度 Sensor
#define TEMP_SENSOR_CHAMBER 0
作者: fred2088    時間: 2019-3-18 10:50

沒有大不了的功能, 但貼心 : 再打印同一檔案, 按選擇便可 ...
m66.png

圖片附件: m66.png (2019-3-18 10:50, 12.4 KB) / 下載次數 260
https://h0.hkepc.com/forum/attachment.php?aid=2115526&k=a8236fde581d0c1a00a7c3dbdf7c940d&t=1781817966&sid=1NGLIebDiy


作者: palpatrick    時間: 2019-3-21 22:53

marlin-config
fred2088 發表於 2019-2-4 09:29

好怕答問題!   仲要咁多條!

via HKEPC IR Pro 3.5.1 - iOS(2.4.1)
作者: fred2088    時間: 2019-3-23 15:34

Filament Width Sensor ... 高級用戶之選 ...

M77.jpg

圖片附件: M77.jpg (2019-3-23 15:34, 38.52 KB) / 下載次數 207
https://h0.hkepc.com/forum/attachment.php?aid=2116432&k=941b3974eb812ccf37fe547aeadfa9b3&t=1781817966&sid=1NGLIebDiy


作者: fred2088    時間: 2019-3-24 19:31

New M-code to enable/disable filament runout sensor
M412 - Filament Runout
http://marlinfw.org/docs/gcode/M412.html
m412.png

圖片附件: m412.png (2019-3-24 19:30, 66.98 KB) / 下載次數 203
https://h0.hkepc.com/forum/attachment.php?aid=2116712&k=c8aaa98b8b07284521dd2d431179cdef&t=1781817966&sid=1NGLIebDiy


作者: fred2088    時間: 2019-3-30 23:05

回覆 41# fred2088

2.0.x 新加的的斷絲設定
m78.png

圖片附件: m78.png (2019-3-30 23:04, 66.19 KB) / 下載次數 202
https://h0.hkepc.com/forum/attachment.php?aid=2117803&k=e70a2befa9df7d2598776af045f3bb5a&t=1781817966&sid=1NGLIebDiy


作者: fred2088    時間: 2019-4-4 09:53

回覆 34# fred2088


    Prusa MMU2 advanced settings (since Marlin 2.0)
m79.png

圖片附件: m79.png (2019-4-4 09:53, 92.33 KB) / 下載次數 237
https://h0.hkepc.com/forum/attachment.php?aid=2118569&k=ae6f8c9b43dd9115d162656db7fb1246&t=1781817966&sid=1NGLIebDiy


作者: fred2088    時間: 2019-4-13 14:35

高手在民間 ...

Marlin 2.0 Game edition.
Configuration_adv.h :
// Frivolous Game Options
#define MARLIN_BRICKOUT
#define MARLIN_INVADERS
#define MARLIN_SNAKE

57094473_1962455597215462_6166591125927755776_o.jpg

圖片附件: 57094473_1962455597215462_6166591125927755776_o.jpg (2019-4-13 14:34, 32.24 KB) / 下載次數 227
https://h0.hkepc.com/forum/attachment.php?aid=2120235&k=e7fc153654b9ee544c0be14e37a75dd7&t=1781817966&sid=1NGLIebDiy



圖片附件: 57106652_1962455863882102_3554291544330600448_o.jpg (2019-4-13 14:34, 35.92 KB) / 下載次數 203
https://h0.hkepc.com/forum/attachment.php?aid=2120236&k=887702ea5ba53c0b7add413469255756&t=1781817966&sid=1NGLIebDiy


作者: chrisclw    時間: 2019-4-23 20:47

想問Tinyboy 2 L16 係唔係都可以升級去Marlin 2.0?
作者: fred2088    時間: 2019-4-24 11:40

回覆 45# chrisclw

因為 L10 及 L16 是用 Mezli主板,  它只有 128K 內存, 不像 Mega2560 有 256K 內存,
所以 如真的要升 Marlin 2.0 的話,

要停用Marlin 2.0 內的 SDSUPPORT 及 OLED,
另買 Touch Mon , 因為 Touch Mon 是用 Serial RX/TX 控制 Marlin ...
作者: fred2088    時間: 2019-4-24 13:54

回覆 46# fred2088

L10 / L16 最好的是用 Marlin 1.1.8
作者: chrisclw    時間: 2019-4-27 16:42

回覆  fred2088

L10 / L16 最好的是用 Marlin 1.1.8
fred2088 發表於 2019-4-24 13:54


咁有冇其他板可以於得入Tinyboy2?
作者: fred2088    時間: 2019-4-27 17:07

回覆 48# chrisclw


    任何其他Mega2560 的 二合一主板都可用, 但D位未必啱位放入去...
作者: fred2088    時間: 2019-5-6 23:35

支援控制主板散熱扇 ...
m80.png

圖片附件: m80.png (2019-5-6 23:34, 25.64 KB) / 下載次數 215
https://h0.hkepc.com/forum/attachment.php?aid=2124761&k=e6e81c073b309f9aed56ef2a3e16a291&t=1781817966&sid=1NGLIebDiy


作者: dsm    時間: 2019-5-7 00:59

想問Tinyboy 2 E16 係唔係都可以升級去Marlin 2.0?
作者: fred2088    時間: 2019-5-7 09:10

回覆 51# dsm

可以呀 !!! 還在作最後測試。。。 可以聯絡我們試吓呀 ...

    https://www.hkepc.com/forum/redi ... 57&pid=37879360
作者: palpatrick    時間: 2019-5-10 16:13

我試過load落delta 機, 可惜行Auto bed 向下行咗30cm 就short short 地, 有無師兄成功行到?

via HKEPC IR Pro 3.5.1 - iOS(2.4.1)
作者: fred2088    時間: 2019-5-23 20:08

那些國內 STM 板支持 Marlin 2 ? 閉源的都可以 ? 當然是啦 ...
那就是 用戶群多的好處 呢 ...
大家可以試下 ...

https://samuelpinches.com.au/3d- ... inter-motherboards/
作者: fred2088    時間: 2019-6-8 15:59

Esp32 running Marlin2.0 on Ender 3

[youtube]IPPHjSX-xTE[/youtube]
作者: fred2088    時間: 2019-6-8 16:12

回覆 55# fred2088


    可以自己做 ...
    控制板 已放出來... 有興趣的師兄, 可以自己做 ... 我們已開始了 ... 不過唔知幾時完成 ...
     太多 Project 玩 ...
    https://easyeda.com/exilaus/esp32controller-master
作者: palpatrick    時間: 2019-6-8 17:38

回覆  fred2088


    可以自己做 ...
    控制板 已放出來... 有興趣的師兄, 可以自己做 ...  我們已 ...
fred2088 發表於 2019-6-8 16:12

這個好正喎! 自己可以造一塊試下!
作者: fred2088    時間: 2019-6-8 18:07

回覆 57# palpatrick


    但都是要 TB 的大大才可以在商業上發揚光大 ....  
作者: hklb    時間: 2019-6-8 19:50

回覆 53# palpatrick


    ching 係咪用過auto calibration,  如果係可以試吓先restore default 先
作者: bam1a    時間: 2019-6-8 20:33

Esp32 running Marlin2.0 on Ender 3

[youtube]IPPHjSX-xTE[/youtube]
fred2088 發表於 8/6/2019 17:59

開始有些小興趣,ESP32呢啲行realtime OS都可以做到咁嘅效果
你會唔會試下整幾個試下實裝落TB到?
作者: palpatrick    時間: 2019-6-8 20:42

回覆  palpatrick


    ching 係咪用過auto calibration,  如果係可以試吓先restore default 先 ...
hklb 發表於 2019-6-8 19:50

謝謝師兄! 我試到心灰,用緊repetier firmware .
順咗好多,雖然無咁多function, 但夾octoprint
非常流暢,依家玩緊ESP8266, 試好咗就可以3秒開到wifi, 直接電腦send比SD卡,實行無線打印,唔洗等Pi zero W load 成幾分鐘!

Uploaded_via_HKEPC_IR_Pro_iOS(C0C86).jpg

圖片附件: Uploaded_via_HKEPC_IR_Pro_iOS(C0C86).jpg (2019-6-8 20:42, 126.1 KB) / 下載次數 256
https://h0.hkepc.com/forum/attachment.php?aid=2131484&k=ec965a391a8a9e022e806115771ae750&t=1781817966&sid=1NGLIebDiy


作者: hklb    時間: 2019-6-8 20:57

回覆 61# palpatrick


    之前用octoprint upload sd 真係頂唔順咁慢,但如果sd 係塊esp 到應該唔會咁慢
作者: fred2088    時間: 2019-6-8 21:02

Marlin 2.0 no more beta ...
https://twitter.com/MarlinFirmware
作者: palpatrick    時間: 2019-6-8 22:04

回覆  palpatrick


    之前用octoprint upload sd 真係頂唔順咁慢,但如果sd 係塊esp 到應該唔會咁慢 ...
hklb 發表於 2019-6-8 20:57

師兄! 有無試過用Slic3r ? 我可一鍵upload + print
作者: hklb    時間: 2019-6-9 14:05

回覆 64# palpatrick


    初玩時用藍牙玩過,藍牙3d print 絕對係自殺行為,當時玩完就無再用,都係等wifi 先用,宜家都有打算試吓esp3d ,最主要唔想長時間hold住部電腦
作者: bam1a    時間: 2019-6-18 21:36

回覆  fred2088


    可以自己做 ...
    控制板 已放出來... 有興趣的師兄, 可以自己做 ...  我們已 ...
fred2088 發表於 8/6/2019 18:12



好似好正咁,宜家有無進度?
作者: fred2088    時間: 2019-6-18 22:10

回覆 66# bam1a


    只是畫了PCB圖 , 未上TB 做 板 ...
作者: fred2088    時間: 2019-6-22 23:43

Marlin 2.0 on 樂積-X
[youtube]3KxIjmrS60o[/youtube]
作者: palpatrick    時間: 2019-6-24 16:55

Marlin 2.0 on 樂積-X
[youtube]3KxIjmrS60o[/youtube]
fred2088 發表於 2019-6-22 23:43

點解好似行得Cake cake地?
作者: fred2088    時間: 2019-6-24 17:45

回覆 69# palpatrick

始終都是新, 要高手 Adopt ...
作者: hklb    時間: 2019-6-24 18:04

回覆 69# palpatrick


    早輪我都係, 應該係之前marlin 2 有bug, 宜家無事
作者: palpatrick    時間: 2019-6-24 19:05

回覆  palpatrick


    早輪我都係, 應該係之前marlin 2 有bug, 宜家無事
hklb 發表於 2019-6-24 18:04

玩新嘢都係有代價!
作者: hklb    時間: 2019-6-24 22:13

回覆 72# palpatrick


    雖然我同自己講係未有Release 用住bug fix 先,但實情係有release 都係用bug fix,  真係有啲犯賤
作者: fred2088    時間: 2019-6-24 22:44

回覆 73# hklb


    bug fix 是最新的 nightly-build
    release 版都是有好多 bug 的 ...
作者: hklb    時間: 2019-6-24 23:00

回覆 74# fred2088


    係,所以係唔係都係用bug fix,  但 release 小啲機會有大問題
作者: fred2088    時間: 2019-6-28 08:52

本帖最後由 fred2088 於 2019-6-28 08:53 編輯

回覆 66# bam1a

另一ESP32 3D打印機 主板 ... R2版

    https://www.cnx-software.com/201 ... marlin-2-0-firmware
作者: fred2088    時間: 2019-6-28 09:10

回覆 76# fred2088


    新一代 ESP32-S2 ....
esp32.jpg

圖片附件: esp32.jpg (2019-6-28 09:10, 104.41 KB) / 下載次數 156
https://h0.hkepc.com/forum/attachment.php?aid=2134875&k=e7e82cbaf6ae699a1e90b272254425e9&t=1781817966&sid=1NGLIebDiy


作者: bam1a    時間: 2019-7-31 15:40

回覆  bam1a


    只是畫了PCB圖 , 未上TB 做 板 ...
fred2088 發表於 19/6/2019 00:10


推一下問進度
JLCPCB有無聽過?
好似做到少量批次生產底板
作者: hklb    時間: 2019-7-31 18:13

推一下問進度
JLCPCB有無聽過?
好似做到少量批次生產底板
bam1a 發表於 2019-7-31 15:40



    睇片好似好正, 不過想起焊幾粒排阻都想死就放棄
作者: fred2088    時間: 2019-8-8 11:38

回覆 79# hklb

Marlin 2.0 RC1 - TODO

   https://github.com/MarlinFirmware/Marlin/issues/14345
作者: fred2088    時間: 2019-8-22 16:46

本帖最後由 fred2088 於 2019-8-22 16:47 編輯

回覆 61# palpatrick

給它一件外衣 ...
https://www.thingiverse.com/thin ... 0TKt4HVaKN2HJiv-1f4

圖片附件: kossel.jpg (2019-8-22 16:45, 46.01 KB) / 下載次數 135
https://h0.hkepc.com/forum/attachment.php?aid=2145298&k=ceada028ac5be022a4c97b1859316a6e&t=1781817966&sid=1NGLIebDiy


作者: hklb    時間: 2019-8-22 18:24

回覆  palpatrick

給它一件外衣 ...
fred2088 發表於 2019-8-22 16:46



    好靚仔喎
作者: palpatrick    時間: 2019-8-22 20:06

回覆  palpatrick

給它一件外衣 ...
fred2088 發表於 2019-8-22 16:46

靚到發青光! 可能要印40-50個鐘!
作者: bam1a    時間: 2019-10-1 04:05

回覆  bam1a


    只是畫了PCB圖 , 未上TB 做 板 ...
fred2088 發表於 19/6/2019 00:10



再次召喚
作者: fred2088    時間: 2019-10-1 12:50

回覆 84# bam1a

之前的 ESP32 GPIO 不夠, 要加 i2c to GPIO module ...
新版 ESP32-S2 有 43 GPIO, 但又只有 Single Core ...
都是新硬件進化快 ...
    https://www.espressif.com/en/new ... s2-secure-wi-fi-mcu
作者: bam1a    時間: 2019-10-1 23:23

回覆  bam1a

之前的 ESP32 GPIO 不夠, 要加 i2c to GPIO module ...
新版 ESP32-S2 有 43 GPIO, 但 ...
fred2088 發表於 1/10/2019 14:50



其實仲有個ESP32-pico-d4,有49個pin
不過無咁流行就真
咁我就諗32+8266會唔會係出路?
作者: fred2088    時間: 2019-12-3 11:17

本帖最後由 fred2088 於 2019-12-3 12:16 編輯

2.0 正式來了 ...
https://github.com/MarlinFirmwar ... yeNRbP9TckQufANkDG4

2.1 也在開發中 ...

http://marlinfw.org/meta/download/

New Features
32-bit support with several boards added
DUE / SAM3X8E
Grand Central / SAM5D
Smoothie / SBASE / EZBoard / LPC176x
SKR Mini / STM32
ESP32
Improved support for AVR boards
Melzi / ATmega 1280
RAMPS / ATmega 2560
RAMBo / miniRAMBo / Einsy RAMBo
PlatformIO build environments for supported boards
VSCode “Auto Build Marlin" extension for one-click build
Power-Loss Recovery (for SD print jobs)
(Magnetic) Parking Extruder support
(Magnetic) Switching Toolhead and Toolchanger support
Prusa MK2 Multiplexer support
Prusa Multi-Material Unit v2 (MMU2) support
Gradient Mixing and Gradient Virtual Tools
Automatic power supply control
More Trinamic driver support, including TMC2208/9
Touch Mi probe support
Rack & Pinion probe support
Improved BLTouch support, extended 3.0 options
Games for Graphical LCD
LED control menu
EEPROM auto-init
Lulzbot Touch UI support
Extensible UI for serial / touch displays, from Lulzbot
FSMC display support
Custom thermistor formula option
Heated Chamber support
External closed loop controller support
Dual stepper axes, triple Z, multi-endstop, Z auto-align
Dual X (IDEX) mirror mode
Homing backoff
Minimum planner speed option
Backlash Compensation with tuning
Re-Print last SD file from LCD option
SD firmware flash support
SD card sharing with host PC options
Optimized SD binary file transfer option
Distinct Spindle / Laser options
M7/M8/M9 Coolant Control
M16 Expected Printer Check
M486 Cancel Objects
Analog Joystick axis jogging
Display total E during print option
Improvements
Support for up to 6 extruders
Junction Deviation enabled by default
Improved Linear Advance compatibility
More temperature sensors supported
Simplified probe boundary configuration
Extended tool-change options
Extended M240 photo trigger options
Improved Max7219 support
More UI languages including Korean and Vietnamese
More graphical Status Screen layout options
Configurable limits for editable planner settings
More LCD display types and options
Improved delta calibration
For Developers
Hierarchical file layout
Standardized HAL interfaces
Indexed menu item titles
Automated serial response routing
Known Issues
Mixing Extruder with G10/G11 may have quirks
Sensor-less probing is still pretty experimental
作者: fred2088    時間: 2019-12-3 16:48

M425 - Backlash compensation
backlash.png

圖片附件: backlash.png (2019-12-3 16:47, 95.54 KB) / 下載次數 152
https://h0.hkepc.com/forum/attachment.php?aid=2163031&k=5c30fbbb9566d4cc31974307e3446b00&t=1781817966&sid=1NGLIebDiy


作者: fred2088    時間: 2019-12-23 14:01

ESP32 控制板到手 ... 上個 Marlin 2.0 先 ...
WhatsApp Image 2019-12-20 at 18.06.43-min.jpg

圖片附件: WhatsApp Image 2019-12-20 at 18.06.43-min.jpg (2019-12-23 14:00, 102.56 KB) / 下載次數 152
https://h0.hkepc.com/forum/attachment.php?aid=2166559&k=d4e57416765108f40b21b40e08698dfb&t=1781817966&sid=1NGLIebDiy


作者: xo_ox    時間: 2019-12-23 15:02

ESP32 quicker ?
作者: fred2088    時間: 2019-12-23 16:09

本帖最後由 fred2088 於 2019-12-30 14:06 編輯

回覆 90# xo_ox

     Marlin 2.0 + ESP3D + ESP3D web UI
    32bit 240MHz, dual-core, wifi, bluetooth, tf card
作者: fred2088    時間: 2019-12-24 17:21

本帖最後由 fred2088 於 2019-12-24 17:23 編輯

Build-in ESP3D with SD ...

圖片附件: WhatsApp Image 2019-12-24 at 17.15.41.jpg (2019-12-24 17:22, 23.1 KB) / 下載次數 140
https://h0.hkepc.com/forum/attachment.php?aid=2166853&k=af67770638febbc104cc6170567f15ca&t=1781817966&sid=1NGLIebDiy


作者: fred2088    時間: 2019-12-26 15:28

回覆 89# fred2088

   有 Github source , 不用自己改 ...

    https://github.com/2081617/Potato-ESP32-3D-Printer-Controler
作者: fred2088    時間: 2019-12-26 17:13

回覆 93# fred2088


    用 GCode M587, M588, M589 去設定 SSID, AP Mode, Router Mode ...
作者: fred2088    時間: 2019-12-28 19:23

本帖最後由 fred2088 於 2019-12-28 19:27 編輯

2.0 支援 新的 ADS7843/XPT2046 ADC Touchscreen such as ILI9341 2.8

lcd.jpg


圖片附件: lcd.jpg (2019-12-28 19:23, 44.5 KB) / 下載次數 116
https://h0.hkepc.com/forum/attachment.php?aid=2167802&k=c693b8c2f7237d1e6ddd44752be6c24e&t=1781817966&sid=1NGLIebDiy


作者: fred2088    時間: 2020-4-6 23:44

Marlin 2.0 Bootscreen Animation
[youtube]5vx4MSty_2o[/youtube]
作者: fred2088    時間: 2020-4-27 22:28

回覆 96# fred2088


    現在才有時間為TinyBoy E10 - Marlin 2.0.x 做動態開機畫面 ...
[youtube]GoBZZWGlzuA[/youtube]
作者: tuung    時間: 2020-5-1 18:39

你好 有小小野想請教下 我係用ender 3 既 但係我插咗USB ISP插埋底板(底板會有燈)
但係起Marlin見唔到個序列埠 咁請問應該要點做?
作者: fred2088    時間: 2020-5-1 23:35

回覆 98# tuung


    Ender3 用那主板 ?
作者: tuung    時間: 2020-5-2 00:08

回覆 99# fred2088


    用原裝底板





歡迎光臨 電腦領域 HKEPC Hardware (https://h0.hkepc.com/forum/) Powered by Discuz! 7.2