Page 6 of 11 FirstFirst 1234567891011 LastLast
Results 51 to 60 of 107

Thread: OEM MFD2 (VW) and a PC. My next IVI (to replace my nexus 7 custom HU)

  1. #51
    Newbie
    Join Date
    Nov 2013
    Posts
    48
    Quote Originally Posted by RHCP4LIFE View Post
    Yeah, I just didnt know if PAL is better for your graphics card than NTSC. Still learning here..

    After i figured out how to get my hood open, the Latch came undone, and i had to pull the driver side wheel and fender liner. I was able to pull the MFD2 out today and get it powered up. I need a bigger power supply, its 13.8v @ 4amp from the 80's and my screen seems to be cutting out when ever the dvd player kicks on.

    after looking at the fuse @ 10amp i may need to upgrade, dlbogdan what size power supply are you using?
    after further review the PS is 16 amp on the 13.8v side. not sure but when ever the dvd drive powers on it dips the display. also dvd is very loud. The PS also is dipping to 10v when dvd kicks on, Im wondering if my power supply is on the fritz and cant hold the load, and is dipping below the voltage threshold and resetting the display and dvd.


    EDIT: I had a 3amp 13.8 laying around, It work just fine without any dips any power, looks like ill be tossing my old one.
    Last edited by RHCP4LIFE; 12-27-2013 at 02:41 PM.

  2. #52
    Newbie
    Join Date
    Nov 2013
    Posts
    48
    So i worked on the arduino tonight. I think im missing some code things, but i have the canbus pins from the MFD2 connected to the arduino shield. Just need a bit more help on the code. I email ThatKid for more assistance. Once code is done i should just be able to look at the logs to see what the MFD2 is saying.

  3. #53
    Low Bitrate
    Join Date
    Oct 2013
    Location
    Bucharest
    Posts
    56
    I have my lab wired up with 12V from an industrial grade 30 amps PSU, I didn't even bother sampling the current hit of the unit.
    I'm having a miserable time setting up centrafuse 4.4.xx latest. When I want to add an external app (iGo 8.3 PC, the best for my country) I can't set the executable path. It just takes the folder path but not the executable name.. Frustrating. Tried with a slightly older centrafuse and it works great. This happened right after I installed GMPC plugin and tried to edit the executable path. Update 4.4.5 fixed the issue. See below.

    Also in the older centrafuse I can't set it to behave properly. It always goes full screen, and if i lower the res of the external program it just sits there overlapping centrafuse like an ink splat over a clean shirt. Then I pus some buttons on centrafuse, the iGo app goes in back as expected but when I push iGo again, instead of bringing the app in foreground it just lunches another one.. pfff Maybe I should read the centrafuse manual

    Also the BT Phone is very unstable. Maybe I should buy a better dongle.
    Still a lot to be done. I'll keep my promises though and when I'm done I'll post detailed tutorials for hardware and software setup of everything.
    RHCP4Life, Great work bro! You're doing a very important part of this project. Keep it up! I'll also be interested to set up the maxidot display to show detailed navi information like arrows and distances. That I think will be the hard core boss level epic part of the project.
    Last edited by dlbogdan; 12-31-2013 at 07:30 AM.

  4. #54
    Newbie
    Join Date
    Nov 2013
    Posts
    48
    Quote Originally Posted by dlbogdan View Post
    I have my lab wired up with 12V from an industrial grade 30 amps PSU, I didn't even bother sampling the current hit of the unit.
    I'm having a miserable time setting up centrafuse 4.4.xx latest. When I want to add an external app (iGo 8.3 PC, the best for my country) I can't set the executable path. It just takes the folder path but not the executable name.. Frustrating. Tried with a slightly older centrafuse and it works great. This happened right after I installed GMPC plugin and tried to edit the executable path.
    Also in the older centrafuse I can't set it to behave properly. It always goes full screen, and if i lower the res of the external program it just sits there overlapping centrafuse like an ink splat over a clean shirt. Then I pus some buttons on centrafuse, the iGo app goes in back as expected but when I push iGo again, instead of bringing the app in foreground it just lunches another one.. pfff Maybe I should read the centrafuse manual

    Also the BT Phone is very unstable. Maybe I should buy a better dongle.
    Still a lot to be done. I'll keep my promises though and when I'm done I'll post detailed tutorials for hardware and software setup of everything.
    RHCP4Life, Great work bro! You're doing a very important part of this project. Keep it up! I'll also be interested to set up the maxidot display to show detailed navi information like arrows and distances. That I think will be the hard core boss level epic part of the project.
    Hard core Boss level epic indeed!

    Yeah on that note. I didnt get the gauge cluster... I won the auction for $5 and its like a $200 part, the seller said he tested it before he shipped it and it was not working... Im thinking he just didn't want to sell it for so cheap, as he listed in his auction "works perfect" So he'll get negative feedback.

    But i have some trouble getting the arduino canbus controller setup I have a program downloaded but it is not setting the baud rate at all. I may try to hook up to the sat radio can bus in the car to see if i see anything different. I will also have a friend to take a look for me after the new year.

  5. #55
    Low Bitrate
    Join Date
    Oct 2013
    Location
    Bucharest
    Posts
    56
    Coming next on this thread

    Details about Windows 7 Debranding. We don't really want to see anything "Windows" related during booting or resuming or normal functioning do we?
    Still a work in progress.
    Software used: Restorator trial version, Instantsheller, Take Ownership reg hack, Windows 7 internal settings.
    Various Links: http://www.sevenforums.com/tutorials...-branding.html
    http://answers.microsoft.com/en-us/w...0-3c32c4bd6479
    http://batterysaver.codeplex.com For actions on power state changes.

    EEEPC Specific: http://blog.pew.cc/blog/eee+PCs+Boot+Booster/ <- This makes cold boot and resume from hibernation CRAZY fast.

    So far hibernation and resuming goes like this -> http://youtu.be/uxLVbxAX7rw and this is using a molasses slow 5400 RPM old 2.5" drive. Can't wait to see it burn rubber on a SSD, which it's very important to have in such project with a lot of vibrations.

    Stay tuned.
    Last edited by dlbogdan; 12-31-2013 at 07:41 AM.

  6. #56
    Variable Bitrate camo.b's Avatar
    Join Date
    Nov 2011
    Posts
    385
    There is a update for CF4.just run the updater from within CF.its all fixed with the update

  7. #57
    Low Bitrate
    Join Date
    Oct 2013
    Location
    Bucharest
    Posts
    56
    Random discovery. After struggling with win7 calibration (problems with corners because the default cal points are too close to the screen margins) for so long I've finally did it with this:
    (first reset calibration data from control panel)
    cmd window:
    tabcal lincal novalidate XGridPts=50,750 YGridPts=30,430
    for an even more accurate calibration you may use tabcal lincal novalidate XGridPts=50,400,750 YGridPts=30,240,430 but for me it was sufficient with the 4 points calibration.

    After touching the four points with a plastic tip (not finger!), the touch is now perfectly calibrated everywhere.
    Unfortunately you cannot reset again unless you do the default win7 calibration first..

    @camo.b The 4.4.5 update fixes the problem with setting up executable paths. Thanks for the tip!
    Last edited by dlbogdan; 12-31-2013 at 07:33 AM.

  8. #58
    Low Bitrate
    Join Date
    Oct 2013
    Location
    Bucharest
    Posts
    56
    A giant step towards finalizing the basics of this project has been done.
    A few posts back I wrote about hacking windows to hibernate automatically when AC is down (ignition off) and resuming when it comes back (ignition on).
    This can be done a lot easier when the PC has the bios settings to do it. Not the case with most laptops (ex: my EEEPC)

    Here it is.

    The main script is a batch file called script.bat
    Code:
    @echo off
    :: first we wait for a couple of minutes and then we test if the AC is still off
    timeout /t 120 /nobreak
    
    for /f "delims=" %%A in ('cscript.exe //nologo c:\onac.vbs') do @set isonac=%%A
    
    :: if the AC is still off we go on and set a wakeup schedule for two minutes in the future and then hibernate.
    if %isonac% == True ( echo The AC is on now. Aborting
    goto :eof 
    )
    echo The AC is still off. Preparing for hibernation
    set hr=%TIME:~0,2%
    if %hr% leq 9 set hr=%TIME:~1,1%
    set mn=%TIME:~3,2%
    if %mn% leq 9 set mn=%TIME:~4,1%
    set /a mn=%mn%+2
    
    if %mn% geq 60 set /a hr=hr+mn/60 && set /a mn=mn%%60
    if %hr% geq 24 set /a h=0
    if %mn% leq 9 set mn=0%mn%
    if %hr% leq 9 set hr=0%hr%
    
    echo Creating a task to Wake up the computer from hibernation after AC comes on
    echo Setup to fire at %hr%:%mn%
    schtasks /Delete /F /TN "WakeUp"
    schtasks /create /F /TN "WakeUp" /SC DAILY /ST %hr%:%mn% /TR "ping.exe 127.0.0.1 -n 15 -i 1 -w 1000" /RU "SYSTEM"
    cscript.exe c:\ScheduledTaskSetWakeToRun.vbs WakeUp
    shutdown /h
    This script gets called by an external program for now, BatterySaver which is built to execute scripts when AC is getting off or on. I can script my way to abandon BatterySaver but for now as it behaves real nice, will keep it.
    What does the script do?
    First off it waits for two minutes, checks with a VBScript "onac.vbs" if the AC is still off, and if it is, increments current time with two minutes to a variable, sets a task named "WakeUp" for that time, and with another VBScript "ScheduledTaskSetWakeToRun.vbs" flags that task to allow it to wake up the computer, because the utiltiy schtasks.exe is handicapped and will not allow you to set that flag within the command. Why Microsoft? WHYY??!?
    The thing with waking up from hibernate is that as ACPI specifies, it's not allowed to be done while the PC is not plugged. So, it will not trigger while only on battery. So the PC will turn on whenever it receives external power.

    Here are the other two VB Scripts:

    ----- onac.vbs

    Code:
    strComputer = "."
    Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\wmi")
    Set colItems = objWMIService.ExecQuery("Select * From BatteryStatus Where Voltage > 0")
    For Each objItem in colItems
        Wscript.Echo  "" & objItem.PowerOnline
    Next
    This one enumerates all batteries from the system that has Voltage property a non zero positive value. There are laptops that have a second battery bay and you can read statuses out of that (presumably empty) bay even though the values will not mean anything.
    So this will in the end return True or False depending if the laptop is plugged in or not.

    ------ ScheduledTaskSetWakeToRun.vbs
    Code:
    '  Name:    ScheduledTaskSetWakeToRun.vbs
    '  Author:    Matthew Boyd (iboyd.net)
    '  Date:    10/13/2010
    '  Purpose:    Enables or disables the "Wake the computer to run this task" setting on Windows Vista and Windows 7 systems.
    '        It seems that in order to do this successfully, both in the GUI or via this script,the task compatibility
    '        mode must be set to "2.0" or else the setting gets reverted.
    '  Usage:    cscript.exe ScheduledTaskSetWakeToRun.vbs "" [enable | disable]
    '  Example:    cscript.exe ScheduledTaskSetWakeToRun.vbs "My Scheduled Task" enable
    '        The command above would set "Wake the computer to run this task" to enabled.
     
    Option Explicit
     
    Const TASK_UPDATE = &H4
    Const TASK_DONT_ADD_PRINCIPAL_ACE = &H10
     
    Dim TaskName, EnableWakeToRun, objTaskService, objRootFolder, objTask, objDefinition
     
    If Wscript.Arguments.Count < 1 Then
     Err.Raise 1, "Invalid command line arguments!"
    Else
     TaskName = Wscript.Arguments.Item(0)
    End If
     
    Wscript.echo "Task Name: " & TaskName
    If Wscript.Arguments.Count < 2 Then 'Set EnableWakeToRun to true by default if enable/disable was not specified.
     EnableWakeToRun = true
     wscript.echo "Action: ENABLE 'Wake the computer to run this task'"
    ElseIf UCase(Wscript.Arguments.Item(1)) = "ENABLE" Then
     wscript.echo "Action: ENABLE 'Wake the computer to run this task'"
     EnableWakeToRun = true
    Else
     wscript.echo "Action: DISABLE 'Wake the computer to run this task'"
     EnableWakeToRun = false
    End If
     
    Set objTaskService = CreateObject("Schedule.Service")
    objTaskService.Connect
    Set objRootFolder = objTaskService.GetFolder("\")
    Set objTask = objRootFolder.GetTask ("\" & TaskName)
     
    Set objDefinition = objTask.Definition
    wscript.echo "Current WakeToRun Setting: " & CStr(objDefinition.Settings.WakeToRun)
    wscript.echo "Current Compatibility Setting: " & objDefinition.Settings.Compatibility
    wscript.echo "---"
    objDefinition.Settings.WakeToRun = EnableWakeToRun
    objDefinition.Settings.Compatibility = 2
    objRootFolder.RegisterTaskDefinition objTask.Name, objDefinition, TASK_UPDATE or  TASK_DONT_ADD_PRINCIPAL_ACE, , , objDefinition.Principal.LogonType
     
    Set objTaskService = CreateObject("Schedule.Service")
    objTaskService.Connect
    Set objRootFolder = objTaskService.GetFolder("\")
    Set objTask = objRootFolder.GetTask (TaskName)
    wscript.echo "New WakeToRun Setting: " & CStr(objTask.Definition.Settings.WakeToRun)
    wscript.echo "New Compatibility Setting: " & objDefinition.Settings.Compatibility
    This last vbs "tiny" script was made by Matthew Boyd, and will accomplish setting up that "Allow task to wake up computer" flag. This thing should have been included in schtasks.exe command by Microsoft in my opinion.

    For simplicity (if you can say that ...), all three files are stored directly on root of C:\

    Also, for the ones doing this, don't forget to set the "allow to wake on ac and battery" setting on advanced power settings panel as I described a few posts back.
    Yes, I can't believe it myself that it works.. And it does so perfectly.
    As a side note, in my opinion, a Computer OS that will not allow you to script anything that you can set within the GUI (in this case with batch files), and do that with decent ease, is NOT a complete operating system. I'm not a windows guru, but IMHO, Windows 7 completely fails in this respect.

    On a happy note, I've completely made up my mind about centrafuse and the time has come to make the purchase in the nearest future.

    Happy new year!


    edit: Corrected a padding bug for hours [1-9] in script.bat
    edi2: Corrected a bug where the interpreter would confuse [ less than 10 minutes padded with zero in set /a ] as octal numbers
    Last edited by dlbogdan; 01-03-2014 at 09:10 AM.

  9. #59
    Low Bitrate
    Join Date
    Oct 2013
    Location
    Bucharest
    Posts
    56
    Remade all the connections, made a box with the PC power supply, HVSync to CSync converter and a relay to let RNS control power to the PC.
    Name:  poză-3.JPG
Views: 368
Size:  108.9 KB
    Here are two videos with auto hibernation when I press the RNS power button and auto resume when I turn RNS on.
    Note: the hibernation takes longer now since I put 2GB of RAM in the PC.
    http://www.youtube.com/watch?v=l_Z0oz7Somw
    http://www.youtube.com/watch?v=k7ucle0rwhw

    For the AUX Audio/Video connector I used an old analog Joystick header. The pin stepping is the same and it has 15 signals, exactly as needed.
    Here is the connector properly installed:
    Name:  poză-4.JPG
Views: 304
Size:  102.9 KB

    Tomorrow I'll make the car installation.
    The next thing I'll hit now is the Video In Motion...
    Last edited by dlbogdan; 01-03-2014 at 04:18 PM.

  10. #60
    Newbie
    Join Date
    Nov 2013
    Posts
    48
    Ok good news, so I got the Arduino talking with the MFD2. I need to log the data as i forgot to save it. Not so good news, the only canbus data i get from the MFD2 is when it powers up or powers down. We wont be able to use any of the buttons on the mfd2 for our pc, Except maybe to turn on and off our computer.

Similar Threads

  1. The Nexus 8 (Mazda RX8 Nexus 7 / Focal install)
    By Framinator in forum Worklogs
    Replies: 7
    Last Post: 04-04-2014, 11:49 AM
  2. VW MFD2 screen resolution with video input
    By mattyv in forum LCD/Display
    Replies: 0
    Last Post: 02-16-2009, 08:06 AM
  3. Replies: 23
    Last Post: 12-26-2007, 05:54 AM
  4. RELEASE: iG-Nexus (for iG3 UMPC, CF, Nexus)
    By RPM_VR4 in forum SB Skins
    Replies: 17
    Last Post: 10-25-2006, 10:53 PM
  5. Nexus for RR?
    By RPM_VR4 in forum RR Skins
    Replies: 23
    Last Post: 10-24-2006, 07:38 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •