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 Help with wiring

Discussion in 'Ready, set, go - Start your engines' started by lesley, Jan 23, 2021.

  1. lesley

    lesley New Member

    Joined:
    Jan 15, 2021
    Messages:
    27
    Location:
    South Africa
    Balance:
    20Coins
    Ratings:
    +8 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, AC motor, Arduino, Motion platform
    Hey could somebody please help
    I'm struggling to wire my dual H board) 2dof)
    With pot and uno R3 arduino.
    Is there maybe Sim tools arduino code specifically for attached board.
    And also a wiring diagram please
    Thanks in advance.

    Attached Files:

    • Like Like x 1
  2. Zed

    Zed VR Simming w/Reverb Gold Contributor

    Joined:
    Apr 4, 2017
    Messages:
    1,040
    Location:
    USA
    Balance:
    5,840Coins
    Ratings:
    +1,040 / 4 / -0
    My Motion Simulator:
    2DOF, DC motor, JRK
    Hey Lesley, I don’t recognize that board but maybe others do. It always helps if you include model/part numbers/manufacture (if known), etc.

    The “out” terminals look like they go to your motors. The 5v, 12v, and gnd are pretty straightforward, too. But the digital signals are more of a puzzle. You may need to get the h-bridge component part numbers and manufacturer data sheet, and trace connections on your board, to sort the digital lines if there isn’t a datasheet for the whole circuit board.

    Good luck!
    • Like Like x 2
    • Agree Agree x 1
  3. lesley

    lesley New Member

    Joined:
    Jan 15, 2021
    Messages:
    27
    Location:
    South Africa
    Balance:
    20Coins
    Ratings:
    +8 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, AC motor, Arduino, Motion platform
    L298N Module Pin Configuration:
    Pin Name - Description

    IN1 & IN2 - Motor A input pins. Used to control the spinning direction of Motor A

    IN3 & IN4 - Motor B input pins. Used to control the spinning direction of Motor B

    ENA - Enables PWM signal for Motor A

    ENB - Enables PWM signal for Motor B

    OUT1 & OUT2 - Output pins of Motor A

    OUT3 & OUT4 - Output pins of Motor B

    12V - 12V input from DC power Source

    5V - Supplies power for the switching logic circuitry inside L298N IC

    GND - Ground pin


    Something like that?

    Maybe somebody can create a wiring diagram?

    I can send feedback on how it feels on a 2dof sim rig.


    L298N Specs
    • Driver Model: L298N 2A
    • Driver Chip: Double H Bridge L298N
    • Motor Supply Voltage (Maximum): 46V
    • Motor Supply Current (Maximum): 2A
    • Logic Voltage: 5V
    • Driver Voltage: 5-35V
    • Driver Current:2A
    • Logical Current:0-36mA
    • Maximum Power (W): 25W
    • Current Sense for each motor
    • Heatsink for better performance
    • Power-On LED indicator
    • Like Like x 3
  4. Zed

    Zed VR Simming w/Reverb Gold Contributor

    Joined:
    Apr 4, 2017
    Messages:
    1,040
    Location:
    USA
    Balance:
    5,840Coins
    Ratings:
    +1,040 / 4 / -0
    My Motion Simulator:
    2DOF, DC motor, JRK
    Hey Lesley, I took a quick look at another L298N datasheet and max rated current is 4A and I believe that is total for the device. 3A max on each motor (https://www.mouser.com/datasheet/2/389/l298-1849437.pdf) (now I see you also quoted the ampere rating but not sure why the difference - might be heat sinking or even different chip grades)

    It looks like more of a robotics type of H-bridge and not really suitable for motion sim use because of the low current rating. For example, the worm gear motors I use on my 2DOF (the ubiquitous pgsaw crab pot motors on ebay) can pull 20-30A under load and would probably pop the L298N’s quick.

    Depending on what kind of setup, that might not matter to you but I bet it does. The 298N might be appropriate for a demo model/proof of concept not meant to carry a rider but I don’t think it’s a suitable bridge circuit for a full-size motion sim.

    Most here use MonsterMoto boards, Pololu controllers, or Dimension Engineering Sabertooth controllers, with heat sinking and frequently fan cooling since the MonsterMoto and Pulolu boards in particular are being way overloaded and generally running out of specification.

    If you check other people’s builds here you can see what bridges and circuits they use. Motion sim motors can pull a lot of current as they try to lift and throw our big water sacks around.

    Look through here (https://www.xsimulator.net/community/forums/diy-motion-simulator-projects.22/) and especially look at projects similar to what you want to build. You can gets lots of information as you read through and see what worked, what didn’t, what could be better, etc. It can save you lots of time, effort, grief, and money.

    Good luck!
    • Like Like x 2
    • Agree Agree x 1
    • Informative Informative x 1
    Last edited: Jan 25, 2021
  5. andres50

    andres50 simulador de vuelo (flight simulator 2020)

    Joined:
    Sep 20, 2018
    Messages:
    34
    Occupation:
    mecanico
    Location:
    pamplona
    Balance:
    - 254Coins
    Ratings:
    +11 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    Ami, the IBT-2 have given me good results, I recommend them

    Attached Files:

    • Like Like x 2
  6. ihleplunz2112

    ihleplunz2112 New Member

    Joined:
    Jan 12, 2022
    Messages:
    4
    Balance:
    - 17Coins
    Ratings:
    +2 / 0 / -0
    My Motion Simulator:
    2DOF, Arduino
    • Like Like x 1
  7. Tags..(VR)

    Tags..(VR) Member

    Joined:
    Aug 28, 2017
    Messages:
    237
    Location:
    indiana
    Balance:
    - 6Coins
    Ratings:
    +29 / 2 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    hey i started of with a couple L298N's myself and learned quick that they dont give enough power. i would suggest a couple moto monsters which are Dual VNH2SP30's. the l298ns are weak. Dual VNH2SP30.jpg
  8. Tags..(VR)

    Tags..(VR) Member

    Joined:
    Aug 28, 2017
    Messages:
    237
    Location:
    indiana
    Balance:
    - 6Coins
    Ratings:
    +29 / 2 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    if you pin it yourself you can piggy back of the arduino , no bread board ,no jumpers. unless you want more power and give each motor its own moto monster. but still can be ran off one arduino uno.
  9. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,030
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    147,878Coins
    Ratings:
    +10,879 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    Just a word of caution, genuine moto monsters are no longer made, just cheap clones and they need to be tested before use as often they can be faulty: https://www.xsimulator.net/community/faq/monster-moto-testing-before-use.158/

    You also need cooling on the moto monster chips, or risk burning them out.