Comments (5)
You could use the spindle enable pin for the relay.
#define SPINDLE_ENABLE_PIN GPIO_NUM_2
from grbl_esp32_mpcnc_controller.
I tried this option. When it is in the mode $32=0, the spindle works as it should, but
when entering the parameter $32=1 and flashing the code
//#define USE_SPINDLE_RELAY
#ifdef USE_SPINDLE_RELAY
#ifdef V1P1
#define SPINDLE_PWM_PIN GPIO_NUM_17
#else // V1p2
#define SPINDLE_PWM_PIN GPIO_NUM_2
#endif
#else
#define SPINDLE_PWM_PIN GPIO_NUM_16
#define SPINDLE_ENABLE_PIN GPIO_NUM_2
#endif
the relay is often switched on/off, but there is no PWM signal at output 16. If
//#define USE_SPINDLE_RELAY
#ifdef USE_SPINDLE_RELAY
#ifdef V1P1
#define SPINDLE_PWM_PIN GPIO_NUM_17
#else // V1p2
#define SPINDLE_PWM_PIN GPIO_NUM_2
#endif
#else
#define SPINDLE_PWM_PIN GPIO_NUM_16
#define SPINDLE_ENABLE_PIN GPIO_NUM_32
#endif
the PWM signal on the pwm output (pin 16) works as it should.
from grbl_esp32_mpcnc_controller.
I might be able to write a custom machine definition file.
It would help to know exactly what you are trying to do and why.
from grbl_esp32_mpcnc_controller.
On the lowrider machine, allot of people have both a spindle and laser mounted at the same time. It would be nice to have the relay for turning on the spindle and PWM to run the laser. You would just then not supply source power to whichever tool you are not using.
from grbl_esp32_mpcnc_controller.
I made this well i tried 3 methods with videos. Linked pt1 https://youtube.com/shorts/0fDZFcwfVqU?si=npPupSD3e--cxUIT
Pt2 and coming. I burned my little red stepper driver and I have tried to use one blue relay and then I tried 1 blue relay controlling a regulator big relay and then that didn't work so I tried high and low trigger relay which really didn't work . Going thru drivers alot hahah
from grbl_esp32_mpcnc_controller.
Related Issues (19)
- Only one motor per axis moving HOT 17
- Error notice: Fan ground pin.
- Questions/Issues re: homing HOT 9
- Probe usage issue HOT 1
- How is the spindle relay being activated? HOT 2
- [notanissue] is there a way to buy it in eu HOT 1
- which file to print pcb? HOT 9
- port of your schematic HOT 6
- Issue in BOM "BOM_MPCNC Vp1p2p2.xlsx"
- PWM Voltage Drop
- more flexible support for stepstick modules HOT 33
- Connection stop button
- powered makerbot style endstop support HOT 4
- New Controller Revision
- Non-MPCNC use HOT 6
- Dual endstops per axis? HOT 1
- A-Axis Configuration HOT 1
- Fan pin - faulty ground pin HOT 6
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 grbl_esp32_mpcnc_controller.