Arduino BED stepper Manual Control - Electronics Forums

Author Topic: Arduino BED stepper Manual Control  (Read 21055 times)

MarkN

  • Trusted Member
  • *
  • Posts: 8
  • Karma: +0/-0
  • I can spell oldsering iron.
    • View Profile
Arduino BED stepper Manual Control
« on: August 26, 2014, 02:20:09 AM »
G'day. I am an older type Lecky, brought up on 6BM8's, Ward Leonard Control Systems, and was master Lecky on the ARK. But I have wasted the working part of my life in Sales and Marketing. So, you could say I know "stuff", or else "stuff all"
      I want to"manually" control, fwd/rev and speed, via a stepper, the X axis of a 2hp milling machine. Once up and running, I will then put a Stepper onto the Tailstock of my Lathe, then a Stepper onto the feed of my Bench Drill.
There will be the one controller, which will be transposed to whichever machine I need "feed"
This device in China, http://www.aliexpress.com/item/Power-Feed-Drill-mill-Machine-Power-table-Feed-Easy-control-auto-feeder-machine-free-shipping/1391609298.html   is precisely what I need, well 3 of them, but reckon, 3 steppers set up with 1 controller, will be a lot cheaper.
        Elabz, has a set up, with Arduino/BED, to do exactly what I want. But it isn't, behaving..!  :'(
According to the Cct,    http://elabz.com/manually-controlling-bipolar-stepper-motor-with-arduino-and-easydriver/#comment-27095  power from the BED, also provides power to Arduino. This is not happening, Arduino is not powering up.  Plug in the PC, via the USB port, 'n no problems.
BED power supply is 24 vdc, with 6 amps to play with.
I am using Arduino UNO R3 and Big Easy Driver v1.2, maybe wondering if there is a problem here.
    So, yes,  I need some help.   I am just not confident enough to grab 5vdc from the BED and slip it over to Arduino. ::)   
    Help, Please,
Mark Needham
September 1.  Got him sorted[/b]. Have connected up the 5v o/p from the Big Easy Driver to the Gnd/Vcc. No big Bangs. Just the port problem to get past now, and load the 'sketch'
« Last Edit: September 01, 2014, 02:43:32 AM by MarkN »
As you sow, so shall you reap.

Electronics Forums

Arduino BED stepper Manual Control
« on: August 26, 2014, 02:20:09 AM »

MarkN

  • Trusted Member
  • *
  • Posts: 8
  • Karma: +0/-0
  • I can spell oldsering iron.
    • View Profile
Re: Arduino BED stepper Manual Control
« Reply #1 on: September 02, 2014, 02:03:13 AM »
Got him sortedNope, be buggered if I have.
Got Comms port 'n drivers in OK. Sketch finally checked and uploaded.
Power up, LED's light up 'n blink, and smiled. ( I'm sure)
tried him FWD, adjust speed. Nowt.
tried him Bwd, adjust speed. Nowt.
Switched him Off.  Poked, mumbled something 'n poked again, then said.  MMmmmmmmm.
Switched it back on Fwd, speed adjust and BINGO. The big IC on the Big Easy Driver, ( heatsink applied) worked like a piece of phosphorous, magnesium explodinium.
I'll be back when me new BED, arrives.
this post will now be moved to the Fireworks section.
Bugger.
If you are smiling and thinking of helping. Please do not bother. At least for a couple of days.
As you sow, so shall you reap.

MarkN

  • Trusted Member
  • *
  • Posts: 8
  • Karma: +0/-0
  • I can spell oldsering iron.
    • View Profile
Re: Arduino BED stepper Manual Control
« Reply #2 on: September 15, 2014, 06:41:26 PM »
Reckon the Heatsink, I used for the chip, has "leant across" and shorted out a couple of the SMD's.  Still waiting for new driver. Have bought 10, normal Easy drivers, and will use TIP120 to up the "Extra Current"
https://www.youtube.com/watch?v=79Zk5tQRTEQ    for TIP120 details
As you sow, so shall you reap.

ElectroNick

  • The forum moderator
  • Administrator
  • Full Member
  • *****
  • Posts: 154
  • Karma: +3/-0
  • The soldering iron is ON!
    • View Profile
    • Electronics Blog
Re: Arduino BED stepper Manual Control
« Reply #3 on: September 16, 2014, 11:07:20 PM »
Hi Mark,

Sorry it took me so long to chime in here. Did not have much time for the forums lately.

Here is my take on the situation: there is a way to make your own driver out of a whole bunch of MOSFET transistors (need two per an end of a bipolar stepper, and it has four ends, so 8 transistors), a heap of MOSFET drivers (IC that makes TTL control of a MOSFET easier) and a heatsink(s). So, it's a pretty involved device. And the issue of microstepping as well as current sensing and feedback would still have to be solved. You can use an Arduino as a stepper driver, but it will run out of available I/Os really quickly. With all proper feedback, you might not even get to control two steppers with one Arduino.

So, that's where the proper dedicated driver becomes so important. I would have to admit, for a powerful motor I would much prefer using a specialized IC rather than trying to use an Arduino as a driver, although this sounds like a fun project. Trying to bootstrap the Allegro chip used in Easy Driver to a  too powerful a motor won't probably do much good. I cannot say I know much about more powerful chips, sorry.

But as far as trying to get SOME rotation out of a freewheeling stepper, even a powerful one, using an Easy Driver, I think you should be able to use that schematic with the code at this site that you referred to without any modification with one caveat: the code here was written for the Allegro A3967 chip, whereas BED board has the newer Allegro A4988. I have not tried that one yet.

If you have ENABLE connected as per the schematics, try to disconnect it (it will make it always enabled and lead to excessive heating), and see if your motors at least twitches. The code assumes that each button press results in 160 microsteps (or 20 full steps if in 1/8th mode), so it should result in something like 18° angular movement of the rotor.  You cannot mis-wire the motor itself (it can only be wired to rotate in a wrong direction, easy to correct later), so don't worry about the motor, double-check the other important connections - Step and Direction

Anyhow, see if you can post more details, a picture perhaps, of your setup, I will try to be more helpful.

Cheers,
ElectroNick

MarkN

  • Trusted Member
  • *
  • Posts: 8
  • Karma: +0/-0
  • I can spell oldsering iron.
    • View Profile
Re: Arduino BED stepper Manual Control
« Reply #4 on: September 19, 2014, 01:08:51 AM »
Ta Nick. waiting for more "blow up fodder". Will post photos then, see if I can replay the last explosion. I do have a small stepper  So I'll prove concept first, and play further after that.
Cheers mate.
Mark Needham
As you sow, so shall you reap.

MarkN

  • Trusted Member
  • *
  • Posts: 8
  • Karma: +0/-0
  • I can spell oldsering iron.
    • View Profile
Re: Arduino BED stepper Manual Control
« Reply #5 on: October 05, 2014, 10:42:05 AM »
G'day All.
            Got lots of new bits, finally.
Will plug 'n play. Soon as I've got some new stuff to chat about, I'll let you all know. 'specting some more smoke. Just love it. That acrid smell of money, snorting up ya nose....... Got to love it, hey!
As you sow, so shall you reap.

MarkN

  • Trusted Member
  • *
  • Posts: 8
  • Karma: +0/-0
  • I can spell oldsering iron.
    • View Profile
Re: Arduino BED stepper Manual Control
« Reply #6 on: May 10, 2015, 08:31:22 PM »
G'day All. As is obvious with the lack of postings, I have done bugger all. Heart attacks, cyclones and other stuff has interfered and now I am moving house. Hopefully, I shall get this beasty working, but just not at the moment. My milling machine is currently in storage, so.yeah, may  take a while.
But if anyone, manages to get this all to work in the meantime, be great to hear from you.
Cheeers, Mark N
As you sow, so shall you reap.

MarkN

  • Trusted Member
  • *
  • Posts: 8
  • Karma: +0/-0
  • I can spell oldsering iron.
    • View Profile
Re: Arduino BED stepper Manual Control
« Reply #7 on: May 30, 2015, 11:34:07 PM »
G'day All, well the rat is leaving the ship.
I have cooked 2 more Arduino boards, and seem to be having all sorts of troubles. The problems are mostly generated by myself, so I am not giving up on the fact that arduino controlling my stepper is unobtainable.
I have jumped ship, to the CNCZONE, and have currently on order 2 different units, which may do the job, or not.
http://www.ebay.com.au/itm/290972177693?_trksid=p2057872.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT

...and this one also.
http://www.ebay.com.au/itm/191492110623?_trksid=p2057872.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT

So that is that. I will keep an eye on this site, for advancements, and thank all participants.
Luck to us All,
Mark Needham
As you sow, so shall you reap.

MarkN

  • Trusted Member
  • *
  • Posts: 8
  • Karma: +0/-0
  • I can spell oldsering iron.
    • View Profile
Re: Arduino BED stepper Manual Control
« Reply #8 on: July 05, 2015, 12:55:15 PM »
G'day All, by the number of "looks" at this site, I am sure, there are a lot of people looking for the same thing, that I want to do.
ie, to drive any AXIS, with a Stepper Motor ( with the appropriate torque) f/r and with speeed control. ( I am not going to correct that, extra "e" in speed, because it takes too long, tippy tapping on the key board, which is why, you should, when visiting, like a Fart in a Phone Box, just say G'day, or, For Ever, Hold Your Breath.)
So, anyways, here is the link......http://www.cnczone.com/forums/stepper-motors-drives/202996-cnc.html
to see where I am at, the moment. 'n it works, for under a A$100.00, she will drive my axis to heaven 'n back.
That, at least, deserves you to just say "G'day"
Otherwise, why do we even try....Hey!
Just love to hear your, tippy taps.
Mark Needham
or else " off"
« Last Edit: July 08, 2015, 11:28:18 PM by MarkN »
As you sow, so shall you reap.

PaulBailey

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
  • I have a soldering iron and I'm not afraid to use it!
    • View Profile
Re: Arduino BED stepper Manual Control
« Reply #9 on: December 16, 2015, 12:03:18 PM »
Actually there is a way to make your own driver out of a whole bunch of MOSFET transistors  a heap of MOSFET drivers and a heatsink.
Also the issue of microstepping as well as current sensing and feedback would still have to be solved.
You can use an Arduino as a stepper driver, but it will run out of available I/Os really quickly.

circuit board manufacturing
« Last Edit: December 23, 2015, 01:57:27 PM by PaulBailey »

 

Related Topics

  Subject / Started by Replies Last post
9 Replies
13466 Views
Last post February 09, 2013, 06:18:18 PM
by ElectroNick
22 Replies
32754 Views
Last post June 06, 2013, 11:39:44 PM
by sa898
14 Replies
13108 Views
Last post February 25, 2013, 12:24:16 PM
by ElectroNick
6 Replies
7811 Views
Last post June 14, 2013, 12:56:18 PM
by antmabee
0 Replies
10984 Views
Last post April 05, 2015, 07:30:53 PM
by earslan

anything