Page 1 of 4 1234 LastLast
Results 1 to 10 of 37

Thread: An interesting solution to adding phone support to CarPC

  1. #1
    Low Bitrate AvWuff's Avatar
    Join Date
    May 2008
    Posts
    76

    Lightbulb An interesting solution to adding phone support to CarPC

    Hey everyone, I thought I'd share my solution to adding Bluetooth phone integration to my CarPC.

    Making your carPC talk to your cell phone should be easy, right? I mean, your cell phone has bluetooth... and your car PC has bluetooth (either built-in or with a USB adapter)... so what's the problem? Well, as I found out, there are a lot of problems. On the front-end side, Streetdeck has had BT support "coming soon" for years it seems, and Centrafuse's BT support didn't work worth a damn the last time I tried it.

    Then there's the other solutions, like PhoneControl.NET which is not even available anymore, plus it apparently sucks, and FreeFone, which also doesn't seem to work.

    I use a PocketPC smart phone, so integrating bluetooth hands-free shouldn't be this difficult. I knew trying to do it via the "computer" route would be a nightmare. So I went the hardware route.

    First, I did some research, and then bought a Parrot CK3000 bluetooth car kit.


    This kit seemed to do everything I needed, and the reviews said it was quite a nice kit. It also seemed like integrating it into my CarPC setup would be not too difficult.

    It's designed to cut off your car's speakers when a call comes in or when you dial a call, and has it's own internal amplifier. I didn't want that -- I wanted the CarPC to control those things. It turns out that the mute box's grey wires (for the + of the rear speakers) can be used to switch arbitrary voltage, such as 12V.

    So, here's what I did:

    First, I opened up the little control knob and soldered 4 wires onto the red and green phone buttons:


    These would later allow a relay to control the phone buttons. Here's what the box looks like once it's all closed up:


    Then, I added some more relays to my existing Arduino Box:


    The left three relays are controlled by the Arduino and are "outputs" -- the bottom left two are for the red and green button. The right three relays are "inputs" -- 12V from the car turns them on or off to trigger commands on the computer.

    In the case of the phone setup, I've wired the mute box so that when the mute is off (not in a call), the relay is switched on. As soon as a call comes in, the Parrot mute box cuts power to the relay. The Arduino sees this and sends a command to the computer, telling it that the mute has been initiated.

    When the CarPC computer gets this command, it carries out a series of instructions, such as pausing the music, increasing the volume for the phone, etc.

    To get the phone audio into the CarPC, I bought a "Line Output Converter" for $30 at a local car radio shop. This takes the amplified audio output from the Parrot box and connects it to the Line In on the sound card. With that done, the software now simply unmutes the Line In when a call is in place, and mutes it again when the call is complete.

    It also knows when a call is coming in -- when the mute signal occurs, but without me issuing a voice command to start "phone mode", it knows that it must be an incoming call.


    I installed this in my car yesterday, and so far it is working like a charm. But as with any solution, there are some negatives. Let's look at the pros and cons of my solution vs. a proper car PC bluetooth integration.

    My Solution w/ Parrot device:
    - Pro: Works 100% of the time.
    - Pro: No need for drivers or com ports or stacks
    - Pro: Works with all cell phones
    - Con: No caller-ID on-screen.
    - Con: No ability to dial via the screen.

    CarPC Bluetooth:
    - Pro: Caller-ID can work
    - Pro: Uses your existing audio connection and existing microphone
    - Pro: Can (with phone support) read your phone book
    - Pro: Can dial calls from Touchscreen of CarPC
    - Con: Unreliable!
    - Con: Different bluetooth adapters and stacks cause massive headaches
    - Con: No good software out there to do this properly.
    - Con: Doesn't work with all models of phone

    The biggest item for me is the reliability. When a call comes in while I am driving, the last thing I want is to be fiddling with my phone in my pocket, or dealing with bluetooth drivers that didn't seem to reconnect to the phone.

    Anyway, I'd love to hear your thoughts. If you have any more questions please feel free to ask!

    Cheers,
    -av

  2. #2
    Variable Bitrate
    Join Date
    Sep 2005
    Posts
    249
    wow, this is a very nice approach. I like it. Am however confused by the Arduino box. Whats the purpose of that? also how are you sending the commands to your pc? via usb? Perhaps someday Parrot could create a usb version of this product with protocols that would allow for easier integration.

    I wish I was talented on the hardware side of things. you stuff is amazing

  3. #3
    Low Bitrate AvWuff's Avatar
    Join Date
    May 2008
    Posts
    76
    I'm using the Arduino as a bridge between the USB ports on my computer, and the hard electronic relays.

    If you're not familiar with Arduino, they're little $30 microcontroller that's super easy to program.

    Anyway, in this case it does only two things: It monitors the status of the right three relays and reports those values back to the computer via USB, and it listens for commands to turn on or off the left three relays. It plugs into the PC via USB and shows up as a virtual com port, and sending commands to it is as easy as transmitting a single byte out to the com port (like 2 lines of code).

    I'm sure other people have built "USB control boxes" that simply switch relays on and off from a USB port, but you can't beat the $30 price tag on the arduino.

    Thanks for your nice comments!
    -av

  4. #4
    Variable Bitrate
    Join Date
    Nov 2004
    Posts
    242
    Nice approach!

    I'm curious, I'm running a wm6 device with freefone and belkin bluetooth adapter with little to no problems whatsoever (like 1 out of 20 times my bluetooth adapter doesn't connect on call answering/dialing), what issues were you having with freefone?

  5. #5
    Low Bitrate AvWuff's Avatar
    Join Date
    May 2008
    Posts
    76
    I'm also using WM6, but I just couldn't get freefone to work. It seems both freephone and phonecontrol.net want to use a COM port to talk to your device, and I just didn't have one.

    How do you have yours set up?

  6. #6
    Variable Bitrate
    Join Date
    Nov 2004
    Posts
    242
    Exactly. So I started out with phonecontrol, totally not what I was looking for. Freefone came around and I realized that the phonecontrol software that runs on the wm6 device creates a virtual com port. So, I just use that software to connect to freefone and it works very good.

  7. #7
    Low Bitrate
    Join Date
    May 2008
    Posts
    69
    It's great to see some development in this area so don't get me wrong, but Centrafuse 2.0 final's custom made Bluetooth stack works really well...... only issue is a generic one with all speaker based systems and that is feedback echo, but a Phoenix PCI card solved that one for me...........

  8. #8
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,049
    Majority of phone issues are because people buy crappy bluetooth adapters. A bluetooth adapter that costs $10 for the PC does not have the required hardware to expose itself to the PC for data (phonebook/texts) as well as an audio stream.
    Fusion Brain Version 6 Released!
    1.9in x 2.9in -- 47mm x 73mm
    30 Digital Outputs -- Directly drive a relay
    15 Analogue Inputs -- Read sensors like temperature, light, distance, acceleration, and more
    Buy now in the MP3Car.com Store

  9. #9
    Low Bitrate AvWuff's Avatar
    Join Date
    May 2008
    Posts
    76
    Quote Originally Posted by 2k1Toaster View Post
    Majority of phone issues are because people buy crappy bluetooth adapters. A bluetooth adapter that costs $10 for the PC does not have the required hardware to expose itself to the PC for data (phonebook/texts) as well as an audio stream.
    Bluetooth is bluetooth, pretty much. It's the stack that defines how the hardware operates.

    -av

  10. #10
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,049
    Quote Originally Posted by AvWuff View Post
    Bluetooth is bluetooth, pretty much. It's the stack that defines how the hardware operates.

    -av
    100% untrue.

    Bluetooth is not bluetooth. There are a bagillion different standards. The one that is used for phones is HSP. (HeadSet Profile). This is on audio devices (like what you bought) and is NOT on the el cheapo bluetooth dongle you get in the bargain bin for a PC. Meaning buying crap components, that dont support HSP and trying to use it for phone control on the PC will not work.

    The stack can only control what the physical hardware can support. Not all chips are the same, and for price reasons, they dont include things that arent usually needed. Not too many people pair a phone with a PC for an audio stream. Data stream yes, so it is included. Headset wise, no so cheap ones dont.

    So programs that work well for those with working hardware, that dont work for you, suggest you have crap hardware making it not their fault.
    Fusion Brain Version 6 Released!
    1.9in x 2.9in -- 47mm x 73mm
    30 Digital Outputs -- Directly drive a relay
    15 Analogue Inputs -- Read sensors like temperature, light, distance, acceleration, and more
    Buy now in the MP3Car.com Store

Page 1 of 4 1234 LastLast

Similar Threads

  1. Best phone and carrier for carpc ??
    By Cruznlife1 in forum Wireless Communications
    Replies: 15
    Last Post: 05-29-2005, 08:33 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
  •