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

Tutorial Another simple arduino dashboard with TM1638

Discussion in 'DIY peripherals' started by vthinsel, Sep 22, 2015.

  1. xiatian

    xiatian Member

    Joined:
    Sep 5, 2017
    Messages:
    78
    Location:
    Xi'an, China
    Balance:
    262Coins
    Ratings:
    +28 / 0 / -0
    My Motion Simulator:
    2DOF
    Read your project, I have been able to complete my own TM1638 dashboard, and thank you!
  2. Slimsign

    Slimsign New Member

    Joined:
    Mar 1, 2018
    Messages:
    1
    Location:
    Tynaarlo
    Balance:
    181Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    Arduino
    Can you please tell me if it is possible to get it working on a ps4... Thank you !
  3. vthinsel

    vthinsel Well-Known Member

    Joined:
    Feb 20, 2015
    Messages:
    437
    Location:
    FRANCE
    Balance:
    5,973Coins
    Ratings:
    +563 / 2 / -0
    My Motion Simulator:
    Arduino, 4DOF
    as long as the game plugin supports gamedash and PS4 game, it works. I myself use PS4......
    PS4 supported games : project cars, project cars 2, assetto corsa, F1 2016 , F1 2017 and maybe some others
  4. Walt

    Walt New Member

    Joined:
    Jul 11, 2018
    Messages:
    1
    Balance:
    17Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    Arduino
    Smoked regulator, interesting. Don't see how as the VUSB does not go through the regulator. Only Vin goes through the regulator using 9 or 12 Volt input. I use the TM1638 on USB power without a problem. Just don't overload the computers USB port, Use a powered hub if any question. Anyways, a cool project.
  5. hansvdm

    hansvdm Member Gold Contributor

    Joined:
    Sep 21, 2023
    Messages:
    57
    Occupation:
    Freelance
    Location:
    leiden Netherlands
    Balance:
    106Coins
    Ratings:
    +10 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino

    Any idea what RPM output rules I have to change so all the leds lightup when I have full RPM? Only the first 5 leds are on, they other 3 are alway off even with full rmp,

    Thanks

    Hans
  6. vthinsel

    vthinsel Well-Known Member

    Joined:
    Feb 20, 2015
    Messages:
    437
    Location:
    FRANCE
    Balance:
    5,973Coins
    Ratings:
    +563 / 2 / -0
    My Motion Simulator:
    Arduino, 4DOF
    Hi !

    Send a /Txxxx command where xxxx is the max RPM.
    Send it only once
  7. hansvdm

    hansvdm Member Gold Contributor

    Joined:
    Sep 21, 2023
    Messages:
    57
    Occupation:
    Freelance
    Location:
    leiden Netherlands
    Balance:
    106Coins
    Ratings:
    +10 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    Thanks, what do you mean with Send ?Txxxx where do I do that?
  8. vthinsel

    vthinsel Well-Known Member

    Joined:
    Feb 20, 2015
    Messages:
    437
    Location:
    FRANCE
    Balance:
    5,973Coins
    Ratings:
    +563 / 2 / -0
    My Motion Simulator:
    Arduino, 4DOF
    In the dash output settings
    upload_2023-11-29_20-57-12.png
    Note, that I didnt validate the config shown here, it is just an example.
    • Like Like x 1
  9. hansvdm

    hansvdm Member Gold Contributor

    Joined:
    Sep 21, 2023
    Messages:
    57
    Occupation:
    Freelance
    Location:
    leiden Netherlands
    Balance:
    106Coins
    Ratings:
    +10 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    I tried differnt values but still the same result, when the car is in N, 2 leds light up and with full RMP 5 leds light up.
  10. vthinsel

    vthinsel Well-Known Member

    Joined:
    Feb 20, 2015
    Messages:
    437
    Location:
    FRANCE
    Balance:
    5,973Coins
    Ratings:
    +563 / 2 / -0
    My Motion Simulator:
    Arduino, 4DOF
    can you put screenshots of the dash output settings ?
  11. hansvdm

    hansvdm Member Gold Contributor

    Joined:
    Sep 21, 2023
    Messages:
    57
    Occupation:
    Freelance
    Location:
    leiden Netherlands
    Balance:
    106Coins
    Ratings:
    +10 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
  12. vthinsel

    vthinsel Well-Known Member

    Joined:
    Feb 20, 2015
    Messages:
    437
    Location:
    FRANCE
    Balance:
    5,973Coins
    Ratings:
    +563 / 2 / -0
    My Motion Simulator:
    Arduino, 4DOF
    This cant work as the board will receiver <La1><Sp1> making L unreadable, and no speed update as well
    as per the documentation:

    Serial/I2C syntax: [command letter][decimal number]
    // Yx : Start module with intensity set to x (1-7)
    // Sx : Speed update (decimal notation)
    // Gx : Gear update (decimal notation)
    // Rx : RPM update (decimal notation)
    // Tx : Max RPM
    // Ox : oil temp
    // Wx : water temp
    // Fx : fuel
    // Lx : lap
    // Px : position
    // Exxxx : lap time. 4 bytes representing float according to IEEE
    // Z0A : Stop and clear module

    The command will be processed when a new one starts. For example, RPM will be updated on the module once a new command such as S will start
    Serial data to start with max luminosity set (5), speed=95, RPM=4250, gear=2, lap=3, position=12 (last caracter is to finish processing of RPM, can be anything except a digit)
    Y5S95G2R4250T5000L3P12R

    If gear is negative, the reverse is assumed and 'r' is displayed
    If gear is 0, neutral is assumed and 'n' is displayed
  13. hansvdm

    hansvdm Member Gold Contributor

    Joined:
    Sep 21, 2023
    Messages:
    57
    Occupation:
    Freelance
    Location:
    leiden Netherlands
    Balance:
    106Coins
    Ratings:
    +10 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino

    Attached Files:

  14. Piwolf

    Piwolf New Member

    Joined:
    Jan 22, 2022
    Messages:
    1
    Balance:
    - 49Coins
    Ratings:
    +1 / 0 / -0
    My Motion Simulator:
    2DOF, Arduino
    Thanks vthinsel !
    My Mini Cooper R53 instrument cluster works after I moded some codes.

    • Like Like x 1