Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 30

Thread: CAN-Bus Interface to Mac Mini

  1. #11
    Newbie
    Join Date
    Jan 2006
    Posts
    8
    Thanks for the code, Dave. I'm waiting with bated breath today to see if I'll be buying an Intel-based Mac Mini or one of the old ones. I'm guessing the drivers won't work with the Intel-based ones, right?

    Thanks again.

    -Dave

  2. #12
    CarFrontEnd Creator iamgnat's Avatar
    Join Date
    Jul 2004
    Location
    NoVA
    Posts
    867
    Quote Originally Posted by dknightx
    Thanks for the code, Dave. I'm waiting with bated breath today to see if I'll be buying an Intel-based Mac Mini or one of the old ones. I'm guessing the drivers won't work with the Intel-based ones, right?
    That would be an interesting question. There is Rosetta (is that the right name?) that will allow native RISC Apps to run on the Intel Macs, but I have no idea if that applies to drivers as well.

    If it does require new drivers, then that should really be the only difference. The code should be the same.

    -dave

  3. #13
    CarFrontEnd Creator iamgnat's Avatar
    Join Date
    Jul 2004
    Location
    NoVA
    Posts
    867
    Nuts!

    I forgot there is one more piece of code you need for the Objective-C route. You need to define a method in your processing object (in this case I used "readWheelRemote" in the current object (self)) to processing the incoming data from the serial port. I'll try to remember to add that code when I get home tonight (but if you look up the docs on NSFileHandle notifications, what you need is pretty straight forward). Sorry about that.

    -dave

  4. #14
    CarFrontEnd Creator iamgnat's Avatar
    Join Date
    Jul 2004
    Location
    NoVA
    Posts
    867
    Quote Originally Posted by iamgnat
    I forgot there is one more piece of code you need for the Objective-C route.
    Bump.

    I added the Notification handler to my post that has the other code segments.

    -dave

  5. #15
    Newbie
    Join Date
    Jan 2006
    Posts
    8
    Thanks, Dave.

    By the way, I'm picking up a Mac Mini today since there were no new announcements at Mac World. It does everything I need in a car anyway, and I'm worried that when they do announce the Intel ones that they'll be bigger than the current ones and won't fit into the space I've got.

    This is the first Mac I've ever owned. I'm excited!


    -Dave

  6. #16
    Constant Bitrate joeyoravec's Avatar
    Join Date
    Oct 2005
    Location
    Livonia, MI
    Posts
    202
    Quote Originally Posted by dknightx
    It looks like a CAN-Bus to USB interface will be the way to go. Here are links to a few of the options, but I have no idea if they have Mac drivers available.
    My company Drew Technologies makes high end OBD-II interfaces. I've recompiled the drivers for our CarDAQ-Plus as an OS X dylib. This one is a high-cost, high-perfomance device that the automakers use for engineering and repair. We also make a low-cost USB interface Mongoose ISO/CAN but I haven't ported the drivers to OS X yet. If anybody is going to do work on a CarPC frontend for the Mac, I can spend some time on this. Drop me an email if there's any serious interest.

    The interfaces you listed look proprietary. They don't support the indsutry standard device driver (SAE J2534-1), they dont seem specialized for the automotive market. Be sure to follow the OBD-II forum, there are a lot of smart guys over there.

  7. #17
    Constant Bitrate
    Join Date
    Dec 2005
    Location
    London, UK
    Posts
    182
    Quote Originally Posted by joeyoravec
    If anybody is going to do work on a CarPC frontend for the Mac, I can spend some time on this. Drop me an email if there's any serious interest.
    Yes please, we all, Mac users are very interested. A native Mac supported CAN bus driver is the nicest thing to have. I started working on the fronted by myself but as I found there are several other already have gone far with the development, I stopped doing the redundant work. May I request one of the developers to come forward please?

    These two I found sound very promising:
    Some progress on the application...
    new Apple dash program...dash_run

    Many thanks for the offer, joeyoravec.

  8. #18
    Constant Bitrate joeyoravec's Avatar
    Join Date
    Oct 2005
    Location
    Livonia, MI
    Posts
    202
    Quote Originally Posted by MacUsers
    Yes please, we all, Mac users are very interested. A native Mac supported CAN bus driver is the nicest thing to have. I started working on the fronted by myself but as I found there are several other already have gone far with the development, I stopped doing the redundant work. May I request one of the developers to come forward please?
    Basically this PassThru (SAE J2534-1) vehicle interface standard defines a driver. It provides functions to connect, send/receive messages, send periodic messages, assert reflashing voltages, and other common tasks. This way you're not locked into a specific vendor's hardware. It's quite simple to program and I have example C sourcecode that reads data from the vehicle, reads trouble codes etc.

    We normally provide drivers for Windows and Linux, and because I'm a Mac user I support the OS X drivers in my free time. I couldn't find contact information for either of the projects that you listed. If you put me in touch with the developer of an OS X frontend, I can try to help.

  9. #19
    Admin. Linux loser.
    Auto Apps:loading...
    Bugbyte's Avatar
    Join Date
    Sep 2004
    Location
    Corning, NY
    Posts
    7,364
    Blog Entries
    2
    PM me. I'm working on a front end but I'll warn you that I'm more of an idiot than a developer. Learning as I go...
    Quote Originally Posted by ghettocruzer View Post
    I was gung ho on building a PC [until] just recently. However, between my new phone having internet and GPS and all...and this kit...Im starting to have trouble justfiying it haha.
    Want to:
    -Find out about the new iBug iPad install?
    -Find out about carPC's in just 5 minutes? View the Car PC 101 video

  10. #20
    Constant Bitrate
    Join Date
    Dec 2005
    Location
    London, UK
    Posts
    182
    joeyoravec or Bugbyte, any update(s) so far??

Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. FAQ: Installing a Mac Mini in Your Car
    By Bugbyte in forum The FAQ Emporium
    Replies: 20
    Last Post: 06-11-2011, 09:12 PM
  2. Mini Mac 4 Porsche 944
    By 4thChild in forum MacCar
    Replies: 14
    Last Post: 03-13-2009, 11:16 PM
  3. Mac mini in dash questions.
    By dfluxnet in forum MacCar
    Replies: 6
    Last Post: 10-03-2006, 04:02 AM
  4. FS: Mac Mini CarPC Package/Parts LOADED!
    By markcc01 in forum Classified Archive
    Replies: 1
    Last Post: 01-03-2006, 11:47 PM
  5. Hot Rod Company to start incorporating Mac Minis
    By stacheldraht in forum MacCar
    Replies: 4
    Last Post: 02-01-2005, 01:25 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
  •