¿Arduino + Display TM1638 in Raceroom?

Discussion in 'Hardware' started by Raid, Nov 29, 2015.

  1. Raid

    Raid New Member

    Joined:
    Nov 28, 2015
    Ratings:
    +0 / 0
    Hello,

    Anyone of you use the display tm1638 with Arduino?

    I Need Arduino code and the application to run my display.

    Thank you very much!
     
  2. rbn

    rbn Well-Known Member

    Joined:
    May 31, 2015
    Ratings:
    +69 / 0
    I use the TM1638 with Raceroom.

    There wasn't any good app to drive the display, all of them were old, so I made my own :).
    The app isn't really finished but I can put it online somewhere so you can download it.
    I will try to do this this week, I have to do some fixes.
     
    • Like Like x 1
  3. Raid

    Raid New Member

    Joined:
    Nov 28, 2015
    Ratings:
    +0 / 0
    Thank you very much for answering @rbn .

    If you can upload it to a web page to download and try it I'd appreciate it very much!
     
  4. rbn

    rbn Well-Known Member

    Joined:
    May 31, 2015
    Ratings:
    +69 / 0
    • Like Like x 1
  5. Raid

    Raid New Member

    Joined:
    Nov 28, 2015
    Ratings:
    +0 / 0
    No Arduino opens.

    When I open '' Ar-SLI_0.6L _-_ RELEASE.ino '' gives me the following error:

    [​IMG]

    how do I solve it?

    Thank you very much!
     
  6. rbn

    rbn Well-Known Member

    Joined:
    May 31, 2015
    Ratings:
    +69 / 0
    The .ino file needs to be opened and uploaded with Arduino Sketch to the Arduino, I use 1.6.5-r5.
    Then just run the .exe to send data to the Arduino.

    Just notice that every app uses a different Arduino Sketch (.ino) file so the one in the Arduino will be overwritten.
    So if you already have apps for Assetto or pCars you will have to upload the .ino for that app when you want to use that.
     
    • Like Like x 1
  7. Raid

    Raid New Member

    Joined:
    Nov 28, 2015
    Ratings:
    +0 / 0
    if every game uses its own code and its own Arduino sketch.

    I do not get it to work :(

    Opened a new Sketch and '' open-Ar-SLI_0.6L _ _ RELEASE.ino '' and now I get this:

    [​IMG]
     
  8. rbn

    rbn Well-Known Member

    Joined:
    May 31, 2015
    Ratings:
    +69 / 0
    You have Arduino 1.05 I use 1.6.5.

    Just from scratch, you need to have:
    - A recent Arduino version. https://www.arduino.cc/en/Main/Software
    - TM1638 Library. https://dl.dropboxusercontent.com/u/72840504/ar-sli/TM1638 Library v2.2.0.zip

    1. If you don't have the library download it and put in the Library folder of Ardruino i.e. D:\Arduino-1.6.5-r5\libraries\TM1638 (TM16XX.cpp should be in this directory)
    2. Open Arduino and goto file -> open and browse to the Ar-SLI .ino file. (there should be code in the window)
    3. Verify and upload
    4. Start .exe app.
     
    • Like Like x 1
  9. Raid

    Raid New Member

    Joined:
    Nov 28, 2015
    Ratings:
    +0 / 0
    It does not work :(

    Arduino I upgraded to the new version.

    Arduino run. Open '' Ar-SLI_0.6L _ _-RELEASE '' and the display (tm1638) works.

    Run '' Ar-SLI.exe ''

    Open the game and does not work :(

    [​IMG]
     
  10. rbn

    rbn Well-Known Member

    Joined:
    May 31, 2015
    Ratings:
    +69 / 0
    Do the lights blink and show Ar-SLI when you disconnect and connect the Arduino from USB? If so the .ino is ok.
    What does the app say? i.e. R3E found, API connected?
    Did you press start button?
     
    • Like Like x 1
  11. Raid

    Raid New Member

    Joined:
    Nov 28, 2015
    Ratings:
    +0 / 0
    Fixed issue!!
    The problem was that not press the Start button in the application. I did not know he had to press the button to start because you can only open after the game.

    Thank you for everything friend. You're very kind!
     
    • Winner Winner x 1
  12. rbn

    rbn Well-Known Member

    Joined:
    May 31, 2015
    Ratings:
    +69 / 0
    Good to hear it works!
    The start button isn't very handy I agree, maybe I will change that in a new version ;).

    FYI:
    On the display the top first two buttons are for cycling through the info pages, you can press the same button multiple times to go to the next sub page. All other buttons have no function.
     
    • Like Like x 1
  13. Raid

    Raid New Member

    Joined:
    Nov 28, 2015
    Ratings:
    +0 / 0
    Yes, I've been testing the buttons for the functions of each.

    Do you have website to know when uploading a new version?
     
  14. rbn

    rbn Well-Known Member

    Joined:
    May 31, 2015
    Ratings:
    +69 / 0
    Not yet, I want to add some more stuff which was added to the latest API, then when I think its ready I will create a dedicated topic here.
     
    • Like Like x 1
  15. Raid

    Raid New Member

    Joined:
    Nov 28, 2015
    Ratings:
    +0 / 0
    Perfect.

    I try to be attentive to download the new version.

    Thank you so much for everything!