-
Notifications
You must be signed in to change notification settings - Fork 9
Run Laser CNC,Grbl_ESP32
-
Download Grbl_Esp32-main this code is based on the Grbl_Esp32.
-
Opening folder "Grbl_Esp32-main" with VScode Platformio
-
Select a board.
Open the
Grbl_Esp32\src\Machine.h
, you can find the default board is PandaM4#include "Machines/4axis_PandaM4.h"
if you use PandaZHU, please change it to
#include "Machines/4axis_PandaZHU.h"
farther more if you want to change the laser control type or control pin,you need to change it yourself in the
4axis_PandaM4.h
or4axis_PandaZHU.h
the default are#define SPINDLE_OUTPUT_PIN 22
#define SPINDLE_TYPE SpindleType::PWM
-
Build project by click the Bee icon--> release--> Build.
-
Flash firmware with microUSB: Connect PandaZHU or PandaM4 board to your computer with a microusb line,install CH340G USB driver , make sure there is a SD card in the slot(use the sd card detection pin(GPIO2) as firmware Download boot mode) and no serial/uart touch screen connected.Then Click to upload.
-
Download and install LaserGBL from https://lasergrbl.com/
-
Connect to board with one usb line
-
Open and choose one picture which you want to cut
-
Click Run button