-
Notifications
You must be signed in to change notification settings - Fork 9
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
lcd dro+ sdcard+ keypad =autonomous lathe #4
Comments
I have seen the video's and it is looking good. Place a link to the video's in your text so others can benefit. I think the way you made your encoder (big red knob) is also usable for a spindle encoder. Good work I hope to see a video testing on a lathe soon. |
Have tried it on lathe. It has so many issues. Sad (
I am very disappointed. Understood that cant figure out it all by myself only. Need help of someone who did it many times... Here is short video in the begining of testing, so no any issue is on video. |
Developing software and hardware isn't easy. It takes a lot of effort to get things working.
To avoid interference:
Make sure all parts are grounded at one point (star ground) to avoid ground loops through the control cables.
You can use 1k pullups on the input, works just a bit better
Try first to get normal turning and facing working. Then move on to threading. |
There is also a grbl compiler option to reduce noise GRBL-L-Mega WiKi, the chapter Changed Compiler options:
|
I will check one more time all that items you pointed to. |
This is very good to hear. First try the setup that has proved to be working OK. If it still is working OK, than you must be able to get your software working. Enabling debouncing was the only way I could get may larger lathe working stable. It is worth to try first!!! |
Main problems was solved/
|
Noticed that sd_detect (port L0) pin on same port as CTR_Door(L6) CTR_FeedHLD(L4) CTR_reset(L2). Maybe here is problem somewhere... |
320 steps/mm is enough for decent turning.
Homing on a lathe is normally 2 axis. Grbl defaults to 3 axis. You should set the homing sequence for a lathe: It is important that grbl is in an error free state before sending commands. I sometimes use UGS (platform version) for diagnostics. The output window can be set to verbose (right mouse button) so you can see all errors reported by grbl. It also shows the pin states that makes it easier to identify pins that are in an alarm or active state. Depending on homing settings in config.h grbl could require homing first before running any commands. I have no experience in using a sd card on grbl controllers. |
I have created repository with a project here on github. have read out almost all code. cant find difference of parsing $H sended via usb and via lcd menu. But via lcd menu I have alarm in the end of homing cycle, via usb all is ok. |
I remember I had such an issue using grbl_ESP32 sending commands using USB and Bluetooth was OK, using WiFi didn't work. |
I have fixed almost all issues. Tested on my lathe. No any remarks at the moment. But I didnt test threading on machine yet. On the table it was good. |
Sounds good |
Almost finish combining this project with https://github.com/bdurbrow/grbl-Mega
Everything is working on the table.
Here is what I have for the moment https://youtu.be/N7hlYoIhV2g
Here you can see what parts it consist of https://youtu.be/8M4gzLkSXls
Feel free to comment and ask if you have something. If you want to be betatester I'll appreciate your help.
The text was updated successfully, but these errors were encountered: