XK / XKR ( X150 ) 2006 - 2014

Android Auto with rotary controller

Thread Tools
 
Search this Thread
 
Old May 20, 2019 | 02:24 PM
  #1  
LockNumber25's Avatar
Thread Starter
|
Senior Member
Joined: Dec 2016
Posts: 264
Likes: 67
From: UK
Default Android Auto with rotary controller

Hi.

Nearly finished my Android Auto retrofit. Pretty pleased with the way it turned out. Posting here in case it's of interest.

Basic components:
  • Raspberry Pi 2
  • Adafruit Trinket
  • Adafruit rotary encoder
  • GVIF interface
Thanks to Sean W and others for doing all the hard work documenting the installation of the GVIF

Basic approach.
  • GVIF installed in boot https://www.jaguarforums.com/forum/x...camera-179570/
  • GVIF set to single input
  • Raspberry Pi in centre console running Crankshaft https://getcrankshaft.com/
    • Powered from USB in centre console (15MY car)
    • RPI connected via USB to Trinket mounted in ashtray.
    • Trinket works as USB HID device and programmed to send following keystrokes recognised to Crankshaft
      • Rotate left/right = 1/2, press = ENTER, long press = ESC
    • Rotary encode wired to Trinket
    • RPI composite video to GVIF in boot
  • Android phone connected via USB to RPI
That's the most of it. Happy to go into more detail if anyone is interested.















 

Last edited by LockNumber25; May 21, 2019 at 10:29 AM.
Reply
Old May 20, 2019 | 04:32 PM
  #2  
Sean W's Avatar
Veteran Member
10 Year Member
Liked
Loved
Community Favorite
Joined: Jun 2013
Posts: 8,926
Likes: 4,736
From: USA
Default

This is cool. You ended up moving away from O'Droid?

I like the trinket vs touchscreen as it's a knob and you can learn to use it without looking. I also like that it's completely hidden and reversible. Apologies upfront but with my hearing, you may have mentioned these but didn't hear them.

I was following the written part but got a little lost. Is this accurate:

1) RPI is loaded with Crankshaft which is an Android Auto emulator and gets it's data from your phone?

I'm a bit confused there, sorry.

3) How'd you clear up the static on the screen?

4) Does Nav (OEM) no longer work while this is plugged in? I noticed you went right to it by pressing Nav.

5) How do you revert to OEM? The Escape function?

Very nice indeed.
 
Reply
Old May 20, 2019 | 06:00 PM
  #3  
Stuart S's Avatar
Veteran Member
15 Year Member
Community Builder
Loved
Community Favorite
Joined: Aug 2010
Posts: 10,105
Likes: 7,106
From: Atlanta suburbs
Default

 
Reply
Old May 21, 2019 | 03:22 AM
  #4  
LockNumber25's Avatar
Thread Starter
|
Senior Member
Joined: Dec 2016
Posts: 264
Likes: 67
From: UK
Default

Originally Posted by Sean W
This is cool. You ended up moving away from O'Droid?

I like the trinket vs touchscreen as it's a knob and you can learn to use it without looking. I also like that it's completely hidden and reversible. Apologies upfront but with my hearing, you may have mentioned these but didn't hear them.

Thanks. My car is under Jaguar extended warranty so I couldn't really take your approach of tapping into the touchscreen. The location is a bit of compromise but easily reversible and hidden were a must. It seems very easy and safe to use though.

I was following the written part but got a little lost. Is this accurate:

1) RPI is loaded with Crankshaft which is an Android Auto emulator and gets it's data from your phone? -

That's exactly right. Crankshaft is an AA head unit emulator. AA head unit is described as a projection of the AA app running on your phone. The RPI does none of the 'work'; GPS, BT, mobile remains on the phone. Only downside of this is lack of voice control and this has to remain on the head unit (by design) so would mean running a separate mic to the RPI to get to work, so I'll probably not bother.

I'm a bit confused there, sorry.

3) How'd you clear up the static on the screen?
Moved the RPI to the centre console and powered it from the USB there. Static was only present when powering RPI and GVIF interface from the same outlet in the boot.

4) Does Nav (OEM) no longer work while this is plugged in? I noticed you went right to it by pressing Nav.
Correct. I have no use for the OEM Nav with AA available as AA Nav is better in my opinion (real time traffic, online maps etc). I also set the GVIF to skip OEM input on the configuration and set the DIP switches for a single input.

5) How do you revert to OEM? The Escape function?
Home button

Very nice indeed. - thanks very much. I really pleased with how it worked out
 

Last edited by LockNumber25; May 21, 2019 at 03:30 AM.
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
markgoddard1413
F-Type ( X152 )
98
Aug 18, 2021 07:58 AM
LockNumber25
XK / XKR ( X150 )
91
Oct 14, 2020 06:52 PM
ednedwards
S-Type / S type R Supercharged V8 ( X200 )
7
Jul 30, 2019 08:17 AM
Grumpy Finn
F-Type ( X152 )
19
Nov 7, 2016 11:17 AM

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 



All times are GMT -5. The time now is 05:45 AM.