Page 13 of 45 FirstFirst ... 34567891011121314151617181920212223 ... LastLast
Results 121 to 130 of 448

Thread: E46 - CarPC Work Log

  1. #121
    Maximum Bitrate bes51659's Avatar
    Join Date
    Sep 2005
    Location
    Vasastaden, Stockholms Län, Sweden, Sweden
    Posts
    852
    I use IBuscomm to translate ibus messages into windows key stroke sequencies (Even if I plan to write my own that is application dependent...)

    You can use that to translate any button in your car, like the steering wheel buttons for instance.

    To my pcb you can connect three buttons that you have to install in the dash somehow if you want to use them. Eject, power on, and rearview on. If you want you can use them for anything else. Just a matter of software :-) You need the IBus interface at the PC obviously.

    Now you see why I have gone thru all that trouble using a 6,5' panel :-)
    (sorry, could not help myself)

    Edit:
    Come to think of it, there are more inputs that can be used for buttons since you have IBus. I have included inputs if the unit is to be used in a different car. "Ignition" and "centrallock" and "reverse gear". Event the dash backlight could be used. That obviously needs quite a lot of changes in the code. You'd better order that emulator ;-)

    Edit two:
    I think I have found two many small changes on the pcb to be 100% happy. Together with the fact that it did not have soldering mask I have desided to keep the pcb I am testing as reference for my self and order corrected pcb's with soldering mask for the remaining 4 units. It will save me time building them, and they will look nicer...

  2. #122
    Maximum Bitrate bes51659's Avatar
    Join Date
    Sep 2005
    Location
    Vasastaden, Stockholms Län, Sweden, Sweden
    Posts
    852

    Demo Video Finally

    I have finally got the motor drive working. The problem I had with the analogue switch was due to broken chip(!).

    I did not know howto embedd the video onto mp3car.com, so I have just put it here on youtube.

    Door Motor Demo

    Motor drive - working
    simulating DVD eject button press - working
    LED backligth drive - working
    IBus - not tested
    input and outputs - 50% done
    sw - 80% done
    lcd panel button simulation - not tested

    I will order perfect pcb's when the hardwares been verified and complete the sw.

    Btw. Have you sent the mouthpiece Kraimer? I have not received it yet.

  3. #123
    Constant Bitrate
    Join Date
    Dec 2006
    Location
    BK, NY
    Posts
    124
    first of all, I appoligize for not following up and not yet sending the mouthpiece (I am really embarrassed to say that its been over a month) for me to get to the post office is just sooo annoying and once you get there the line just completely kills your whole day. I PROMISE I will send it out tomorrow!!

    WOW!! so nice to see it in action finally!! It sucks you have to order new pcb's, but at least now they will look professional! Btw, how does the LED backlight work?

    I don't know what it is about this PC project of mine, but I feel like problems come up every time I attempt to do something... I was trying to run the power cable for my LCD parallel to the "signal" cable once I tested for interference with power and signal cable next to each other and there was none. I needed to make the opening for all the cable to pass, but didn't feel like disconnecting the signal cable (lazy i guess?) and decided to dremel in - cut the cable enough that I wasn't able to fix it. I ordered a new one from eBay for $15 - not terrible just very frustrating. I am attaching a picture showing the details of my "cable extraction mechanism" - it was when I just made it that I took that picture so its not very clean, when it is fully complete, I will take a better shot.

    For now:


    By the way, I was meaning to ask you, you mentioned you have a 5V output on your pcb to power your dvd drive? The dvd drive I bought came with its own pcb which is the reason for no need for an external power supply - check out the connection for the pcb and the drive - can i use your pcb out to power the drive? the other side looks like sata out?


  4. #124
    Maximum Bitrate bes51659's Avatar
    Join Date
    Sep 2005
    Location
    Vasastaden, Stockholms Län, Sweden, Sweden
    Posts
    852
    It is my experience too, that it always saves time to take everything apart even for quick fixes.... Good thing there was an affordable spare.

    I do not have 5V supply for the DVD on my pcb. The only thing that is on the pcb for the DVD is an analogue switch that can be connected instead of the eject button on the DVD front. That way you do not need to find the button with your fingers "inside" the BM. Instead you get automatic shootout. Seems silly, but really is not. I have had my DVD in my car for quite som time now, and it is anoying haveing to press button manually.

    Can you not let the cables fold? Seems like retrakting the cable into the BM will be troublesome.

    Looks like SATA indeed! Is your PC nearby?

    I needed external 5V as my USB DVD takes 10W and cannot be powered thru USB cable alone. The small pcb at the back of the DVD (IDE to USB interface) came with my Hiinfo unit that I scraped for LCD and DVD. I could have connected it to the Hiinfo mobo that does have 5V converter, but I did not. I wanted total control over the DVD.

    I think you do need external power to your DVD even if has SATA to USB interface. You'd better check that out.

    I will make another Video demoing the LED functionality. That require IBus running and quite a lot of code to be a bit more than just showing a LED on power. Not quite there yet.

    btw. Why don't you fit a picoITX or something into the BM? You've got so much space!!!

  5. #125
    Constant Bitrate
    Join Date
    Dec 2006
    Location
    BK, NY
    Posts
    124
    What is the connection of the analogue switch? Will I be able to use my DVD to have the same function (eject cd when door is open) - it is powered through USB alone. I think that is a great feature especially since my eject button would require something long to find the button as it is somewhat hidden.

    Cables folding is no big deal, they do not "bend" that much - I will take a video to demonstrate. My only concern is how it will be with all the cables being operated by one spring? We'll see...

    You know, I was really thinking about the picoITX idea - but even though I didn't do the dimensions analysis I was thinking that with all the cables, cable retract mechanism, and the DVD, I didn't think there's enough room for it. Idea is still not scrapped

  6. #126
    Constant Bitrate
    Join Date
    Dec 2006
    Location
    BK, NY
    Posts
    124
    B-O, the piece is on its way to you! 5-10 business days. Once again, I apologize for taking so long.
    By the way - got the cable today - goal is the monitor 100% done by this weekend! Unless I do decide to try that picoITX idea I took some measurements today, will see how it will work out...

  7. #127
    Maximum Bitrate Crinos's Avatar
    Join Date
    Mar 2009
    Location
    Kristiansand, Norway
    Posts
    483
    I think as long as you only going to use the SATA DVD drive for music, that it is OK to run it on USB power alone.. Music is about 2X speed from the drive.
    If you plan to play a DVD movie... My guess is that USB 5V is not enough to power it at the speeds required for DVD playback... Kraimer, have you tested the drive on a laptop to see if you can use USB power?

  8. #128
    Maximum Bitrate bes51659's Avatar
    Join Date
    Sep 2005
    Location
    Vasastaden, Stockholms Län, Sweden, Sweden
    Posts
    852
    The analogue switch is a little bit tricky.... you have to solder two cables into the mechanical eject switch on your dvd.... There is another way, and that is to control it from the PC. A propriety formated message is sent onto IBus by the pcb that you can pickup with the PC and eject the CD via USB. I know it is possible, but I do not know how to do it. (I like it to work stand alone, so I just soldered in the cables. I will add picture)

    It was the spring that was a concern to me, even if it looks nice. Folding is more reliable I think.

    Thanks for sending the mouthpiece! We fix the finances when everything is complete. Ok?

    Crinos: yes I guess the powerconsumption is proportional to speed. But 0.5A on 5V is only 2.5W. Seems a bit low when drive is labeled 10W. With a USB split cable you can get 5W. But I do not like sunnyday solutions...

    I did not integrate 5V supply onto dash pcb as that is a part easily bought. And might already be available from PC supply.

  9. #129
    Maximum Bitrate Crinos's Avatar
    Join Date
    Mar 2009
    Location
    Kristiansand, Norway
    Posts
    483
    If you have the program that can detect the correct messages on the IBUS.
    This is something you might use for a script:
    Code:
    echo off && Cls && Mode 55,5 && Color 4f && Title Open Cd
    Set VBS=%systemdrive%\OpenClose.vbs
    Set VBS1=%systemdrive%\RemoveVBS.vbs
    echo Preparing To Run The Script!
    >> %vbs% Echo Dim ts
    >> %vbs% Echo Dim strDriveLetter
    >> %vbs% Echo Dim intDriveLetter
    >> %vbs% Echo Dim fs 'As Scripting.FileSystemObject
    >> %vbs% Echo Const CDROM = 4
    >> %vbs% Echo     On Error Resume Next
    >> %vbs% Echo     Set fs = CreateObject("Scripting.FileSystemObject")
    >> %vbs% Echo     strDriveLetter = ""
    >> %vbs% Echo     For intDriveLetter = Asc("D") To Asc("Z")
    >> %vbs% Echo         Err.Clear
    >> %vbs% Echo         If fs.GetDrive(Chr(intDriveLetter)).DriveType = CDROM Then
    >> %vbs% Echo             If Err.Number = 0 Then
    >> %vbs% Echo                 strDriveLetter = Chr(intDriveLetter)
    >> %vbs% Echo                 Exit For
    >> %vbs% Echo             End If
    >> %vbs% Echo         End If
    >> %vbs% Echo     Next
    >> %vbs% Echo MSGBOX "YOUR CD IS: " ^& strDriveLetter,0 + 48,"CDROM=> " ^& strDriveLetter
    >> %vbs% Echo Set oWMP = CreateObject("WMPlayer.OCX.7" )
    >> %vbs% Echo Set colCDROMs = oWMP.cdromCollection
    >> %vbs% Echo              colCDROMs.Item(d).Eject  
    >> %vbs% Echo A1= msgbox ("Press key To Close Cd" ^& vbcrlf ^& " The Cd Will Close", 0 + 64, "Open Close Cd Tray")
    >> %vbs% Echo              colCDROMs.Item(d).Eject  
    >> %vbs% Echo set owmp = nothing
    >> %vbs% Echo set colCDROMs = nothing
    >> %vbs% Echo wscript.quit
    
    start %vbs%
    ping -n 12 127.0.0.1>nul
    TASKKILL /F /T /IM Wscript.exe
    TASKKILL /F /T /IM Wmiprvse.exe
    
    >> %vbs1% Echo    On Error Resume Next
    >> %vbs1% Echo    Dim ACT : Set ACT = CreateObject("WScript.Shell")
    >> %vbs1% Echo    Dim Fso : Set Fso = CreateObject("Scripting.FileSystemObject")
    >> %vbs1% Echo    Loc = ACT.ExpandEnvironmentStrings("%SystemDrive%")
    >> %vbs1% Echo   Fso.Deletefile("%VBS%")
    >> %vbs1% Echo   Fso.Deletefile(Loc ^& "\CD-Open-Close.cmd")
    >> %vbs1% Echo   Fso.Deletefile("%VBS1%")
    >> %vbs1% Echo   Set ACT = Nothing
    >> %vbs1% Echo   Set Fso = Nothing
    start /w %vbs1%
    exit

  10. #130
    Maximum Bitrate bes51659's Avatar
    Join Date
    Sep 2005
    Location
    Vasastaden, Stockholms Län, Sweden, Sweden
    Posts
    852
    Great Crinos!
    Is this old school VisualBasic? If it was C# I should know since I have written C# application, so I hope the question does not imbarres me :-)
    Do you use Visual Studio?
    If so maybe you can make a small project and zip it?

Similar Threads

  1. E46 CarPC with Original HU
    By samourr in forum General Hardware Discussion
    Replies: 11
    Last Post: 08-11-2011, 08:40 PM
  2. mk 5 ford fiesta work log *56k warning*
    By Tone in forum Worklogs
    Replies: 28
    Last Post: 07-28-2007, 02:21 PM
  3. E46 steering wheel controls to carpc...
    By JTfromSTL in forum Input Devices
    Replies: 11
    Last Post: 08-29-2006, 02:04 PM
  4. CarPC audio problems
    By aal2000 in forum Car Audio
    Replies: 2
    Last Post: 09-07-2005, 09:40 PM

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
  •