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. 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 Download Package Now!
  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 here. Do not following these rules will lead to permanent exclusion from this website: Read the forum 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