1. Do not share user accounts! Any account that is shared by another person will be blocked and closed. This means: we will close not only the account that is shared, but also the main account of the user who uses another person's account. We have the ability to detect account sharing, so please do not try to cheat the system. This action will take place on 04/18/2023. Read all forum rules.
    Dismiss Notice
  2. For downloading SimTools plugins you need a Download Package. Get it with virtual coins that you receive for forum activity or Buy Download Package - We have a zero Spam tolerance so read our forum rules first.

    Buy Now a Download Plan!
  3. Do not try to cheat our system and do not post an unnecessary amount of useless posts only to earn credits here. We have a zero spam tolerance policy and this will cause a ban of your user account. Otherwise we wish you a pleasant stay here! Read the forum rules
  4. We have a few rules which you need to read and accept before posting anything here! Following these rules will keep the forum clean and your stay pleasant. Do not follow these rules can lead to permanent exclusion from this website: Read the forum rules.
    Are you a company? Read our company rules

Lesson VNH5019 power question using an Arduino

Discussion in 'Motor actuators and drivers' started by Pit, Aug 23, 2015.

  1. Pit

    Pit - - - - - - - - - - - - - - - - Gold Contributor

    Joined:
    Oct 2, 2013
    Messages:
    3,013
    Location:
    Switzerland
    Balance:
    30,414Coins
    Ratings:
    +3,088 / 31 / -0
    My Motion Simulator:
    DC motor, Arduino, 6DOF
    On Pololu I found the hint, that the motor driver shield and Arduino are powered separately. When used this way, the Arduino must be powered via USB, its power jack, or its VIN pin, and the shield must be supplied with 5.5 to 24 V through the large VIN and GND pads on the right side of the board. Attempting to power the shield through other means, such as from the Arduino or through the small VOUT pin, can permanently damage both the Arduino and the shield (only the large power traces on the right side of the shield are designed to handle the high currents involved in powering motors).

    I translate this as each board has its own power source and they have not to be connected on the 5V line.
    https://www.pololu.com/docs/0J49/3.c
    0J3764.1200.png

    PS: how to connect the VNH5019 to the Ard:
    0J3755.600.jpg
    Last edited: Aug 23, 2015
  2. Cvetan Cvetanov

    Cvetan Cvetanov Member

    Joined:
    May 30, 2015
    Messages:
    41
    Location:
    Teteven Bulgaria
    Balance:
    1,462Coins
    Ratings:
    +6 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino, 4DOF
    I agree motor power must be from other source, because some motors make spikes on PSU. I have bad experience with one source.
  3. pipis2015

    pipis2015 over-boost

    Joined:
    Feb 18, 2015
    Messages:
    222
    Location:
    Athens, GREECE
    Balance:
    10,248Coins
    Ratings:
    +271 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    If you dont power the vnh 55019 through the large vin and gnd pads then you dont have reverse voltage protection...

    Thats your major issue.

    And as you said this can permanently damage both the Arduino and the shield.
    • Informative Informative x 2
  4. Scotty1186

    Scotty1186 Member Gold Contributor

    Joined:
    Aug 23, 2016
    Messages:
    68
    Location:
    Usa
    Balance:
    148Coins
    Ratings:
    +22 / 0 / -0
    Hey Pit, I was pointed to your post by Noorbeast. I am going to be using a VNH5019 on my setup, and will be connecting it to an Arduino Uno that I already have loaded with the SMC3 code. I was wondering if you happen to have a connection diagram for how things translate to an UNO board, as I do not fully understand how to translate what you have shown to my board. Perhaps I am just looking at it wrong. Thanks!
  5. Pit

    Pit - - - - - - - - - - - - - - - - Gold Contributor

    Joined:
    Oct 2, 2013
    Messages:
    3,013
    Location:
    Switzerland
    Balance:
    30,414Coins
    Ratings:
    +3,088 / 31 / -0
    My Motion Simulator:
    DC motor, Arduino, 6DOF
    Hi Scotty, the VNH is pretty the same like the MM, NTL I can upload a photo taken from a combo.
    • Informative Informative x 1
    • Friendly Friendly x 1
  6. Pit

    Pit - - - - - - - - - - - - - - - - Gold Contributor

    Joined:
    Oct 2, 2013
    Messages:
    3,013
    Location:
    Switzerland
    Balance:
    30,414Coins
    Ratings:
    +3,088 / 31 / -0
    My Motion Simulator:
    DC motor, Arduino, 6DOF
    20150901_230140.jpg 20150901_230152.jpg 20150901_230259.jpg
    • Informative Informative x 2
  7. Scotty1186

    Scotty1186 Member Gold Contributor

    Joined:
    Aug 23, 2016
    Messages:
    68
    Location:
    Usa
    Balance:
    148Coins
    Ratings:
    +22 / 0 / -0
    That would be great! I tried MM's, only to find out later that the motors I got were 24v, not 12 as I was led to believe. Fortunately the 2 MM's I got were bad to begin with, so I'll be sending them back. All my research was done with MM's, so I'm essentially starting over. This driver still works with the SMC3 software in mode1, correct?
  8. Scotty1186

    Scotty1186 Member Gold Contributor

    Joined:
    Aug 23, 2016
    Messages:
    68
    Location:
    Usa
    Balance:
    148Coins
    Ratings:
    +22 / 0 / -0
    I was planning on just doing a 2dof seat. I see that you have them doubled up, but is one enough to power 2 motors reasonably?
  9. Pit

    Pit - - - - - - - - - - - - - - - - Gold Contributor

    Joined:
    Oct 2, 2013
    Messages:
    3,013
    Location:
    Switzerland
    Balance:
    30,414Coins
    Ratings:
    +3,088 / 31 / -0
    My Motion Simulator:
    DC motor, Arduino, 6DOF
    one VNH is OK as long the motors are not too powerful. Any specs about your motors you would like to buy?
    • Informative Informative x 1
  10. Scotty1186

    Scotty1186 Member Gold Contributor

    Joined:
    Aug 23, 2016
    Messages:
    68
    Location:
    Usa
    Balance:
    148Coins
    Ratings:
    +22 / 0 / -0
    I have been scouring trying to find some kind of specs for them. They are actually taken from an Invacare Pronto M51 wheelchair. Here is a link for purchasing them, but I have been unable to find exact specs for them.
    http://www.monsterscooterparts.com/motor-gearbox-invacare-pronto-m5a-m61.html

    Similar chairs that I can find specs for use motors that run 50:1 gearboxes, so I am banking on that being accurate to these as well. I am hoping they will work since they still run very well and are well built motors. I did remove the electromagnetic brake from them to help them run more efficiently as well.

    I will be honest, this is a pretty budget build, but so far it has gone well (aside from the MM issues, but that seems to be on par.) I am hoping that if I can at least get the driver situation figured out I will follow up with whether or not the motors are adequate down the road.

    Thank you again for your help! This community has been amazing for advice and help in this project.
  11. Scotty1186

    Scotty1186 Member Gold Contributor

    Joined:
    Aug 23, 2016
    Messages:
    68
    Location:
    Usa
    Balance:
    148Coins
    Ratings:
    +22 / 0 / -0

    So that didn't go as planned. I must have had an issue with the wiring between the Uno and the Pololu. When I connected the PSU to the Pololu it popped the Uno. I'll try again wednesday and see where I went wrong...hopefully I didn't knock them both out!
  12. Pit

    Pit - - - - - - - - - - - - - - - - Gold Contributor

    Joined:
    Oct 2, 2013
    Messages:
    3,013
    Location:
    Switzerland
    Balance:
    30,414Coins
    Ratings:
    +3,088 / 31 / -0
    My Motion Simulator:
    DC motor, Arduino, 6DOF
    You can destroy the vnh if it was wrongly connected to the pole of the PSU. If you read carefully the SMC manual you will determine all pinouts of the MM and the vnh have identical or similar labels.
    • Like Like x 1
    • Agree Agree x 1
  13. Scotty1186

    Scotty1186 Member Gold Contributor

    Joined:
    Aug 23, 2016
    Messages:
    68
    Location:
    Usa
    Balance:
    148Coins
    Ratings:
    +22 / 0 / -0
    The psu connection was good. I determined that the problem was a jumper in the wrong plug of the arduino. It was bound to happen eventually, as good as my luck has been so far :)
  14. Pit

    Pit - - - - - - - - - - - - - - - - Gold Contributor

    Joined:
    Oct 2, 2013
    Messages:
    3,013
    Location:
    Switzerland
    Balance:
    30,414Coins
    Ratings:
    +3,088 / 31 / -0
    My Motion Simulator:
    DC motor, Arduino, 6DOF
    Trying out spaghetti syndrome, vnh5019 as a double combo single driver...waiting for burning things :)
    20170126_183845.jpg
  15. SeatTime

    SeatTime Well-Known Member

    Joined:
    Dec 27, 2013
    Messages:
    2,574
    Occupation:
    Retired
    Location:
    Brisbane Australia
    Balance:
    28,370Coins
    Ratings:
    +2,844 / 38 / -0
    My Motion Simulator:
    AC motor, Motion platform
    You should be fine - I have already done this in the past when I was testing 24V motors.
  16. Pit

    Pit - - - - - - - - - - - - - - - - Gold Contributor

    Joined:
    Oct 2, 2013
    Messages:
    3,013
    Location:
    Switzerland
    Balance:
    30,414Coins
    Ratings:
    +3,088 / 31 / -0
    My Motion Simulator:
    DC motor, Arduino, 6DOF
    Cool mate, and how would you sum up your experience?
  17. SeatTime

    SeatTime Well-Known Member

    Joined:
    Dec 27, 2013
    Messages:
    2,574
    Occupation:
    Retired
    Location:
    Brisbane Australia
    Balance:
    28,370Coins
    Ratings:
    +2,844 / 38 / -0
    My Motion Simulator:
    AC motor, Motion platform
    It worked fine, just did not do too much with them as I could not get more of the same motor that I tested with - Ie. They did not make it anymore - so went with the cheaper 12V system that I had initially started with and readily available.
    Last edited: Jan 27, 2017
  18. RacingMat

    RacingMat Well-Known Member Gold Contributor

    Joined:
    Feb 22, 2013
    Messages:
    2,234
    Location:
    Marseille - FRANCE
    Balance:
    20,887Coins
    Ratings:
    +2,083 / 21 / -2
    My Motion Simulator:
    2DOF, DC motor, Arduino
  19. Pit

    Pit - - - - - - - - - - - - - - - - Gold Contributor

    Joined:
    Oct 2, 2013
    Messages:
    3,013
    Location:
    Switzerland
    Balance:
    30,414Coins
    Ratings:
    +3,088 / 31 / -0
    My Motion Simulator:
    DC motor, Arduino, 6DOF
    theoretically yes, but practically I don't think so. The vnh5019 was my first 24V driver and I had serious troubles to get them working as a single driver on high demand currents or peak currents. Now testing as a dual single driver but with less powerful motors (24V, 160W)
  20. RacingMat

    RacingMat Well-Known Member Gold Contributor

    Joined:
    Feb 22, 2013
    Messages:
    2,234
    Location:
    Marseille - FRANCE
    Balance:
    20,887Coins
    Ratings:
    +2,083 / 21 / -2
    My Motion Simulator:
    2DOF, DC motor, Arduino
    at 7 amp, the driver should be fine

    Melting-Drill-Bit-GIF-04192016.gif
    • Funny Funny x 1