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

Wiring for Mini VNH2SP30 Stepper Motor Driver Monster Moto Shield module

Discussion in 'New users start here - FAQ' started by Deaglex, Aug 5, 2017.

  1. Deaglex

    Deaglex New Member

    Joined:
    Jun 15, 2017
    Messages:
    17
    Location:
    United States
    Balance:
    86Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    DC motor, JRK
    81+x6k0ohxL._SL1500_.jpg 71ia8OXRZfL._SL1500_.jpg

    Thank you 81+x6k0ohxL._SL1500_.jpg

    Attached Files:

  2. Deaglex

    Deaglex New Member

    Joined:
    Jun 15, 2017
    Messages:
    17
    Location:
    United States
    Balance:
    86Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    DC motor, JRK
    HERE is some of the info on what the pins are but I really don't want to try it w.o knowing what they are for.

    VNH2SP30 pin definitions
    xxx[0] controls '1' outputs
    xxx[1] controls '2' outputs */
    int inApin[2] = {7, 4}; // INA: Clockwise input
    int inBpin[2] = {8, 9}; // INB: Counter-clockwise input
    int pwmpin[2] = {5, 6}; // PWM input
    int cspin[2] = {2, 3}; // CS: Current sense ANALOG input
    int enpin[2] = {0, 1}; // EN: Status of switches output (Analog pin)
  3. Deaglex

    Deaglex New Member

    Joined:
    Jun 15, 2017
    Messages:
    17
    Location:
    United States
    Balance:
    86Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    DC motor, JRK
    I figured out how to wire the board and motors. I flashed smc3 on my arduino. I can't seem to get the motors to move. I tried using the smc3 utility, but it would open and only try to connect on com1. My arduino is com4. I tried to run simtools and nothing moves. i quadruple check the wiring and disabled analog feedback and still no results.. Any help would be much appreciated.
  4. Alexey

    Alexey Well-Known Member

    Joined:
    Sep 23, 2014
    Messages:
    452
    Occupation:
    Electronics Technician
    Location:
    Adelaide, Australia
    Balance:
    8,064Coins
    Ratings:
    +622 / 2 / -0
    My Motion Simulator:
    3DOF, DC motor, Arduino
    There is a file in the folder where SMC3 is where you can change the COM port in a text file.
  5. Deaglex

    Deaglex New Member

    Joined:
    Jun 15, 2017
    Messages:
    17
    Location:
    United States
    Balance:
    86Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    DC motor, JRK
    that worked for the smc3utility ( i downloaded the .exe file the first time not the .zip) . Thank you. I figured out that it is my motor. It is an dc18v servo motor that runs fine on my psu set at 14v which is 2v under max for the vnh2sp30 chipset . it has a hall effect sensor that I was wondering if that can replace the potentiometer since that's the object of the the potentiometer. I know purple is V+ and black is V- its the order of the other 3 that i don't know. I'm assuming it's something like this but don't know how to get it to work.


    DigitalHalls120º.png
    Plug: IMG_20170806_132249.jpg

    The last thing I am wondering. I checked the continuity from V+ to V-, and I have continuity. I was wondering if that would cause an issue with the driver. I can connect the motor to the PSU and it runs just fine backwards and forward.