Comments (9)
If it can't be solved, I hope you can provide me with a bin firmware, I want to replace the Grbl_Esp32 control board sold before with grblhal_esp32, Grbl_Esp32 can be compiled with vc code Platformio and arduino, which is much simpler for me,
from esp32.
If the compilation problem is not easy to solve, can you provide a compiled bin file? Here is his pin assignment:
#define MACHINE_NAME "ESP32_V4"
#define X_STEP_PIN GPIO_NUM_21
#define X_DIRECTION_PIN GPIO_NUM_14
#define Y_STEP_PIN GPIO_NUM_26
#define Y_DIRECTION_PIN GPIO_NUM_15
#define Z_STEP_PIN GPIO_NUM_27
#define Z_DIRECTION_PIN GPIO_NUM_33
#define X_LIMIT_PIN GPIO_NUM_17
#define Y_LIMIT_PIN GPIO_NUM_4
#define Z_LIMIT_PIN GPIO_NUM_16
#define A_STEP_PIN GPIO_NUM_25
#define A_DIRECTION_PIN GPIO_NUM_13
//Adir GPIO_NUM_13
//Apul GPIO_NUM_25
#define SPINDLE_TYPE SpindleType::PWM
#define SPINDLE_OUTPUT_PIN GPIO_NUM_2 // PWM pin
#define SPINDLE_ENABLE_PIN GPIO_NUM_22 // Spindle start
#define COOLANT_FLOOD_PIN GPIO_NUM_12 // Coolant
#define PROBE_PIN GPIO_NUM_32 //Tool detection
from esp32.
Judging from the more than 150 esp32 control boards that have been sold, for amateur CNC, people seem to like the grbl of the esp32 port. It has many functions. It can connect to the control computer without plugging in usb, and can use wifi, bluetooth, etc. control,
from esp32.
In addition, I have established a Chinese grbl website to provide users with Chinese grbl tutorials, http://www.grbl.cc/
from esp32.
Looks like you have not downloaded the submodules with the --recurse-submodules option.
The simplest way to add your pin mapping is to create my_machine_map.h in the main directory, add definitions, and enable that in CMakelists.txt. BTW the mappings shown above is not compatible with grblHAL.
Grbl_Esp32 can be compiled with vc code Platformio and arduino
It should be possible to build grblHAL with VSCode - I did that earlier, but I have gave up on it after an automatic upgrade broke something. It should be possible to use platformio as well if you are able to create an ini-file. Compiling with Arduino is not possible without more fundamental code changes?
FYI there is a regression in the source that I have not yet comitted a fix for.
from esp32.
It's frustrating, or it doesn't work, I don't know what I'm doing wrong? English is not my native language and it's a headach
e
from esp32.
I used the --recurse-submodules download, also enabled a pinout file in my_machine.h, also in CMakeLists.txt
,
from esp32.
from esp32.
You have to run the ESP-IDF startup script to setup the environment for compiling. On my machine there are two versions found on the Start menu in the ESP-IDF "folder" - this is what I get when starting ESP-IDF 4.3 CMD shortcut:
Then I have to change directory to the project folder before building/flashing.
When building with idf.py my_machine.h is not used at all, configuration has to be done in CMakeLists.txt, if you added my_machine_map.h for your board you have to disable (set to OFF) this line:
Line 7 in a02a4a4
and enable (set to ON) this line:
Line 16 in a02a4a4
I recommend using my_machine_map.h for custom mappings as this will not be overwritten on updates.
from esp32.
Related Issues (20)
- Flashed xPRO V5 Only communicating with X axis driver HOT 2
- Compilation error HOT 9
- Build fails with error in uart_serial.c HOT 11
- Watchdog task when connecting to WiFi HOT 1
- flash firmware su mks dlc32 v.2.1 HOT 24
- Controller randomly stops HOT 4
- unable to compile latest version HOT 4
- Issues Web interface HOT 6
- Can't compile BOARD_MKS_TINYBEE_V1 .esp32 I get errors HOT 3
- Spindle minimum stop time 1 sec. and I have a laser. HOT 4
- typo in vscode ini files HOT 3
- How to use UART1? HOT 7
- Difficult to compile ESP32 Project! HOT 2
- "Task watchdog got triggered." when WEBSOCKET_ENABLE or TELNET_ENABLE HOT 6
- Web Builder - auto square HOT 3
- Build image not working HOT 21
- Changing pin mapping - MKS Tinybee HOT 4
- Limits override cannot save. HOT 1
- How to invert motor fault pin? HOT 2
- E-stop (Reset) no pullup? HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esp32.