1. Hundreds of coffees, endless nights of debugging and coding, and countless feedback by our beta testers led to this new major release. SimTools 2.4 is probably the version with the most upgrades and improvements in a single release ever. Look at everything Dustin has included:
    SimTools 2.4 all features.
    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 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.

DashX2 : Another Dashboard for GameDash

Discussion in 'Official Companion Apps' started by vthinsel, Mar 21, 2017.

  1. vthinsel

    vthinsel Well-Known Member

    Joined:
    Feb 20, 2015
    Messages:
    369
    Location:
    FRANCE
    Balance:
    4,631Coins
    Ratings:
    +468 / 1 / -0
    My Motion Simulator:
    3DOF, SCN6
    Hello,

    After CarDashX, I wanted to make another dashboard aiming at more versatility and more eye-candy.
    DashX2 was born. The concept is a bit different than CarDashX as there are no buttons; all configuration is done through console commands.
    DashX2 offers the following display:
    • RGB Leds for RPM indication: Choose any number of leds to drive. Choose the number of orange and red leds, and choose the RPM range to display in percentage related to max RPM (learned or configured)
    • 4 7 segment digits display to show integer values.
    • One 8x8 LED matrix to display gear
    DashX2 offers the following configuration:
    • Arduino uno/nano validated. Beside power, only 4 pins are needed. Gear and 7 segment modules are cascaded. Should you change the cascading order, just update the order in the code using the #define statements.
    1. Pin 10 =TM1638 Data
    2. Pin 11 =TM1638 CS
    3. Pin 12 =TM1638 Clock
    4. Pin 6 = RGB Leds
    • RPM autolearn (on/off). RPM can be reset by adding a switch to ground to pin 6)
    • Brightness control (stored in EEPROM)
    • Choose number of orange and red leds (stored in EEPROM)
    • Choose RPM range to display on LEDS. (ex: 1600 RPM max, with L=10 will light LEDS from 1440 to 1600) (stored in EEPROM)
    Upon power-up you can see all modules auto-test:


    The +5V provided by the arduino (even nano) is enough. No need to tweak the power supply as done with CarDashX.

    Example using Project Cars:

    Display is in order speed/position/RPM/fuel quantity

    Wiring is extremely simple as you can see:
    upload_2017-3-21_21-48-55.png

    upload_2017-3-21_21-49-17.png

    Usage using gamedash is simple. In the interface Startup put the init string you want, and in the interface output the values you want to display.
    For ProjectCars, using the UDP plugin I made, the following settings work nicely :

    upload_2017-3-21_21-51-42.png

    Do not forget to put the math rules to convert values to integer !!

    The code is available on github here: https://github.com/vthinsel/DashX2
    The needed libraries, if you do not have them already are in the file DashX2_libraries.zip. Just unzip the content to your arduino/libraries folder as follow:
    upload_2017-3-21_21-57-44.png

    In case you want more/less RGB LEDS, just change the following line :

    #define NUMPIXELS 24

    And if you daisy-chain the 7 segment module and the gear indicator differently than my setup (gear matrix in the middle of the chain), change those lines accordingly:
    #define SEGMODULE1 0
    #define SEGMODULE2 2
    #define GEARMODULE 1


    That's about all you have to change in the code.

    I just have to print a nice case and here we go !!
    • Like Like x 2
    • Winner Winner x 2
    • Creative Creative x 1
  2. noorbeast

    noorbeast VR - The Next Generation Staff Member Moderator

    Joined:
    Jul 13, 2014
    Messages:
    12,979
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    98,890Coins
    Ratings:
    +8,274 / 40 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
  3. yobuddy

    yobuddy Well-Known Member Staff Member Moderator SimAxe Beta Tester SimTools Developer Gold Contributor

    Joined:
    Feb 9, 2007
    Messages:
    3,453
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    27,012Coins
    Ratings:
    +3,549 / 10 / -0
    @vthinsel ,
    Amazing work buddy!
    Now that's a sweet dash anyone can build!
    Thanks man!
    yobuddy
  4. Stem75

    Stem75 New Member

    Joined:
    Jun 11, 2017
    Messages:
    3
    Location:
    Greece
    Balance:
    - 49Coins
    Ratings:
    +1 / 0 / -0
    My Motion Simulator:
    2DOF
    Woohhhh! This is one of the best i have seen.
  5. Stem75

    Stem75 New Member

    Joined:
    Jun 11, 2017
    Messages:
    3
    Location:
    Greece
    Balance:
    - 49Coins
    Ratings:
    +1 / 0 / -0
    My Motion Simulator:
    2DOF
    Can you please list the hardware parts. Thank you.
  6. Stem75

    Stem75 New Member

    Joined:
    Jun 11, 2017
    Messages:
    3
    Location:
    Greece
    Balance:
    - 49Coins
    Ratings:
    +1 / 0 / -0
    My Motion Simulator:
    2DOF
    Sorry for the posts but i am new here.
    OK with the list, i thing i found them if i am right.

    • 8x8 LED Dot Matrix MAX7219 Display Module for Arduino
    • MAX7219 LED Dot Matrix 8 Digit Digital Tube Display Control Module For Arduino 3.3V 5V Microcontroller Serial Driver 7-segment
    • NeoPixel Stick - 8 x 5050 RGB LED with Integrated Drivers
    • Like Like x 1