paulusjacobus / SuperGerbil

STM32 driven ARM Grbl firmware
23 stars 11 forks source link

Incompleteness of the source #5

Open mjhejazi opened 1 year ago

mjhejazi commented 1 year ago

Hi.

I import the program to the stm32cubeide and fixed the initial compilation problems, but when I put it on the stm32f103C8t6 it doesn't work for me.

Can you guide me?

paulusjacobus commented 1 year ago

Hi Mohammed,

The code was written for coocox so you can set up coocox ide to compile it.

The other option if you prefer stm cube ide is to use my new code for the stm32f407. You can make this work for the a stm32f103 very easy by changing the process and startup file in cube ide.

It has taken a long time to move away from unsupported coocox to stm cube ide.

Let me know if you have any questions and I'll be happy to help. I can post the new code on a Google drive and share it with you.

Cheers Paul

On Fri, 21 July 2023, 1:32 am Mohammad Javad Hejazi, < @.***> wrote:

Hi.

I import the program to the stm32cubeide and fixed the initial compilation problems, but when I put it on the stm32f103C8t6 it doesn't work for me.

Can you guide me?

— Reply to this email directly, view it on GitHub https://github.com/paulusjacobus/SuperGerbil/issues/5, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACBZGKLSPKZ4BVQY2SELV7DXRFFQRANCNFSM6AAAAAA2RTQDVE . You are receiving this because you are subscribed to this thread.Message ID: @.***>

mjhejazi commented 1 year ago

Hi paulusjacobus,

Thanks for your answer

Yes, I know, grbl stm32 initial codes are written for coocox.

Yes, I would be grateful if you share the new code with me.

According to your experience with grbl, can it be trusted and used in industrial devices? It works stably with the same frequency of 100k Hz as you said.

paulusjacobus commented 1 year ago

Hi Mohammed,

I would not recommend the code to be used in an industrial environment or with large industrial devices. The code would need to be extended with more error handling and more than one limit switch per axis. The code is basically a blind man system where the controller count the pulses and the physical gantry system is assumed not to loose any steps. For industrial use you would need to expand the code to use encoders on the axis. This would not be too difficult in the code, just compare input pulses with the actual controller count and correct the counter when they differ.

The current code is good for hobby purposes where a small mistake doesn't cost a lot of money.

i will drop the code in a google drive when i get home tonight.

Thanks Paul

On Sat, 22 July 2023, 8:31 pm Mohammad Javad Hejazi, < @.***> wrote:

Hi ,

Thanks for your answer

Yes, I know, grbl stm32 initial codes are written for coocox.

Yes, I would be grateful if you share the new code with me.

According to your experience with grbl, can it be trusted and used in industrial devices? It works stably with the same frequency of 100k Hz as you said.

— Reply to this email directly, view it on GitHub https://github.com/paulusjacobus/SuperGerbil/issues/5#issuecomment-1646552826, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACBZGKLEM6H6LT5C3SOPE4DXROTZXANCNFSM6AAAAAA2RTQDVE . You are receiving this because you commented.Message ID: @.***>

mjhejazi commented 1 year ago

Hi paul,

Your explanatory material was useful to me.

I would like to upgrade the code. Like the Marlin code, which is without a system and has a display, and the ability to run the code from external memory.

Thanks Mohammad

paulusjacobus commented 1 year ago

Hi Mohammed,

apologies for the late reply but I'm swamped by work right now. What you're after has already been done by a group of people that created grblHAL. See https://github.com/grblHAL/STM32F4xx

I haven't used the code since I really found it a bit too complicated to understand and customise for my purposes but let me know if this would suit you otherwise we can go the other route of customising the existing code.

Cheers, Paul

On Sat, 29 Jul 2023 at 00:52, Mohammad Javad Hejazi < @.***> wrote:

Hi paulusjacobus,

Your explanatory material was useful to me.

I would like to upgrade the code. Like the Marlin code, which is without a system and has a display, and the ability to run the code from external memory.

Thanks Mohammad

— Reply to this email directly, view it on GitHub https://github.com/paulusjacobus/SuperGerbil/issues/5#issuecomment-1655823241, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACBZGKJE23CYRWOPNWLTOI3XSPG3LANCNFSM6AAAAAA2RTQDVE . You are receiving this because you commented.Message ID: @.***>

wandlerdarwin commented 1 year ago

I have compiled the code using GRBL 1.1f on a STM32F103C8T6 with mu custom made 4 axis daughter board you just plug the blue pill into using my SERVO motors for wicked fast movement and 16000 shaft pulses per rev I added rack and pinion with 10:1 gearboxes . It is a rocket with unbelievable accuracy. I make units 5 feet by 10 feet capable of 800 inches a minute. Once I dumped steppers and Arduino for the STM32 with SERVO motors my systems took on a whole new marketplace. The servos have internal overload limit switching as well as the rock solid limit stop switches I use on the system none of those cheapo ebay or amazon micro switches only robust industrial switches like on an oven door bolted in place that will hard stop servo. wandler@abnet.ca if you want the code and daughter board and pics of my designs

paulusjacobus commented 1 year ago

Thank you for your email. Love it when people continue to design and build something new. Maybe you can post your project on hackster or hackaday? That would be really great. I'm curious to see you project photos or even a video.

I have moved to STM32F407's since these give me a bit more room to work with then the STM32F103.

Good luck,

Paul

On Thu, 10 Aug 2023 at 17:11, wandlerdarwin @.***> wrote:

I have compiled the code using GRBL 1.1f on a STM32F103C8T6 with mu custom made 4 axis daughter board you just plug the blue pill into using my SERVO motors for wicked fast movement and 16000 shaft pulses per rev I added rack and pinion with 10:1 gearboxes . It is a rocket with unbelievable accuracy. I make units 5 feet by 10 feet capable of 800 inches a minute. Once I dumped steppers and Arduino for the STM32 with SERVO motors my systems took on a whole new marketplace. The servos have internal overload limit switching as well as the rock solid limit stop switches I use on the system none of those cheapo ebay or amazon micro switches only robust industrial switches like on an oven door bolted in place that will hard stop servo. @.*** if you want the code and daughter board and pics of my designs

— Reply to this email directly, view it on GitHub https://github.com/paulusjacobus/SuperGerbil/issues/5#issuecomment-1672680210, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACBZGKMFQKD2DBYHZGZSP4TXUSCQVANCNFSM6AAAAAA2RTQDVE . You are receiving this because you commented.Message ID: @.***>