Procházet zdrojové kódy

update laser engraver. still not finished.

Thomas Buck před 2 roky
rodič
revize
9d11b8e412
3 změnil soubory, kde provedl 9 přidání a 5 odebrání
  1. 9
    5
      input/projects/laser-engraver.md
  2. binární
      static/img/laser_lcd.jpg
  3. binární
      static/img/laser_lcd_small.jpg

+ 9
- 5
input/projects/laser-engraver.md Zobrazit soubor

@@ -51,10 +51,11 @@ The OpenSCAD and STL files for these parts [can be found on my Printables profil
51 51
 
52 52
 ### Electronics
53 53
 
54
-TODO intro
54
+As mentioned above I used the electronics, namely mainboard, LCD and fans, from my old 3D printer.
55 55
 
56 56
 <!--%
57 57
 lightgallery([
58
+    [ "img/laser_lcd.jpg", "LCD mounted to laser engraver" ],
58 59
     [ "img/laser_gt2560.jpg", "GT2560 mainboard of laser engraver" ],
59 60
 ])
60 61
 %-->
@@ -86,13 +87,17 @@ And the ground connection is also the one that's switched, when connecting the l
86 87
 So even when the MOSFET was turned off the laser still had a ground connection and was powered through the ground pin of the TTL connector, so it could never fully turn off.
87 88
 So if you do the same, make sure to only connect one of the two ground pins!
88 89
 
89
-TODO display
90
-
91 90
 ## Software
92 91
 
93 92
 ### MCU Firmware
94 93
 
95
-TODO marlin configuration
94
+Most DIY laser engravers or CNC machines seem to use the [GRBL firmware](https://github.com/gnea/grbl).
95
+Unfortunately this firmware only runs on Atmega328p MCUs, so I can not use it with the Atmega2560 on the GT2560 mainboard.
96
+There are some GRBL ports, for [ESP32](https://github.com/bdring/Grbl_Esp32) or [STM32](https://github.com/thomast777/grbl32) microcontrollers, but obviously these don't help either in my situation.
97
+
98
+So I decided to use the trusty old [Marlin Firmware](https://marlinfw.org/), which was already running previously on my old 3D printers and this mainboard.
99
+Configuring Marlin is pretty straight-forward, there's a [configuration guide](https://marlinfw.org/docs/configuration/configuration.html) but the settings in the two config header files are well commented and pretty much self explanatory.
100
+The only interesting parts are the laser-specific settings in `Configuration_adv.h`, like `LASER_FEATURE` and `LASER_POWER_SYNC`.
96 101
 
97 102
 Apparently I seem to be the first person that tries to run an Ultimaker Controller 2004 LCD without a Z-Axis.
98 103
 I had to add a couple of `#ifdef Z_AXIS` in `src/lcd/HD44780/marlinui_HD44780.cpp`.
@@ -123,7 +128,6 @@ Below I will try to document all different free software packages I tried for la
123 128
 The first solution I found out about is [LaserGRBL](https://lasergrbl.com/).
124 129
 It is a Windows-only program, but at least it is open-source / free software.
125 130
 As the name implies however, it is intended for use with the [GRBL firmware](https://github.com/gnea/grbl).
126
-This firmware only runs on Atmega328p MCUs, so I can not use it.
127 131
 
128 132
 The G-Code flavor of GRBL is considerably different compared to Marlin, but I was able to get it to work mostly.
129 133
 

binární
static/img/laser_lcd.jpg Zobrazit soubor


binární
static/img/laser_lcd_small.jpg Zobrazit soubor


Loading…
Zrušit
Uložit