FarmBot / farmbot-arduino-firmware

Arduino firmware that executes g-code like commands over a serial line to move the FarmBot and operate the tool mount
MIT License
421 stars 197 forks source link

How to configure the code if i replace the RAMPs 1.4 with Arduino Mega by MKS GEN 1.4 ? #163

Closed alkhlama closed 2 years ago

RickCarlino commented 2 years ago

UPDATE: These instructions might not be relevant. See the next reply for more information.

@alkhlama This is a very difficult task and it would be easier to just use a supported board, such as RAMPS. I have never worked with the MKS GEN 1.4 before and do not have plans to add support for it, since our main focus is supporting users of official kits.

If you wanted to do this, you would need to:

It's important to note that adding support for arbitrary controller boards is possible, but it is not a goal of the project.

RickCarlino commented 2 years ago

Quick update: I was not aware that the MKS v1.4 is RAMPS compatible. If that is the case, you most likely need to just change your "FIRMWARE PATH" after enabling "ADVANCED SETTINGS":

image image

alkhlama commented 2 years ago

Thank you a lot it work now after I change the "FIRMWARE PATH"
I highly appreciated you support

alkhlama commented 2 years ago

Greetings Can I change the farmbot from Cartesian to Polar Representation and how we can increase the speed of the robot Your support is highly appreciated

Sent from my iPhone

On 8 Dec 2021, at 9:21 PM, Rick Carlino @.***> wrote:



Quick update: I was not aware that the MKS v1.4 is RAMPS compatible. If that is the case, you most likely need to just change your "FIRMWARE PATH" after enabling "ADVANCED SETTINGS":

[image]https://user-images.githubusercontent.com/1388608/145262534-6ca8ae31-0cf7-42d1-94d3-243c774a9589.png [image]https://user-images.githubusercontent.com/1388608/145262444-84c44e79-d44a-4051-b1c0-0c1b4055bb77.png

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/FarmBot/farmbot-arduino-firmware/issues/163#issuecomment-989060354, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AW2DHKV3BW5QAFRCODEH5ILUP6O3HANCNFSM5JTR3SBQ. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

RickCarlino commented 2 years ago

@alkhlama For general discussion, please see the FarmBot forum. We use Github for the discussion of specific developer-focused software problems and the main issue in this thread has already been solved/closed.

Can I change the farmbot from Cartesian to Polar Representation

You would need to change most aspects of the FarmBot software stack (firmware, FBOS, Web App, possibly API).

Some people have attempted this as a research project: https://digitalcommons.calpoly.edu/imesp/205/

I am not aware of any working, production-ready polar FarmBot systems in operation.

how we can increase the speed of the robot

You can increase the step count, but this comes at the cost of increasing the likelihood of a stall. Higher speeds mean you need straighter rails that are less tolerant of variation. If you notice that the device's movements are no longer reliable, that may be a sign that you set the speed too high.

Please see the official documentation for more information.