Code Monkey home page Code Monkey logo

Comments (8)

bdring avatar bdring commented on July 23, 2024

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.

MCuserme avatar MCuserme commented on July 23, 2024

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.

MCuserme avatar MCuserme commented on July 23, 2024

BTW if you dont have time to deal with this, you don't have to I can live without it.

from grbl_esp32.

bdring avatar bdring commented on July 23, 2024

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.

MCuserme avatar MCuserme commented on July 23, 2024

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.

bdring avatar bdring commented on July 23, 2024

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.

bdring avatar bdring commented on July 23, 2024

Done. Try is on the dev branch.

from grbl_esp32.

MCuserme avatar MCuserme commented on July 23, 2024

Thanks, I will try it tomorrow.

from grbl_esp32.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.