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

sparkfun moto monster only one direction

Discussion in 'DIY Motion Simulator Building Q&A / FAQ' started by loco_339, Nov 27, 2015.

  1. loco_339

    loco_339 New Member

    Joined:
    Oct 8, 2015
    Messages:
    10
    Location:
    Belgium
    Balance:
    101Coins
    Ratings:
    +6 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    Hi all,

    I ask you some support in my DIY motion simulator, 12V DC wiper motors, arduino + sparkfun moto monster project.

    I based my project on RacingMat project. Big thanks to him for this detailed project. It is very helpfull.

    So I used an arduino, linked to an sparkfun moto monster as depicted in the project. It work well but the motor choosen do not go in reverse direction. I am blocked at this step since some months. I need help to analyse the problem.

    A picture of the project is in attach of this post. It seems not clean. It is due to my numberous attempt to solve the problem ;)


    Summary:
    - Arduino with racingMat suggested code,
    - Sparkfun wired with cable (not stacked on arduino)
    - alimentation through an ATX molex connector (as a first step, I use this supply for developping the project),
    - car wiper motor (audi A6, for reference)

    My observations:
    - without any load, the behavior of the moto monster is ok : the led showing the direction of the output varies well with the value of the potentiometer. the measured voltage goes from positive values to negative.
    - with the load (the wiper motor), the motor run in forward mode. But it do not move in revese mode. The voltage measured in this operating condition is only ~-0.5 V. The led showing the direction are both ligthing, despite the full rotation of the potentiometer. (note : I tested it at full pwm : pwm = 255)

    At first, I though my connection to the moto monster was bad (bad brazing?). I order a second one to do it better (this time the connection is good!), with the same result.
    I changed the supply to avoid power limitation : server supply hp DPS-600. With the same result.

    Investigation :
    - with a lower load (a inkjet dc motor), the motor run in forward and reverse direction. I remark that to control the motor, I had to provide high level of PWM (first attempt at 100 was not enough, 200 worked well)

    I found some refernce on the web, without help for me :
    - http://forum.arduino.cc/index.php?topic=323689.0
    -http://arduino.stackexchange.com/questions/6752/arduino-motor-shield-will-only-work-in-one-direction
    - http://www.x-sim.de/forum/viewtopic.php?f=37&t=943&start=70

    Thanks for your help! :sos
  2. loco_339

    loco_339 New Member

    Joined:
    Oct 8, 2015
    Messages:
    10
    Location:
    Belgium
    Balance:
    101Coins
    Ratings:
    +6 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    In pictures!
    IMG_20151127_185815.jpg IMG_20151107_164337.jpg
  3. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,032
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    147,890Coins
    Ratings:
    +10,880 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    • Agree Agree x 1
  4. tombo

    tombo Active Member

    Joined:
    Oct 5, 2013
    Messages:
    269
    Location:
    Germany
    Balance:
    2,442Coins
    Ratings:
    +246 / 2 / -0
    My Motion Simulator:
    DC motor, Arduino
    Hello,
    the last link you postet, it was me with the problem. It is some years a ago and i switched to a pololu one. But for my current build I'm using MM again. I still have this MM laying around and can say it was just a defect MMin my case. All the ones i ordered last 2 years where ok.
    • Informative Informative x 1
  5. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,032
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    147,890Coins
    Ratings:
    +10,880 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
  6. loco_339

    loco_339 New Member

    Joined:
    Oct 8, 2015
    Messages:
    10
    Location:
    Belgium
    Balance:
    101Coins
    Ratings:
    +6 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    Yup !

    Thanks both of you for your suggestion. You are right!

    My motors were not internaly isolated (but still ground isolated as fix it on a wood board!). By the way, I never read about ground isolation in the post a came across. Ground isolation is now done. For the record, I attach 2 pictures of the links inside my motors. I removed the screw (linking to the chassis) and put some isolating tape below.

    I tested my MM, as suggested by
    http://www.xsimulator.net/community...monster-is-this-a-valid-test.6887/#post-81238
    commanded in the Sim with the pot, With and without load (=my wiper motor, or a inkjet printer motor).

    I get :
    lane1 : +12V/-7.5V
    lane2: +12V/-8.5V

    and with wiper motor load:
    lane1: +12V/-0.5V

    I guess the MM is faulty, despite it was ordered from a recommended ebay shop TxHang Electronic (in China). I should receive another order soon. I will test with a new MM. And hope it will be a good one!

    See you soon!
    IMG_20151202_191103.jpg IMG_20151202_201704.jpg
    • Like Like x 2
  7. Bernd Manger

    Bernd Manger Active Member

    Joined:
    Oct 6, 2015
    Messages:
    156
    Occupation:
    Measurement and control mechanic
    Location:
    Germany
    Balance:
    1,052Coins
    Ratings:
    +263 / 12 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    Hello loco_339,
    the 0.5V point to the forward voltage of a diode. Is there a diode in or at the wiper motor? I have motors with 2 different speeds each and there was a diode between the connection points. A wiper motor in a car runs only in one direction. So if you pole reversal a diode can shortcut the power.
    Last edited: Dec 13, 2015
  8. loco_339

    loco_339 New Member

    Joined:
    Oct 8, 2015
    Messages:
    10
    Location:
    Belgium
    Balance:
    101Coins
    Ratings:
    +6 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    Hello Bernd,

    These motor have also 2 differents speeds. I not sure about the wiring inside the motors. All what I saw was the visible components : helicoidal wire forming an inductance, brushed motor contacter, and for one of both : a rectangular component (as on picture). Don't know what is it.
    It do not think there is a diode. Does this observation can discard this hypothesis : When I connect the power directly to the motor (not passing throught moto monster) It work in bot direction for +12V and -12V.
  9. Bernd Manger

    Bernd Manger Active Member

    Joined:
    Oct 6, 2015
    Messages:
    156
    Occupation:
    Measurement and control mechanic
    Location:
    Germany
    Balance:
    1,052Coins
    Ratings:
    +263 / 12 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    Hello loco,
    could you first make two tests before we go any further:
    1. Connect the motors direct to power and measure the current (Amperes) in both directions. Is the speed identical ?
    2. Connect a 12V Halogen lamp to the Motor Monster and look if it is lightning at both directions.
    • Useful Useful x 2
    Last edited: Dec 20, 2015
  10. loco_339

    loco_339 New Member

    Joined:
    Oct 8, 2015
    Messages:
    10
    Location:
    Belgium
    Balance:
    101Coins
    Ratings:
    +6 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    Hi Bernd,

    (I am back after the feest of the new year ,) )
    Thanks for your suggestion.

    1. Connecting motor direct to power :
    +12V, 8A decreasing to 4.7A stable, lower speed
    -12V, -7.84A stable, faster speed

    2. Connecting a light (12V 5W) to MM output :
    The light intensity is higher in one direction
    +9.31V, +0.27A (2.5 watts output)
    -12.30V, -0.33A (4.06 watts output)

    So, is it an double anomaly ? default of MM and non "symetric behavior" of the motor ?
    Does the supplycan be in trouble ? (I recycled a noname ATX alimentation and use it as laboratory supply)

    Would it be a bad idee to use the MM as half-bridge, as suggested in
    Tutorial Monster Moto Shield acts as a single motor driver = more power! ?
    Last edited: Jan 2, 2016
  11. Bernd Manger

    Bernd Manger Active Member

    Joined:
    Oct 6, 2015
    Messages:
    156
    Occupation:
    Measurement and control mechanic
    Location:
    Germany
    Balance:
    1,052Coins
    Ratings:
    +263 / 12 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    Hello loco,

    1. I think you did not isolate your motors correctly. A wiper motor with 2 speeds has two connection wires, the third connection is ground (chassis). If you only isolate ground internally, the third connection is missing and you are using 2 carbon brushes which are in a 90 degree angle. That seems to be the reason for the different amperes in both directions.
    I've made two drawings to show the correct wiring:

    Wiper 1.jpg Wiper 2.jpg
    You can only use the 2 carbon brushes which are in opposite direction (180 degree), the 3rd carbon brush (90 degree) can't be used anymore.

    Here is a very helpful thread that shows pictures of ground isolation:
    http://www.xsimulator.net/community/threads/isolating-a-wiper-motor-ground.3358/

    2. It seems that i have a similar problem with one of my 3 MM's. With a small motor it runs correctly, but not with a big one.
    If i have the time i will write a simple Arduino program to test both channels of the MM separately.
    • Informative Informative x 2
    • Agree Agree x 1
    • Useful Useful x 1
  12. SeatTime

    SeatTime Well-Known Member

    Joined:
    Dec 27, 2013
    Messages:
    2,573
    Occupation:
    Retired
    Location:
    Brisbane Australia
    Balance:
    28,370Coins
    Ratings:
    +2,844 / 39 / -0
    My Motion Simulator:
    AC motor, Motion platform
    Sounds like a unserviceable chip on the MM to me. I have certainly seen and repaired plenty of them:mad:. I just used the SCM3 Arduino software to test them, wired to drive each chip separately.
    • Agree Agree x 1
    • Informative Informative x 1
    • Useful Useful x 1
  13. Bernd Manger

    Bernd Manger Active Member

    Joined:
    Oct 6, 2015
    Messages:
    156
    Occupation:
    Measurement and control mechanic
    Location:
    Germany
    Balance:
    1,052Coins
    Ratings:
    +263 / 12 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    Good idea, safes plenty of work.
  14. loco_339

    loco_339 New Member

    Joined:
    Oct 8, 2015
    Messages:
    10
    Location:
    Belgium
    Balance:
    101Coins
    Ratings:
    +6 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    Hi all,

    Thanks for your heplfull return.

    @Bernd Manger, thanks for your scheme and link. My motors looks like the one used for the example. My motors are now ground isolated correctly with fast speed selected and working in both directions (almost) at same speed.

    @SeatTime, thanks for the reference of SMC3 software and method. How practicly did you repair some of th MM ? The SMC3 allow to test them but not to repair. I hesitate between investigating the default on the current MM and test a new one.

    See you (as soon as possible...!)
  15. SeatTime

    SeatTime Well-Known Member

    Joined:
    Dec 27, 2013
    Messages:
    2,573
    Occupation:
    Retired
    Location:
    Brisbane Australia
    Balance:
    28,370Coins
    Ratings:
    +2,844 / 39 / -0
    My Motion Simulator:
    AC motor, Motion platform
    MMs were repaired by physically replacing the driver chip. Not impossible, but certainly very difficult for someone without experience in the repair process.
  16. eaorobbie

    eaorobbie Well-Known Member SimTools Developer Gold Contributor

    Joined:
    May 26, 2009
    Messages:
    2,574
    Occupation:
    CAD Detailer
    Location:
    Ellenbrook, Western Australia
    Balance:
    20,431Coins
    Ratings:
    +1,684 / 23 / -2
    My Motion Simulator:
    2DOF, DC motor, JRK, SimforceGT, 6DOF
    mmm bugger, I'll keep using jrks.
  17. bruce stephen

    bruce stephen Hammer doesnt fix it, must be electrical

    Joined:
    Jun 7, 2015
    Messages:
    1,286
    Occupation:
    general contractor
    Location:
    michigan
    Balance:
    9,112Coins
    Ratings:
    +1,238 / 9 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform, 6DOF
    at <10.dollars each and with ebay/paypal guaranty, its hard to beat monsters. As far as repairing them, I throw them out. I have not paid for 1 bad monster. I had jrk's and sold them they didn't have enough power for me, and were a pain to set up compared to the smc3. JRK's are a good solution if you dont want to solder and wire, and don't need a lot of power. JRK's seem to be a great solution for some. Waiting for mm's can suck though.

    http://www.ebay.com/itm/Dual-VNH2SP...place-L298N-/191674295987?hash=item2ca0ada6b3

    this is the seller i use.
    • Disagree Disagree x 1
    Last edited: Feb 11, 2016
  18. SilentChill

    SilentChill Problem Maker

    Joined:
    Jul 19, 2014
    Messages:
    2,643
    Occupation:
    Railway Maintenance
    Location:
    Morecambe, Lancashire, England
    Balance:
    20,557Coins
    Ratings:
    +3,487 / 34 / -0
    My Motion Simulator:
    DC motor, Arduino, Motion platform, 6DOF
    • Like Like x 3
    • Agree Agree x 1
    • Funny Funny x 1
  19. bruce stephen

    bruce stephen Hammer doesnt fix it, must be electrical

    Joined:
    Jun 7, 2015
    Messages:
    1,286
    Occupation:
    general contractor
    Location:
    michigan
    Balance:
    9,112Coins
    Ratings:
    +1,238 / 9 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform, 6DOF
    Yes @SilentChill i remember. A nightmare scenario for sure. How are the monsters working now?
  20. SilentChill

    SilentChill Problem Maker

    Joined:
    Jul 19, 2014
    Messages:
    2,643
    Occupation:
    Railway Maintenance
    Location:
    Morecambe, Lancashire, England
    Balance:
    20,557Coins
    Ratings:
    +3,487 / 34 / -0
    My Motion Simulator:
    DC motor, Arduino, Motion platform, 6DOF
    I have had 2 die on me which were slightly faulty which I had not changed (because im lazy) they were overheating and finally blew up on me in a ball of flames literally on fire, my bum nearly set on fire too :D

    Other than those two they have been working fine.
    • Funny Funny x 2
    • Like Like x 1