586,065 active members*
4,645 visitors online*
Register for free
Login
IndustryArena Forum > CNC Electronics > CNC Machine Related Electronics > Please help with wiring for my small homemade machine
Results 1 to 8 of 8
  1. #1
    Join Date
    Nov 2017
    Posts
    6

    Please help with wiring for my small homemade machine

    Hi everyone,

    I'm relatively new to cnc machines. I've built one (larger) functional machine previously but decided I wanted to try build my own from old dvd/floppy drives, using a different cheaper controller board. I'm having trouble wiring up the drivers to the controller board. If anyone could help me I'd really appreciate it. Here's where I'm at:



    I've bought a very cheap 5 axis controller board (shown in pic below) and want to connect up some L298N drivers to it. I cannot get the stepper motors to work at all even though I know they are functional. I'm sure I'm just overlooking something really simple but just can't work out what.

    I want to use mach3 ultimately. I have already set-up mach3 according to the manual for my board, so I'm pretty sure it's just a wiring I have an issue with. My parallel port is working fine and it's set to the right port setting.

    I've searched the web many times but come up empty. Is there something wrong with using L298N drivers for running small 5v stepper motors in this way? The specs show they should be fine for such a small cnc machine.

    These are the things I'm trying to connect:

    5 axis cnc mach 3 board
    L298N driver board
    5v 4-wire stepper motor

    These are the boards and various connections (click for larger image):



    I've wired it up differently so many times with no success I'm very frustrated. I'm sure I've connected the actual stepper to the L298N driver correctly and have supplied the board with 5v. However I don't know how the In1, In2, In3, In4 connections connect to the 5 axis controller board. I believe two of the signal wires need 5v but I've no idea if something else needs enabling. I'm at a total loss.

    If more details are needed just let me know.

    Can anyone please help me with the wiring?

  2. #2
    Join Date
    Nov 2017
    Posts
    6

    Post Re: Please help with wiring for my small homemade machine

    Seems I made a mistake with the wiring for power to the stepper motor. Have now attached to 12v on the driver like the pic shows below:



    So the stepper motor gets power and has holding torque as it should when powered up, but I still can't get any movement from it. Any ideas please folks?

  3. #3
    Join Date
    Mar 2003
    Posts
    35538

    Re: Please help with wiring for my small homemade machine

    Do you have the right port address in Mach3? Are you using a PC with a 32bit OS?
    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

    Mach3 2010 Screenset
    http://www.thecncwoodworker.com/2010.html

    JointCAM - CNC Dovetails & Box Joints
    http://www.g-forcecnc.com/jointcam.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

  4. #4
    Join Date
    Nov 2017
    Posts
    6

    Re: Please help with wiring for my small homemade machine

    Thanks for the reply. Yes I have the right address and yes I'm running 32bit so Mach3 can work.

  5. #5
    Join Date
    Nov 2017
    Posts
    6

    Re: Please help with wiring for my small homemade machine

    Have changed it back to 5v as 12v was too much for such a little motor. I still can't figure out the L298N wiring to the controller board though. Maybe I've posted this in the wrong section on here.

    To sum up... I've got power to the stepper motor which gives it holding torque, it just won't move at all with any step commands. I still don't know how to connect the 5v pin, CLK pin, CW pin and EN pin to the L298N In1, In2, In3 and In4 pins.

    Someone must have used these common boards together in the past surely, they're some of the most common ones sold on ebay.

  6. #6
    Join Date
    Dec 2012
    Posts
    199

    Re: Please help with wiring for my small homemade machine

    This can't work.
    The output of your breakout board gives for each axis two signals. 1st Step 2nd Direction
    Direction can be High or Low and changes the direction of the motor
    Step gives one puls for each step of the motor. The driver board should accept these signals.
    The L298 board wants In1, In2, In3 and In4 and each of these inputs will drive the corresponding output high or low.
    so you need 4 signals to drive this in the good order. That needs some more logic
    Have a look at a DRV8825, or the older A4988 that will accept input from your breakout board ( do a search and you will find these rather cheap )
    Read the available documentation from the internet to understand how they work
    Good luck Toin.

  7. #7
    Join Date
    Nov 2017
    Posts
    6

    Re: Please help with wiring for my small homemade machine

    Thank you Toin, I will look for more info on those devices.

  8. #8
    Join Date
    Nov 2011
    Posts
    137

    Re: Please help with wiring for my small homemade machine

    Have a look at your board that has ENABLE on it should it be at either 5volts or grounded,check that out if I remember if that is not Enabled you could have every thing else hooked up correctly but with ENABLED not grounded or at the correct voltage there aint nothing moving...

Similar Threads

  1. my homemade cnc picture(need help whit wiring spindle please)
    By goorous in forum DIY CNC Router Table Machines
    Replies: 1
    Last Post: 07-09-2016, 07:35 PM
  2. What Homemade CNC for small RC aluminum parts?
    By PAPE in forum Hobby Discussion
    Replies: 7
    Last Post: 08-08-2013, 02:52 AM
  3. Small parts milled with my Homemade CNC
    By Laurent_parti in forum Videos
    Replies: 8
    Last Post: 07-31-2013, 02:26 PM
  4. Homemade CNC Machine Help
    By chaslam07 in forum DIY CNC Router Table Machines
    Replies: 4
    Last Post: 04-04-2012, 02:10 AM
  5. homemade machine help
    By cadfish in forum Uncategorised MetalWorking Machines
    Replies: 0
    Last Post: 03-22-2006, 06:54 AM

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
  •