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

Is my Monster Moto half dead?

Discussion in 'DIY Motion Simulator Building Q&A / FAQ' started by wokcz, Aug 13, 2015.

  1. wokcz

    wokcz New Member

    Joined:
    May 29, 2015
    Messages:
    27
    Location:
    Argentina
    Balance:
    232Coins
    Ratings:
    +14 / 0 / -0
    After a lot of welding and working on my sim frame I moved into building the electronics part. And then came the great disappointment. One of the channels of my MM shield seems to be dead. I followed @RacingMat tutorial and code.

    I connected pins 4 to 9, gnd and 5v between the arduino and the monster moto. Pins A4 and A5 (also tried A0 and A1 while also changing it on the code) to the center of my potentiometers and 5v and gnd to the other two pins on each pot. I also used an aluminium heat sink with thermal grease perfectly fitted over the VNH2SP30 chips and a cooler over it.

    After reading the code a few times and comparing it to my wiring, and checking that the wiring was correct, I went ahead and plugged the arduino into my usb port, green led turns on on arduino and red on MM (pwr). Then I connected a car battery to the MM + / - pins, making sure the polarity was correct. I had two small DC motors connected, one started turning, the other did nothing. On the channel of the motor that was working a yellow (dir) led was on, if I turn the pot, the led turns off when the pot is in mid position, and the other yellow led on that same channel will turn on when continuing turning the pot. The other channel did't turn on any leds no matter if pot was being set into any position.

    So I disconnected the power and inverted the motors, same problem, only 1 channel was working, the same that worked before. I tried inverting the pots and adding some debug code ("Serial.print(analogRead(AX))"), both pots reading was correct on serial monitor, one channel still not working. I checked all the soldering on the pins that connects the cables between the two boards, +, -, A1, B1, A2, B2, all look fine. Tried replacing the cables that connect the boards together. Also tried inverting all the arrays for the VNH2SP30 pin definitions on the code. I used a voltimeter to check the A B pins, the channel that works reads about 6.X volts (I have pwmMax = 155 in the code), the channel that doesn't work always reads just a few millivolts, no matter the pot position, it doesn't change. Both chips doesn't feel hot when touching them, and never heard any sound or smell coming from them.

    Should I assume one of the channels of the shield came DOA? Or is there something else I can test?

    Im so mad right now, the shield wasn't neither cheap or easy to find where I live, and it's the last piece my sim needs to be finished.
    Last edited: Aug 13, 2015
  2. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,551
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    145,124Coins
    Ratings:
    +10,779 / 52 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
  3. wokcz

    wokcz New Member

    Joined:
    May 29, 2015
    Messages:
    27
    Location:
    Argentina
    Balance:
    232Coins
    Ratings:
    +14 / 0 / -0
  4. RacingMat

    RacingMat Well-Known Member Gold Contributor

    Joined:
    Feb 22, 2013
    Messages:
    2,234
    Location:
    Marseille - FRANCE
    Balance:
    20,895Coins
    Ratings:
    +2,084 / 21 / -2
    My Motion Simulator:
    2DOF, DC motor, Arduino
    too bad... [​IMG]
  5. tombo

    tombo Active Member

    Joined:
    Oct 5, 2013
    Messages:
    269
    Location:
    Germany
    Balance:
    2,436Coins
    Ratings:
    +246 / 2 / -0
    My Motion Simulator:
    DC motor, Arduino
    • Useful Useful x 1
  6. wokcz

    wokcz New Member

    Joined:
    May 29, 2015
    Messages:
    27
    Location:
    Argentina
    Balance:
    232Coins
    Ratings:
    +14 / 0 / -0
    Yes i tested several sets of cables and tested they had 0ohms resistance, also tested the sparkfun example code and even some custom code. Today I was pushing the chip pins with a needle and noticed one that was loose, so i pushed all the pins down with the soldering iron, now none will move when pushing a needle, they all seem connected but still wont work, I guess the chip is bad, gonna try to get a new one as soon as i can. Going to save this one, maybe in the future I can use the channel that works to add a 3dof for traction loss.

    And yes @RacingMat, I've read the manual for the chip (couldn't find a manual for the board), but I don't have the equipment to take the chip out and run tests on it.