2 wire motor + grbl = what shield to use

Results 1 to 6 of 6

Thread: 2 wire motor + grbl = what shield to use

  1. #1
    Registered
    Join Date
    Oct 2016
    Posts
    2
    Downloads
    0
    Uploads
    0

    Question 2 wire motor + grbl = what shield to use

    Hey guys,Im trying to make very basic 3 axis machine.I have used cd rom motors.I have used h bridge to control my motors which have only 2 pins and all worked well.Then I found out that grbl dont support h bridge.
    Im looking for shield that can step controll 3x 2 pins motors.
    Can someone help me please ?
    Pajamac

    Similar Threads:


  2. #2

    Default Re: 2 wire motor + grbl = what shield to use

    What are 2 Pin motors? DC motors? If they are standard DC motors, I dont think you can step them accurately enough to use on a CNC.

    Author of: The CNC Construction Set Books, the KRMx01, KRMx02, KRmc01, and KRmf70 CNC Books, the HANS Electric gear clock book. All available at www.kronosrobotics.com.


  3. #3
    Registered
    Join Date
    Oct 2016
    Posts
    2
    Downloads
    0
    Uploads
    0

    Default Re: 2 wire motor + grbl = what shield to use

    Well,Im not quite sure I think that cd roms use steppers cuz they need good accuracy + I used this code and motor was moving so I think that I have stepper motor.
    #include <Stepper.h>

    const int stepsPerRevolution = 200;
    Stepper myStepper(stepsPerRevolution, 6,3);

    void setup() {
    // set the speed at 6 rpm:
    myStepper.setSpeed(6);
    // initialize the serial port:
    Serial.begin(9600);

    Serial.println("clockwise");
    myStepper.step(stepsPerRevolution);

    Serial.println("anti");
    myStepper.step(-stepsPerRevolution);
    }




  4. #4
    Member
    Join Date
    Jan 2005
    Location
    USA
    Posts
    1943
    Downloads
    2
    Uploads
    0

    Default Re: 2 wire motor + grbl = what shield to use

    If the motor only has 2 wires then it is not a stepper. Plain and simple. A stepper motor will have AT LEAST 4 wires. You have asked this question on the GRBL Github forum and were given the same answer. Please do a google search for "stepper motor" and it will give you a myriad of websites that explain stepper motor operation.

    Your code will make a DC motor move, but that does not make it a stepper motor and does not mean you can control position. Your code is simply appyling a voltage to a DC motor. That in itself will make it turn. You could hook a battery to it and it will move too.

    GRBL only works with drivers that use step and direction inputs.



  5. #5
    Member Biggs427's Avatar
    Join Date
    Feb 2016
    Location
    Canada
    Posts
    285
    Downloads
    0
    Uploads
    0

    Default Re: 2 wire motor + grbl = what shield to use

    There's three different motors in a CD rom. The stepper that moves the head, the DC motor that spin the CD and then the DC motor that opens and closes the door.

    The only one having two wires is the door motor.



  6. #6
    Registered
    Join Date
    Feb 2016
    Location
    South Africa
    Posts
    14
    Downloads
    0
    Uploads
    0

    Default Re: 2 wire motor + grbl = what shield to use

    To use DC motors on a CNC, you will need rotary or strip encoders for step and direction input. Im not sure what shield you can use but there are lots of tutorials on Youtube of builds using rotary or strip encoders.



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
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

2 wire motor + grbl = what shield to use

2 wire motor + grbl = what shield to use