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

Question Different pin layouts of Monster Moto Shield

Discussion in 'DIY Motion Simulator Building Q&A / FAQ' started by Arazok, May 3, 2018.

  1. Arazok

    Arazok Member

    Joined:
    Mar 26, 2018
    Messages:
    163
    Occupation:
    Computer scientist
    Location:
    Germany
    Balance:
    693Coins
    Ratings:
    +30 / 0 / -0
    My Motion Simulator:
    2DOF
    Hi,
    I am a bit confused, as it seems that there a different pin layouts of the MM shield.
    As in the thread/tutorial of @RacingMat, the pin layout looks like this:
    And this is also used by the original GitHub code of Sparkfun:

    2motomonster.png

    https://github.com/sparkfun/Monster_Moto_Shield

    But here is another layout:

    FC411MYIU6EDN74.LARGE.jpg

    Hardware Pinout

    A0 : Enable pin for motor 1

    A1 : Enable pin for motor 2

    A2 : Current sensor for motor 1

    A3 : Current sensor for motor 2

    D7 : Clockwise (CW) for motor 1

    D8 : Counterclockwise (CCW) for motor 1

    D4 : Clockwise (CW) for motor 2

    D9 : Counterclockwise (CCW) for motor 2

    D5 : PWM for motor 1

    D6 : PWM for motor 2


    taken from
    http://www.instructables.com/id/Monster-Motor-Shield-VNH2SP30/


    Is this known or am I wrong ?
    How can I know, which layout my MM have ? (even if its a cheap China clone)

    cheers,
    Arazok
  2. Bilao

    Bilao New Member

    Joined:
    Oct 29, 2015
    Messages:
    13
    Location:
    Portugal
    Balance:
    146Coins
    Ratings:
    +9 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    I think it depends, if you want to use racingmat code or smc3 code, then the wiring diagram will be diferent
    • Agree Agree x 2
  3. Arazok

    Arazok Member

    Joined:
    Mar 26, 2018
    Messages:
    163
    Occupation:
    Computer scientist
    Location:
    Germany
    Balance:
    693Coins
    Ratings:
    +30 / 0 / -0
    My Motion Simulator:
    2DOF
    Mmh, I thought again about it, and the code examples uses the same pins: 7 and 8 for Motor1, 4 and 9 for Motor2. It seems that only the description inside wiring picture from racingmat was not correct, as he said, that Pin 4 and 8 belongs to Motor1 and 7 and 9 for Motor2.
    I guess we can ignore this :)