This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

  • Resolved

Stepper Motor Driver DRV8835 Voltage Problem

I am using a stepper motor DRV8835. I have put in the function as the IN/IN mode (MODE =0), For AIN1, AIN2,  BIN1 and BIN2 we gave signal as 0101 and the output voltage I was expecting as 0V, 5V, 0V, 5V. But the output voltage showed up as 5V, 0V, 2V, 2V. Does anyone know how to fix this problem?

  • We are using DRV8835DSSR stepper motor driver

    With MODE 0 IN/IN mode we have tested the driver with several AIN1, AIN2, BIN1, BIN2 inputs

    with 1010 input, the voltages are 5V, 0V, 0V,0V

    with 0101 input, the voltages are 5V, 0V, 2V, 2V

    1100-0020V

    0011-0000V

    1001-0522V

    0110-0000V

    0000-2222V

    1111-0500V

    Could you let me know where is problem?

  • In reply to John Collins94:

    Hi John,

    Was the motor connected when you made these measurements? If so, would you disconnect the motor and double check the measurements.

    Have you tried more than one board?
    What are your motor specifications (voltage, current, phase resistance)?

    Rick Duncan
    Motor Applications Team

  • In reply to Rick Duncan:

    Rick,

    Before connecting the motor I was testing the voltages with static inputs. For example for AIN1, AIN2, BIN1, BIN2 =1010 inputs I should get 5V, 0V, 5V, 0V at the outputs. But the outputs are 5V, 0V, 0V,0V. The other inputs also I tested as mentioned previously.
  • In reply to John Collins94:

    Hi John,

    The behavior has not been reported previously.
    Are you using your own board? Do you have a second board to try? If you see the same issue, please check the layout.
    Have you examined the board to look for pin to pin shorts on the board?
    How are you measuring the outputs (scope or DMM)?

    Rick Duncan
    Motor Applications Team

  • In reply to Rick Duncan:

    Hi Rick,

    Yes we are using a custom PCB. There is no short. Measured voltage using DMM. We will assemble another board. 

    Also could you let me know if DRV 8835 is the best board for stepper motor control? Our motor is 3-5V. We need very low sleep current.Current rating is ~1A. Small number of pins is better.

    John

  • In reply to John Collins94:

    Hi John,

    The DRV8835 is a good choice.
    Another good choice is the DRV8846, although the size is larger.

    What is your system voltage? Did you create a supply solely for the motor? If you did, the DRV8846 may save board space since it regulates the current and can operate at higher voltages. You can operate the DRV8846 from 4V to 18V.

    Let us know what you find on the second board.

    Rick Duncan
    Motor Applications Team

  • In reply to Rick Duncan:

    Thanks Rick. DRV 8835 is good. Our voltage is 5V. Current regulation is not a concern at this time.
  • In reply to John Collins94:

    Hi Rick

    I ordered another PCB to try. Could you let me know what is the series of codes we need to send to Ain1:Ain2:Bin1:Bin2 to run a 4-wire stepper motor?

    John

  • In reply to John Collins94:

    Hi John,

    Before I answer your question, have you considered using PH/EN mode instead of IN/IN mode? This can save at least one GPIO, and perhaps two if you tie VCC to the two ENABLE pins.

    Rick Duncan
    Motor Applications Team

  • In reply to Rick Duncan:

    Hi Rick,
    If Ph/EN is a better option, we will use that. Is it like Direction/Step? Does this have Sleep and Enable for power saving? (Phase and Enable is confusing for me).

This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.