tag:blogger.com,1999:blog-3615478772815290200.post1121275702658701291..comments2024-02-21T19:57:00.859+01:00Comments on 3D printer improvements: Replacing LinuxCNC with a Smoothieboard for CNC milling. Not as easy as for 3D printing!Jeremie Francoishttp://www.blogger.com/profile/02984201174566394892noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-3615478772815290200.post-24746477597222777302020-06-09T19:54:22.798+02:002020-06-09T19:54:22.798+02:00I've only cut 2 projects on this 3040T CNC so ...I've only cut 2 projects on this 3040T CNC so far as it sat for a year before I could get F360 running in WINE. So I starting learning F360 and sliced the toolpaths with Kiri:Moto. Those were cut being fed the toolpaths with CNCjs on an rPi over USB to the Nano wired to a DB25. Worked reliably. <br /><br />I believe the ESP32/Grbl_Esp32 will work fine over USB too and probably better with a uSD card attached and with better step rates too. But I'm having 2nd thoughts on using this because I can't get my A axis working. And since the buffer board I'm using( $25 from Xylotex ) is made for the BeagleBoneBlack/BBB I too are having thoughts of doing Machinekit. I have 2 available BBBS and a 3rd on a Mini Kossel 3D printer.<br /><br />I'm new to GRBL and CNC but have experience with Machinekit on the 3D printer(using CRAMPS). Also do laser cutting so have a bit of background which gets me in trouble sometimes. LOL. I have my 3040T controller next to me now and opened up because I thought Grbl_Esp32 was setup for 4 axis only to find out last night that setting $113 changed the Y axis rate and not A axis. I can't get A working except by cheating and putting it on Y. If you'd like to vchat drop me an email and I can fire up Jitsi.doogliehttps://www.blogger.com/profile/10603345107912509055noreply@blogger.comtag:blogger.com,1999:blog-3615478772815290200.post-61848340475813983432020-06-09T10:32:56.193+02:002020-06-09T10:32:56.193+02:00Excellent! Thanks for the feedback
GRBL on a nano ...Excellent! Thanks for the feedback<br />GRBL on a nano really struggles for more serious work, so the ESP32 is probably much better (and you get wifi CNC as a bonus -- probably nor a good idea for real-time machining though). On my side I went back using the user-hellish but powerful LinuxCNC.<br />I guess I would try an ESP32 if I had to try something else, or a Beaglebone black.<br />Last time I had a A-axis job it was trivial enough that I wrote the g-code myself and cowardly used the Y-axis instead (ie. still 3 axis: X,Z,A...)!Jeremie Francoishttps://www.blogger.com/profile/02984201174566394892noreply@blogger.comtag:blogger.com,1999:blog-3615478772815290200.post-89748327266537797862020-06-08T23:07:05.285+02:002020-06-08T23:07:05.285+02:00I just got around to putting Grbl-Esp32 on the 304...I just got around to putting Grbl-Esp32 on the 3040T and it works great. I'm trying to setup the 4th axis which lead me back here to see if you'd done any A-Axis setup. I used the 4-axis machine type, added E-Stop and it works.<br /><br />My mapping follows for the Barebones adapter board: http://xylotex.netfirms.com/OSCommerce/catalog/product_info.php?products_id=146<br /><br />From Vide CNC LPT Pinout<br />db25 Pin Description BBB_Pins GRBL_ESP32_Pins<br /> 1 A Enable 8.10 *GPIO_NUM_13<br /> 2 X Step 8.19 GPIO_NUM_0<br /> 3 X Direction 8.18 GPIO_NUM_2<br /> 4 Y Step 8.17 GPIO_NUM_26<br /> 5 Y Direction 8.16 GPIO_NUM_15<br /> 6 Z Step 8.15 GPIO_NUM_27<br /> 7 Z Direction 8.14 GPIO_NUM_33<br /> 8 A Step ** 8.13 GPIO_NUM_12<br /> 9 A Direction ** 8.12 GPIO_NUM_14<br />10 Reset / Abort / E-Stop 9.11(IN_1) GPIO_NUM_23(*added)<br />11 Z limit( Mach 3 video =X) 9.13(IN_2) GPIO_NUM_36(SP)<br />12 Y limit( Mach 3 video =Y) 9.23(IN_3) GPIO_NUM_35<br />13 X limit( Mach 3 video =Z) 9.41(IN_4) GPIO_NUM_34<br />14 X Enable 8.7(OUT_1) *GPIO_NUM_13 <br />15 Probe 8.9(IN_5) GPIO_NUM_32<br />16 Y Enable( Mach 3 vidoe =Output1) 9.14(OUT_2) *GPIO_NUM_13<br />17 Z Enable 9.15(OUT_3) *GPIO_NUM_13<br />18 - 25 Ground GND<br />SPINDLE PWM GPIO_NUM_25<br />SPINDLE ENABLE GPIO_NUM_22doogliehttps://www.blogger.com/profile/10603345107912509055noreply@blogger.comtag:blogger.com,1999:blog-3615478772815290200.post-15902812698506116752019-07-08T08:54:43.092+02:002019-07-08T08:54:43.092+02:00I am really sorry for my late answer, and I am ver...I am really sorry for my late answer, and I am very pleased you posted the solution in the end. May I add it to the body of the post (with attribution as usual)?<br /><br />Also, did you end up trying Grbl-esp32? How well did it go?<br /><br />I found that grbl/nano is still a bit short on power, and switched back to LinuxCNC on a dedicated old laptop (well, the move was mostly because I had to use all 4 axis at some point and it was not possible with grbl).<br />Still I loved the combo, and I think an ESP32 is a better candidate than an Arduino nano.<br />Thanks & sorry again!Jeremie Francoishttps://www.blogger.com/profile/02984201174566394892noreply@blogger.comtag:blogger.com,1999:blog-3615478772815290200.post-34887029666054185672019-06-28T03:30:57.119+02:002019-06-28T03:30:57.119+02:00Figured it out. The signal definitions for the DB2...Figured it out. The signal definitions for the DB25 were incorrect. These worked: db25 Pin Description<br /> 1 A Enable<br /> 2 X Step<br /> 3 X Direction<br /> 4 Y Step<br /> 5 Y Direction<br /> 6 Z Step<br /> 7 Z Direction<br /> 8 A Step **<br /> 9 A Direction **<br />10 Reset / Abort / E-Stop<br />11 Z limit( Mach 3 video =X)<br />12 Y limit( Mach 3 video =Y)<br />13 X limit( Mach 3 video =Z)<br />14 X Enable<br />15 Probe<br />16 Y Enable( Mach 3 vidoe =Output1)<br />17 Z Enable<br />18 - 25 Ground <br />doogliehttps://www.blogger.com/profile/10603345107912509055noreply@blogger.comtag:blogger.com,1999:blog-3615478772815290200.post-71053615750401644832019-06-28T00:20:04.712+02:002019-06-28T00:20:04.712+02:00I would also like to see what your grbl customized...I would also like to see what your grbl customized settings were for the 3040(your pic looks like you have a 3040) since I too have a 3040 too.<br />doogliehttps://www.blogger.com/profile/10603345107912509055noreply@blogger.comtag:blogger.com,1999:blog-3615478772815290200.post-76569672167351096612019-06-27T23:36:14.545+02:002019-06-27T23:36:14.545+02:00cool blog post and it has me looking to first conn...cool blog post and it has me looking to first connect a Nano to get bCNC working with the 3040T and then work on getting Bart Dring's Grbl-esp32 working with it via level shifters. But I have a question, I've wired up the Nano with the DB25p but can't get movement with bCNC and default grbl 1.1.<br /><br />Any hints?<br /><br />Wiring per grbl site and these DB25 pins:<br />GRBL PWM Layout Common CNC LPT Pinout<br />Description Arduino/Pin db25 Pin Description<br />Reset/Abort A0/23 10 1 Output<br />Feed Hold A1/24 2 X Direction<br />Cycle Start A2/25 3 X Step<br />Coolant Enable A3/26 4 Y Direction<br />unused/reserved A4/27<br />Probe A5/28 15 5 Y Step<br />Step X D2/4 3 6 Z Direction<br />Step Y D3/5 5 7 Z Step<br />Step Z D4/6 7 8 A Direction **<br />Direction X D5/11 2 9 A Step **<br />Direction Y D6/12 4 10 Reset / Abort / E-Stop<br />Direction Z D7/13 6 11 X limit<br />Stepper Enable D8/14 16 12 Y limit<br />Limit X D9/15 11 13 Z limit<br />Limit Y D10/16 12 14 A limit **<br />Spindle PWM *D11/17 ? 16 Enable **<br />Limit Z *D12/18 13 15 Probe<br />Spindle Dir D13/19 ? 17 Output<br />18 - 25 Ground <br />doogliehttps://www.blogger.com/profile/10603345107912509055noreply@blogger.com