Comments (8)
Currently the focus is getting Bluetooth, the SD card and Wifi working using only I/O on the CPU. Everything is done except wifi (almost done).
The spindle direction pin on the reference hardware design is being used for the SD card, so getting spindle direction working is not a priority.
You could probably use GPIO16 (currently flood coolant), or GPIO21 andd 22 (probably an LCD in the future)
BTW: What application needs spindle direction?
from grbl_esp32.
I have a VFD for a spindle with which I control speed and direction. It is not critical to have a spindle dir controlled by software but it is nice to have.
I am currently in process of building a cnc machine where I use 2.2kw spindle.
I do not plan to use SD card or Wi-Fi or anything of that sorts so what code should I add to assign spindle direction to a specified pin.
Thanks
from grbl_esp32.
BTW if you dont have time to deal with this, you don't have to I can live without it.
from grbl_esp32.
I'll give it a look soon. Do you use the flood coolant control? That would be the easiest to disable.
Just curious, what machining operation do you do with the spindle in reverse.
from grbl_esp32.
It is true that is is very rare you need CCW spinning but there are endmills and drills that need to spin CCW.
I dont use flood coolant control.
from grbl_esp32.
OK, I am adding spindle direction and enable control. Both are optional and can be assigned to any available I/O pin.
As part of this feature I am changing the way coolant controls work. To enable either (mist or flood) coolant control you simply assign it a pin.
If this method works well, I may use it to enable more axes.
It should not take too long to add and test.
from grbl_esp32.
Done. Try is on the dev branch.
from grbl_esp32.
Thanks, I will try it tomorrow.
from grbl_esp32.
Related Issues (20)
- 3axis_v4.h
- Esp32.h HOT 3
- Translate Machine.h for MACHINE HOT 2
- CNC202610
- Translate Machine.h for CNC202610 HOT 1
- Translate Machine.h for electronic_dreams_v4_3axis HOT 1
- Translate Machine.h for ON1KZB HOT 1
- what is the maximum number of axes in simultaneous motion supported by ESP32_GRBL? HOT 3
- Translate Machine.h for Nicky HOT 1
- Translate Machine.h for 3Axis V4 HOT 1
- Translate Machine.h for 3Axis_V4 HOT 1
- Translate Machine.h for 3Axis_V4 HOT 2
- Translate Machine.h for obi_bot HOT 1
- impossible change home cycle for X and Y without Z on 3axis_v4 HOT 1
- Translate Machine.h for MyEggBot HOT 1
- Translate Machine.h for koputo HOT 1
- Translate Machine.h for koputo rs485 wo rts HOT 1
- Translate Machine.h for RS-CNC32 HOT 1
- Translate Machine.h for RS-CNC32 HOT 1
- Translate Machine.h for MFj_CNC HOT 1
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.