585,670 active members*
4,654 visitors online*
Register for free
Login
IndustryArena Forum > OpenSource CNC Design Center > Arduino > Breaker board : NEWBIE on controlling a dc motor; ballscrew
Results 1 to 5 of 5
  1. #1
    Join Date
    Mar 2017
    Posts
    116

    Breaker board : NEWBIE on controlling a dc motor; ballscrew

    At work we are making a cutting tool; Of course we will get health and safty involved before we use any such tool!.

    We want to control a ballscrew with a dc motor using a board where it does the following ;

    1) one full cycle ; i.e forward and back
    2) but it only does it once every 15 minutes

    Do I require the breaker board on the picture; I code from PC then upload the coding into the chip?
    And the code is stored permenant?

    Can someone please help?

  2. #2
    Join Date
    Mar 2015
    Posts
    409

    Re: Breaker board : NEWBIE on controlling a dc motor; ballscrew

    You are showing an axis that uses a stepper motor. To control a stepper motor you need a stepper driver like a TB6600 or DM542T or many others.
    To controll the stepper driver, you need a CNC controller board. The one you show is probably a Mach3 controller board.

    You can upload a CNC program to Mach3. For that you need a PC. Restarting the program every 15 minutes, requires a bit more programming. The code is not stored on the Mach3 board

    A (simple no PC) solution would be to use a grbl controller and load the initialization code with the gcodes you need to run the stepper motion. Add some delays (dwell) to the gcode to wait the 15 minutes and finaly a reset command to start over again. The code is stored permanently on the Grbl controller board. I use this approach to run my small grinder that is controlled by an Arduino nano running grbl out of the box.

    An alternative would be Grbl_ESP32. That can run complete gcode files out of the box by the press of a button.

  3. #3
    Join Date
    Mar 2017
    Posts
    116

    Re: Breaker board : NEWBIE on controlling a dc motor; ballscrew

    what's difference in using Grbl_ESP32 method? more expensiver?

  4. #4
    Join Date
    Mar 2015
    Posts
    409

    Re: Breaker board : NEWBIE on controlling a dc motor; ballscrew

    The Grbl_ESP32 version is capable of running a gcode file from sd card. That allows more gcodes and is easier to test and maintain.

    Since you are a newbie, it is time to learn a bit about cnc control. Grbl has a very good WiKi and Youtube contains a lot of short video's about this subject. Depending on the complexity of how you want to move the axis there are other ways to do this. In the end, I am convinced that you will learn so much from using a CNC controller for this project, that you will benefit a lot for future projects.

    https://github.com/gnea/grbl/wiki
    https://github.com/bdring/Grbl_Esp32/wiki

  5. #5
    Join Date
    Mar 2017
    Posts
    116

    Re: Breaker board : NEWBIE on controlling a dc motor; ballscrew

    Thank you; I will enjoy this learning.

Similar Threads

  1. Mach3 not controlling PWM of BL-USBMach Break out Board of Chinese CNC3040 Machine
    By shadeyinka in forum Machines running Mach Software
    Replies: 9
    Last Post: 10-14-2021, 10:25 AM
  2. Replies: 2
    Last Post: 09-12-2017, 12:29 PM
  3. newbie questions on controlling homemade CNC
    By mtraven in forum CNC (Mill / Lathe) Control Software (NC)
    Replies: 5
    Last Post: 05-30-2009, 12:02 AM
  4. controlling stepper motor without pc
    By kerimtemel in forum Hobbycnc (Products)
    Replies: 4
    Last Post: 05-18-2005, 07:29 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •