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

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:
    439
    Location:
    FRANCE
    Balance:
    6,010Coins
    Ratings:
    +564 / 2 / -0
    My Motion Simulator:
    Arduino, 4DOF
    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 Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,048
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    147,986Coins
    Ratings:
    +10,884 / 54 / -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:
    5,282
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    49,206Coins
    Ratings:
    +5,093 / 18 / -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:
    45Coins
    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:
    45Coins
    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:
    45Coins
    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
  7. vthinsel

    vthinsel Well-Known Member

    Joined:
    Feb 20, 2015
    Messages:
    439
    Location:
    FRANCE
    Balance:
    6,010Coins
    Ratings:
    +564 / 2 / -0
    My Motion Simulator:
    Arduino, 4DOF
    Hello !
    It has been a long time I didn't post anything ;)
    Now, I'm back with my fully finished DashX2 that includes 8 4 digits LEDs (4 MAX 7219 modules in fact), and 3*8 RGB LEDS for RPM and a gear indicator.

    Here is the display after boot:
    upload_2020-6-11_17-17-58.png

    The small box contains the arduino nano. The display box has a "dumb" 6 pin connector exposing all signals (3 for the cascaded MAX7219 and one for the RGB LED), so it can be re-used easily.

    The github repo is updated with this latest version if you are interested.
    Now, I'll review the Assetto Corsa plugin for console, as I hope that ACC will support UDP, and be backward compatible.
    • Like Like x 3
  8. vthinsel

    vthinsel Well-Known Member

    Joined:
    Feb 20, 2015
    Messages:
    439
    Location:
    FRANCE
    Balance:
    6,010Coins
    Ratings:
    +564 / 2 / -0
    My Motion Simulator:
    Arduino, 4DOF
    • Winner Winner x 2
  9. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

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