1. Join the Community!

    DSMtuners is a massive archive of DSM information - but more importantly, it's a COMMUNITY! Join in and participate with other DSMers, and invite all of your DSM friends to make this place their home. Chat with others, create a build thread, post questions and answers. Get involved! Logging in will also remove many of the advertisements, along with this notice. ;)

ECMlink PiLink - Owners Thread

Posted by TSiAWD666, Jun 11, 2020

Please Support Kiggly Racing
Please Support Rix Racing
  1. Justin DuBois

    Justin DuBois Proven Member

    131
    66
    Joined Aug 15, 2019
    Oakland, California
    Ive done this - it does work.
     

    Street Build 1K  13

    1995 Mitsubishi Eclipse GSX
    382 whp · 354 lb/ft · 2G DSM
    Loading...
    TSiAWD666 likes this.
  2. Justin DuBois

    Justin DuBois Proven Member

    131
    66
    Joined Aug 15, 2019
    Oakland, California
    Can someone give me an example of the UNIX command line that will play mp3, or sound files to through HDMI on PiLInk?
     

    Street Build 1K  13

    1995 Mitsubishi Eclipse GSX
    382 whp · 354 lb/ft · 2G DSM
    Loading...
  3. TSiAWD666

    TSiAWD666 Supporting Vendor

    2,608
    834
    Joined Aug 15, 2003
    Herndon, Virginia
    "omxplayer" will play both music and video and it's installed. As for sound over hdmi, you don't need to specify that in any special way as that is abtracted and normally handled by the internal sound card. However in your case that doesn't apply, as you bought the Android Auto upgrade and your sound will be going out the USB sound card to your car's sound system and the internal sound card is disabled.
     

    Road Race Build 17K  17  371

    1999 Mitsubishi Eclipse GSX
    377 whp · 416 lb/ft · 2G DSM
    Loading...
  4. Justin DuBois

    Justin DuBois Proven Member

    131
    66
    Joined Aug 15, 2019
    Oakland, California
    In python, adding the below lines of code is working... but it seems slow to execute. I'm wondering if making an external call from a python script is too much overhead to be responsive

    from subprocess import call #to execute unix commands with call
    call(["omxplayer", "-p", "-o", "hdmi", "Tink.wav"]) #play sound

    From a terminal the command line is this: (assuming Tink.wav is in current directory)
    omxplayer -p -o hdmi Tink.wav
     

    Street Build 1K  13

    1995 Mitsubishi Eclipse GSX
    382 whp · 354 lb/ft · 2G DSM
    Loading...
  5. TSiAWD666

    TSiAWD666 Supporting Vendor

    2,608
    834
    Joined Aug 15, 2003
    Herndon, Virginia
    I would try a python library for playing audio files then.
     

    Road Race Build 17K  17  371

    1999 Mitsubishi Eclipse GSX
    377 whp · 416 lb/ft · 2G DSM
    Loading...
  6. Justin DuBois

    Justin DuBois Proven Member

    131
    66
    Joined Aug 15, 2019
    Oakland, California
    I changed the "call" function to "Popen" function. This at least won't block the rest of the script from running, when executing the external command.

    Here a preview of the UI:
    Background.png
     

    Street Build 1K  13

    1995 Mitsubishi Eclipse GSX
    382 whp · 354 lb/ft · 2G DSM
    Loading...
  7. Justin DuBois

    Justin DuBois Proven Member

    131
    66
    Joined Aug 15, 2019
    Oakland, California
    Improving
    F0D47943-BEE7-4660-98CB-D35E9FB6B05A.jpeg
     

    Street Build 1K  13

    1995 Mitsubishi Eclipse GSX
    382 whp · 354 lb/ft · 2G DSM
    Loading...
    123bobby123 likes this.
  8. TSiAWD666

    TSiAWD666 Supporting Vendor

    2,608
    834
    Joined Aug 15, 2003
    Herndon, Virginia
    I had a user report an issue with live table tracking and this has been confirmed by a tester as well as me.

    Table tracking does not appear to work properly in the Linux version of ECMLink provided by ECMTuning. PiLink runs the Linux version of ECMLink provided by ECMTuning. In the Linux version when tracking for a table is enabled visually the cells do not follow the data live. Also occasional freezes of data stream have been reported when tracking is activated. I've reported the issues to ECMTuning here: http://www.ecmtuning.com/forums/showthread.php?t=90725
    Workaround: The data does capture and can be viewed on another system like a Windows laptop running ECMLink where the tracking will work, and so this really only affects live tuning on PiLink itself.

    If this is a function you want to use I strongly suggest posting in the forum thread linked above requesting ECMTuning resolve the problem in the Linux version.

    I'm still looking into this but right now I think this issue is out of my hands and something ECMTuning needs to resolve.
     

    Road Race Build 17K  17  371

    1999 Mitsubishi Eclipse GSX
    377 whp · 416 lb/ft · 2G DSM
    Loading...
  9. DirtyBirdRacing

    DirtyBirdRacing Supporting Member

    763
    15
    Joined Nov 25, 2002
    Chicago, Illinois
    Yeah, I would agree its not an issue with PILink. This feature hasn’t worked on my macbook air since I started using it for ecmlink earlier this year. I’ll post over on the ecmtuning forum as well. I just always figured it was me being a mac novice... haha
     

    Drag Race Build 270  1

    1991 Eagle Talon TSi AWD
    awd · manual · 1G DSM
    Loading...
    TSiAWD666 likes this.
  10. josh408

    josh408 Proven Member

    1,705
    89
    Joined Jan 29, 2011
    Bay Area, California
    I got mine hooked up today. Only thing not working is the LED light but PiLink is logging everything. Connecting it to the homes wifi network was easy and I used VNC to view the data logs and add all the data I wanted captured. I plan to purchase an android radio so I can view the data through that. No better time to upgrade the stock radio right LOL
     

    Street Build 4K  4

    1998 Mitsubishi Eclipse GSX
    11.935 @ 118.24 · 2G DSM
    Loading...
  11. TSiAWD666

    TSiAWD666 Supporting Vendor

    2,608
    834
    Joined Aug 15, 2003
    Herndon, Virginia
    Reaching out to you via email about the LED. Glad to hear it's working otherwise though!
     

    Road Race Build 17K  17  371

    1999 Mitsubishi Eclipse GSX
    377 whp · 416 lb/ft · 2G DSM
    Loading...
  12. TSiAWD666

    TSiAWD666 Supporting Vendor

    2,608
    834
    Joined Aug 15, 2003
    Herndon, Virginia
    So josh408's issue was that I had a brain fart during assembly and reversed the wires for his LED where they connect to the Pi. If anyone else has problems with the LED not lighting up try reversing the LED wires inside (be gentle when opening the lid, there are a number of wires attached to the power board that is attached to the underside of the lid). I am not sure if I made this mental error on many or just his...
     

    Road Race Build 17K  17  371

    1999 Mitsubishi Eclipse GSX
    377 whp · 416 lb/ft · 2G DSM
    Loading...
    josh408 likes this.
  13. Justin DuBois

    Justin DuBois Proven Member

    131
    66
    Joined Aug 15, 2019
    Oakland, California
    If there are any Mac users out there who want to make sure they are saving text files with UNIX Line Feeds - ATOM is great! Free, and I've been using it to create my config files for PiLink.
     
    Last edited: Aug 9, 2020

    Street Build 1K  13

    1995 Mitsubishi Eclipse GSX
    382 whp · 354 lb/ft · 2G DSM
    Loading...
  14. Justin DuBois

    Justin DuBois Proven Member

    131
    66
    Joined Aug 15, 2019
    Oakland, California
    Here is the latest version of a touch screen STACK DashControl App
     
    Last edited: Aug 10, 2020

    Street Build 1K  13

    1995 Mitsubishi Eclipse GSX
    382 whp · 354 lb/ft · 2G DSM
    Loading...
  15. TSiAWD666

    TSiAWD666 Supporting Vendor

    2,608
    834
    Joined Aug 15, 2003
    Herndon, Virginia
    v1.1 for PiLink is ready with a handful of fixes and some new features. Updating requires contacting me for an image link and burning the entire new image onto your microSD, but don't worry this version includes a USB update feature to make updating simpler moving forward. Reach out to me at [email protected] if interested in updating.
    • Better on-screen virtual keyboard (way better than previous keyboard)
    • Splash video support - Add a video to your PiLink's boot process, and comes with a default video you can enable
    • Automatic cleanup of config files that are saved in Windows format (as opposed to Unix format) - This is for those that forget to use Notepad++ (which not surprisingly is a good number of people!)
    • Hotspot mode - Enable a hotspot mode so that PiLink makes its own WiFi network automatically when away from your home WiFi. Connect directly to PiLink and tune your car wirelessly now with your laptop, or even a tablet device! System tray status icon as well.
    • Improved support for the John Freund Racing 7" Display - It had occasional hiccups with audio and sometimes would flicker during the boot process, and this has been addressed with various refinements.
    • Bug fixes - (major one was for the handful of Pi 4 owners that fixes the Status LED not working)
    • Updated the Tuning Mode button to make it more obvious - also cleaned up the desktop a bit moving shortcut icons to the "Start" menu.
    • ECMLink Backups now include Google Drive sync configurations (if present), and the restore process will restore them.
    • Status LED Brightness can now be adjusted
    • Incremental Updates - After this release you will be able to update to most future releases by downloading updates to your USB Drive and inserting into PiLink (major release will still require full system re-images).
    • Version info now placed on USB Drive - PiLink now places a "version" file on your USB drive for quick identification of what version you are running. Necessary for the Update process so you know what updates to apply.
    All PiLink customers received a Google Drive link to the USB drive files. That link now includes an updated pilink.cfg for v1.1, as well as the v1.1 manual (which includes a changelog at the end to make it more clear about the updates).
     
    Last edited: Aug 14, 2020

    Road Race Build 17K  17  371

    1999 Mitsubishi Eclipse GSX
    377 whp · 416 lb/ft · 2G DSM
    Loading...
  16. TSiAWD666

    TSiAWD666 Supporting Vendor

    2,608
    834
    Joined Aug 15, 2003
    Herndon, Virginia
    @Justin DuBois inquired about relay control to replace some switches in his dash as he wanted to use the PiLink + OpenAuto Pro upgrade along with a 7" John Freund Racing Display that would take up the 2g stereo panel where his switches currently reside. I identified an add-on board that mounts on top of the Pi providing 4x3A 12V relays and digital control of them. I gave him a basic primer on interacting with them for integrating into PiLink as well as OpenAuto using touch controls. He came up with a working touch screen program, and I built a custom case to house it all and did a pretty slick integration into PiLink and OpenAuto.

    I'll be offering this product soon. I haven't worked out pricing yet, and only have it working on the OpenAuto version of PiLink. If you do have interest, please let me know (at [email protected]) along with what version of PiLink you plan to use (so that if I have enough interest in the non-OpenAuto version I can accelerate that development). The touch interface can be customized of course to your needs (button choices, backgrounds, logos, etc.).



    20200813_171927.jpg 20200813_171916.jpg
     

    Road Race Build 17K  17  371

    1999 Mitsubishi Eclipse GSX
    377 whp · 416 lb/ft · 2G DSM
    Loading...
    dskagr, Justin DuBois, JPenny and 2 others like this.
  17. Justin DuBois

    Justin DuBois Proven Member

    131
    66
    Joined Aug 15, 2019
    Oakland, California
    I can’t make it any more ready for installation.
    The extension to the stack harness is waiting for final length and termination. The center console is left open ready to incorporate the display, sound input and output cables.
    6E65DB2C-7268-4AE4-B063-ABA9B504903F.jpeg
    54C5354A-12F7-4953-B913-61C649CFCA54.jpeg C77408BA-D56C-49A0-B772-40B1B74725BC.jpeg Detail3.jpg
    Should be fun!
     
    Last edited: Aug 17, 2020

    Street Build 1K  13

    1995 Mitsubishi Eclipse GSX
    382 whp · 354 lb/ft · 2G DSM
    Loading...
    Ludachris likes this.
  18. Ludachris

    Ludachris Founder & Zookeeper

    7,422
    1,723
    Joined Nov 12, 2001
    Newcastle, California

    Street Build 10K  0

    1997 Eagle Talon TSi AWD (sold)
    manual · 2G DSM

    Road Race Build 8K  10  23

    1991 Mitsubishi Eclipse GSX
    435.0 whp · 399.2 lb/ft · 1G DSM
    Loading...
    Justin DuBois likes this.
  19. Charliethatguy

    Charliethatguy Proven Member

    48
    13
    Joined Apr 14, 2018
    Madison, Wisconsin
    How did you guys wire up the Red (power) for the box. Im looking at diagrams but am worried about blowing a fuse if I connect it to a wire coming from the ECU. Any input is appreciated!
     

    Street Build 516  3

    1992 Eagle Talon TSi AWD
    awd · manual · 1G DSM
    Loading...
  20. Jacolu3

    Jacolu3 Proven Member

    612
    93
    Joined Jan 31, 2015
    Lake Grove, New York
    I used an inline fuse to be on the safe side
     

    Drag Race Build 6K  25

    1997 Mitsubishi Eclipse GSX
    10.632 @ 140.31 · 2G DSM
    Loading...
  21. Charliethatguy

    Charliethatguy Proven Member

    48
    13
    Joined Apr 14, 2018
    Madison, Wisconsin
    Ok I think im going to splice into pin 103 which I have as the battery backup power (constant 12v)
     

    Street Build 516  3

    1992 Eagle Talon TSi AWD
    awd · manual · 1G DSM
    Loading...
    TSiAWD666 likes this.
  22. josh408

    josh408 Proven Member

    1,705
    89
    Joined Jan 29, 2011
    Bay Area, California
    I spliced it into one of the stereo wires. The only one that received constant power.
     

    Street Build 4K  4

    1998 Mitsubishi Eclipse GSX
    11.935 @ 118.24 · 2G DSM
    Loading...
  23. Justin DuBois

    Justin DuBois Proven Member

    131
    66
    Joined Aug 15, 2019
    Oakland, California
    For instrumentation, (and PiLink - that need to stay connected to the ECU without power interruption when cranking), a nice setup is a fuse and relay block triggered by IG1 (ignition switch on while cranking)
    http://www.ecmtuning.com/forums/showthread.php?t=90552

    Radio and Cigarette lighters are no go for PiLink power because the power is interrupted when cranking

    Constant hot - which is the one I think you were referring to, should be behind a fuse of some kind. The relay block provides that too.
     
    Last edited: Aug 20, 2020

    Street Build 1K  13

    1995 Mitsubishi Eclipse GSX
    382 whp · 354 lb/ft · 2G DSM
    Loading...
  24. josh408

    josh408 Proven Member

    1,705
    89
    Joined Jan 29, 2011
    Bay Area, California
    The one I spliced into had constant power with the key off as well. It wasn't a switched 12v wire. I double checked the other wires and found the switched one as well just to make sure. Maybe radio memory?
     

    Street Build 4K  4

    1998 Mitsubishi Eclipse GSX
    11.935 @ 118.24 · 2G DSM
    Loading...
    Justin DuBois likes this.
  25. Justin DuBois

    Justin DuBois Proven Member

    131
    66
    Joined Aug 15, 2019
    Oakland, California
    Yes - yes it is... going good so far.


    IMG_0740.jpg


     

    Street Build 1K  13

    1995 Mitsubishi Eclipse GSX
    382 whp · 354 lb/ft · 2G DSM
    Loading...

Share This Page

Support Vendors who Support the DSM Community
Boosted Fabrication ECM Tuning ExtremePSI Feal Suspension Fuel Injector Clinic Jacks Transmissions JNZ Tuning Kiggly Racing Morrison Fabrications MyMitsubishiStore.com OHM Racing Raven Fabrication RixRacing RockAuto RTM Racing SouthBay Fuel Injectors STM Tuned VR Speed Factory