584,849 active members*
4,418 visitors online*
Register for free
Login
Results 1 to 6 of 6
  1. #1
    Join Date
    Jan 2018
    Posts
    4

    Arduino pulse voltage?

    Hi,

    I'm setting up a CNC router with an Arduino Uno connected to pretty standard bipolar stepper drivers powering NEMA 23 motors. Still in the testing phase, none of my motors will move in a positive direction, negative only.

    The direction pin is giving me good voltage readings, changing from 5V to 0V as required. However the pulse pin seems a little odd. In a negative direction (for a single step of 1mm) it reads about 350mV, but +ve is only reading about 150mV. Is that normal?

    The only other thing I can think of doing is to increase the $0 step pulse.

    Any ideas???

  2. #2
    Join Date
    Jan 2018
    Posts
    4

    Re: Arduino pulse voltage?

    I think I might have solved the problem. When I bought my drivers I went with the peak amperage rather than the RMS (and of course bought the cheapest possible within that boundary). My motors draw 2.8 amps per phase, and my driver's peak output is 3.2A with an RMS of only 2.3A. Doh!

    Time to order some new drivers...

  3. #3
    Join Date
    Mar 2015
    Posts
    409

    Re: Arduino pulse voltage?

    Your driver should be able to run that stepper allmost on full torque. So the problem must be something else!

    Normaly with just the pulse pin and +5V or Gnd connected , the stepper should turn.
    $0 should be high (long enough depending on your driver. You can't set it higher than about 70. Set it to 50 just for testing. A value of 10 will do for most drivers

    Disconnect the enable and direction pins.
    Connect the Pulse (+) pin to 5 volt, you could do manual stepping by connecting the Pulse pin (-) to gnd and then disconnecting it.

    The pulse and direction pin should have the same voltage swing levels. But if the pulses are send, it is hard to measure using a voltage meter. You need an oscilloscope to see the levels.

  4. #4
    Join Date
    Jan 2018
    Posts
    4

    Re: Arduino pulse voltage?

    The original drivers had no ground circuit (apart from power), and enable was bypassed by default. They were pretty basic. While the motors worked ok in one direction, they wouldn't turn in the other, but made a slight whistling sound. Perhaps this was due to the lack of a ground circuit, but seems more likely to have been that there was insufficient driving current. Why just in one direction I don't know. I tried various hookups with the same results.

    Anyway once I hooked them up to larger drivers with appropriate current output (and ground circuits on PUL and DIR), they worked fine.

  5. #5
    Join Date
    Jun 2011
    Posts
    692

    Re: Arduino pulse voltage?

    I think the problem was current, but not where you're thinking. My guess would be that the old drive had a really high input current requirement on the inputs, and the Arduino pins weren't able to drive that. That's why you were only seeing 150 and 350 mV where you should have been seeing 4+V.

  6. #6
    Join Date
    Jan 2018
    Posts
    4

    Re: Arduino pulse voltage?

    Interesting point. I too am having my doubts about my original theory. Reduced current should reduce the operating output, not remove it entirely, especially under no-load conditions. Clearly there was enough current to operate the motor in one direction - so why not in the reverse direction?

    So yes, it sounds like a control issue, rather than a motor current issue. I also suspect that the lack of a ground circuit on the driver's pulse and direction pins may have been part of the problem, although I don't have the electronics knowledge to say why. The drivers had +ve connections only, for pulse, direction, opto and enable. A strange arrangement.

Similar Threads

  1. Precix 9100 Controller - VI voltage issue Voltage range only 6.5 to 10Volts
    By wdysf150 in forum Controller & Computer Solutions
    Replies: 0
    Last Post: 08-15-2013, 08:24 PM
  2. step pulse and pulse direction
    By peregrinus in forum Mach Software (ArtSoft software)
    Replies: 0
    Last Post: 03-21-2011, 02:04 PM
  3. Step pulse/Dir pulse question
    By neurofen in forum Mach Software (ArtSoft software)
    Replies: 7
    Last Post: 02-23-2011, 06:02 PM
  4. Unfit Pulse Of Pulse Coder Alarm
    By Crashmaster in forum DNC Problems and Solutions
    Replies: 2
    Last Post: 04-23-2007, 03:55 PM
  5. Pulse Voltage Question
    By southernexplore in forum CNC Machine Related Electronics
    Replies: 8
    Last Post: 03-08-2006, 04:42 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
  •