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.
soraz

Arduino and TM1638 for simple DashBoard 2.0.1

Code for Arduino with TM1638 for a simple Dashboard with buttons

  1. soraz
    A code for create a dashboard with Arduino and TM1638 to use with GameDash.

    upload_2013-12-16_23-22-8.png

    You must connect only 5 pins from TM1638 to Arduino :

    TM1638 .../... Arduino
    ... pin 1 .../... 5V
    ... pin 2 .../... 0V
    ... pin 3 .../... D4 (Clock o CLK)
    ... pin 4 .../... D5 (Data I/O o DIO)
    ... pin 5 .../... D3 (Strobe0 o STB0)

    upload_2013-12-16_23-7-37.png

    Install GameDash, set Serial output, set Output Settings, edit command to adjust out value according arduino code.

    Here a sample configuration for Kart Racing Pro
    upload_2013-12-16_23-12-52.png

    upload_2013-12-16_23-13-48.png

    upload_2013-12-16_23-15-7.png

    upload_2013-12-16_23-15-30.png

    upload_2013-12-16_23-15-43.png


    - With version 2.0 -​

    valid output :
    - S<DashX> - Speed
    - G<DashX> - Gear
    - M<DashX> - RPM
    - O<DashX> - Oil
    - W<DashX> - Water
    - F<DashX> - Fuel
    - L<DashX> - Lap
    - P<DashX> - Position

    by default display show gear on left and speed on right, leds show only RPM.
    the buttons function to change display data from left to right are:
    - S1 - Speed
    - S2 - Gear
    - S3 - RPM
    - S4 - Oil
    - S5 - Water
    - S6 - Fuel
    - S7 - Lap
    - S8 - Position
    hjr2, Lodewijk, MarcNSF and 15 others like this.

Recent Reviews

  1. Rodrigo Gontijo
    Rodrigo Gontijo
    5/5,
    Version: 2.0.1
    top
  2. RacingMat
    RacingMat
    5/5,
    Version: 2.0.1
    good tutorial!
  3. Darkhanbaatar
    Darkhanbaatar
    5/5,
    Version: 1.0
    very good