XK / XKR ( X150 ) 2006 - 2014
Sponsored by:
Sponsored by: DashLynx

Android Auto with rotary controller

Thread Tools
 
Search this Thread
 
  #1  
Old 05-20-2019, 02:24 PM
LockNumber25's Avatar
Senior Member
Thread Starter
Join Date: Dec 2016
Location: UK
Posts: 260
Received 64 Likes on 45 Posts
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; 05-21-2019 at 10:29 AM.
The following 4 users liked this post by LockNumber25:
Aonsaithya (05-20-2019), carealtor (05-20-2019), Cee Jay (05-20-2019), Sean W (05-20-2019)
  #2  
Old 05-20-2019, 04:32 PM
Sean W's Avatar
Veteran Member
Join Date: Jun 2013
Location: USA
Posts: 8,334
Received 4,168 Likes on 2,336 Posts
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.
 
  #3  
Old 05-20-2019, 06:00 PM
Stuart S's Avatar
Veteran Member
Join Date: Aug 2010
Location: Atlanta suburbs
Posts: 9,160
Received 6,141 Likes on 3,384 Posts
  #4  
Old 05-21-2019, 03:22 AM
LockNumber25's Avatar
Senior Member
Thread Starter
Join Date: Dec 2016
Location: UK
Posts: 260
Received 64 Likes on 45 Posts
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; 05-21-2019 at 03:30 AM.
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
markgoddard1413
F-Type ( X152 )
98
08-18-2021 07:58 AM
LockNumber25
XK / XKR ( X150 )
91
10-14-2020 06:52 PM
ednedwards
S-Type / S type R Supercharged V8 ( X200 )
7
07-30-2019 08:17 AM
Grumpy Finn
F-Type ( X152 )
19
11-07-2016 11:17 AM

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


Quick Reply: Android Auto with rotary controller



All times are GMT -5. The time now is 05:51 PM.