-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to setup inverting PWM signal and using +5v to switch off spindle motor? #22
Comments
There is no way to do this currently. Do you have a specific need for this? |
Because I bought the tb6560 drive its circuit design needs this, I have GRBL 0.9j modified, but Grbl 1.1 can not be used, this is casiobearing to modify the completed program. |
@viewsat : I'll add this to my to-do list, but it might be awhile. It's not a high-priority item. If you're successful in either updating the code yourself and convincing someone to help, please share the code. It'll help speed up the process to integrate it into the main repo here. |
And the relay? Is it just one to spindle EN and the other the 5V? On Oct 26, 2016 12:17 AM, "viewsat" notifications@github.com wrote:
|
@viewsat See Pull Request #246 https://github.com/gnea/grbl/pull/246 |
Very easy to invert the PWM signal in hardware at a cost of £0.10. Make both resistors a value of 1K Ohm, use a NPN transistor e.g. 2N3904 and finally ensure the +V is connected to the 5V from the Arduino, Vs = Connected to Arduino and Ground connected back to the Arduino. The VO = inverted signal. You're welcome. Just an FYI, this will toggle the output voltage to 0V or 5V (VS) respective, which is why it is suitable to invert the all Arduino signals without any messing around with code etc. (It will not provide an analogue inversion, for example 4v output for a 1v input etc - this is not in the scope of GRBL) |
Tks aqibi2000... More easy for noobs... same Me.. Work perfect. |
Hi,
How to setup inverting PWM signal and using +5v to switch off spindle motor?
The text was updated successfully, but these errors were encountered: