1. You must be a registered member to be able to access this page and to download game plugins. Please register here. It´s for free.
  2. 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
  3. 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!
  4. 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
  5. 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
RacingMat

Arduino code: 4DOF and 1 pin direction Hbridge 3.2

source code

  1. RacingMat
    Please find inside the .ino file, the Arduino code needed to run a 3DOF or 4DOF simulator.

    It's written to work with Hbridge having only 1 pin for direction.

    such as Pololu 755 single Hbridge driver board (40 $ per motor)
    5.5 to 30 V and continuous 15 A without a heat sink.
    http://www.pololu.com/catalog/product/755
    [​IMG]

    This file is a text file that can be loaded in Arduino IDE
    or simply opened with Notepad for viewing purpose.

    A tutorial is provided to implement the code and setup your simulator with this code: 4DOF code implementation

    about Arduino: http://www.arduino.cc

    Pololu 755 only needs 1 PWM pin and 1 Dir pin to drive the motor
    So one Arduino UNO could drive up to 6 motors!!

    and even more if using SoftPWM tweak... (need to be tested)
    https://code.google.com/p/rogue-code/wiki/SoftPWMLibraryDocumentation
    Mazava likes this.

Recent Updates

  1. Value below 16 bug corrected
  2. minor update