Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,769,021 Members 45,645 Now Online
XDA Developers Android and Mobile Development Forum

Nexus 7 car dash install + OTG charge + DVB-T + DAC + OBD + Webcam

Tip us?
 
PHiL_G4
Old
(Last edited by PHiL_G4; 10th April 2013 at 04:35 PM.) Reason: droidtv
#1  
Member - OP
Thanks Meter 15
Posts: 59
Join Date: Sep 2005
Post Nexus 7 car dash install + OTG charge + DVB-T + DAC + OBD + Webcam

Quote:
Hi guys!

I have a Nexus 7 3G!
I would like to put it in my car where it should replace my radio.
My goal is to gather as much information as i can before getting started.
I will keep this thread up to date.
So here is a possible combination of parts, software I am going to use and helpful hints for the Nexus7 in a car.

It is more or less a help for myself
If I can do better, maybe I get some feedback here.

Thank you!
Phil








Quote:
10.04.2013
DroidTV is working!
details below

06.04.2013[/SIZE]
new dc converter
new acryl-glass mount
added new pics

07.03.2013[/SIZE]
my dc-converter crashed
I dont really know what append!?

03.03.2013
Nexus7 installed in my car!
Will update pics & part list

21.01.2013
OTG-CHARGE works!
TIMURs Kernel - fixed install

20.01.2013
flashed Timurs kernel (fixed installation)
ordered another charger (ebay) with USB output

18.01.2013
tested Poweramp
tested Tasker (airplane mode requires Secure Settings plugin)
tested auto power-on when usb power is plugged in (see fastboot command under tricks)

17.01.2013
ordered most parts from the list tonight except usb dac
I would be excited if all is working as expected



MY CAR
Smart ForTwo 451 2009


MY CAR AUDIO from fortissimo-net.de
Alpine IVA-W502R
KCE-400BT
Alpine PDX5
Hertz Space 6KL
Hubcar Subwoofer Chassis
JL 8W3v3


PARTS
my choice:
Nexus7 of course
12V to 5V (3A) converter (USB) bricked
DC to DC Buck Converter High Power 14A proved
otg cable angled proved
delock usb hub proved
Fiio E10 usb dac proved
Cinch Volume Control produced too much noise!
double din frame for my "car" proved
silicon case proved, but not needed anymore
obd bt adapter proved
RTL2832U / 820T DVB-T Stick
slim bluetooth keyboard proved
delock y-power-cable proved
micro-b usb angled 20cm OTG does not work!
TerraTec Cinergy T Stick RC
Ground Loop Converter? proved


KERNEL / ROM
for charging through otg cable & more
- Timur's Kernel / USB ROM 4.2.x proved


Quote:
TRICKS & INFO
use Fiio E10 usb dac:
link (out of the box with Timur's Kernel)

auto power-on:
if usb charger connected, even if battery is empty and device is off link proved
Code:
fastboot oem off-mode-charge 0
==> sets device to auto power on instead of charging
Code:
fastboot oem off-mode-charge 1
==> sets device back to original setting

charger:
Nexus 7 charger/cable issues
The Only Car Charger You Need for the Nexus 7

dvb-t usb stick:
DVB-T dongle running on Nexus 7
SDR Touch - Live radio on your Android device
RTL2832U can be used as a cheap SDR

I compiled a RTL2832U driver for the USB-ROM / Kernel '3.1.10-gfcf72bf-dirty' with Timurs help.
download: dvb-usb-rtl2832u.ko

my working startscript:
Code:
echo "starting DVB support"
insmod dvb-core.ko
insmod dvb-pll.ko
insmod rc-core.ko
insmod dvb-usb.ko
insmod dvb-usb-rtl2832u.ko
echo "Waiting for device"
sleep 5
cd /
mkdir /dev/dvb
chmod 777 /dev/dvb
mkdir /dev/dvb/adapter0
chmod 777 /dev/adapter0
cd /dev/dvb/adapter0
ln -s /dev/dvb0.frontend0 frontend0
ln -s /dev/dvb0.demux0 demux0
ln -s /dev/dvb0.dvr0 dvr0
ln -s /dev/dvb0.dvr0 dvr0.ts
chmod -R 777 /dev/dvb*
echo "DONE!"
webcam:
webcam as fully functional rear cam!
I played a little bit with mjpg-streamer and motion on my raspberry pi with a Logitech C525 (720p, autofocus).
A rear cam is not necessary for my car, but a (motion detecting) recording front cam would be nice

otg cable:
- if you want to make your own OTG usb cable you have to short pin 4 (ID) and pin 5 (GND) on micro usb side link
(this is usb standard, some sources tell to take a 100k resistor instead of short circuit for charging through otg cable)
- i think you will be able to cut the uplink cable from a usb hub and solder a micro b usb plug, short pin 4+5 for otg and solder a power supply simultaneously to pin 1 (VCC) and pin 5 (GND)

FUTURE PLANS
- an arduino micro (clone) acting as a usb keyboard to send volume control und power button function instead of this Joycon device..
links:
arduino micro clone $16.99
key layout
android shortcuts
update arduino unos firmware for USB HID Keyboard Support


SOFTWARE
- Tasker (ignition on = wake up + play music, set wifi+gps on; ignition off = airplane mode, deep sleep) proved
- Poweramp proved
- Torque (OBD) proved
- Navigon proved
- Audio Glow Music Visualizer thx to Kookie_Monster
- SDR Touch - Live radio via USB + RTL2832U driver (xda-thread)



SIMILAR PROJECTS
Kookie_Monster
Kuchar09
Shinare
dB Zac
curseddagger
naiku
ahavens17
TweakMyDevice
DatTugrut
djsun
yellowfinii
mr_bridger
Nexus 4 16GB
Nexus 7 32GB 3G
The Following 8 Users Say Thank You to PHiL_G4 For This Useful Post: [ Click to Expand ]
 
PHiL_G4
Old
(Last edited by PHiL_G4; 10th April 2013 at 04:47 PM.) Reason: pics
#2  
Member - OP
Thanks Meter 15
Posts: 59
Join Date: Sep 2005
Default pics

rotating time to time..






Attached Thumbnails
Click image for larger version

Name:	nJk5i.jpg
Views:	5700
Size:	58.3 KB
ID:	1655649   Click image for larger version

Name:	IMG_20130118_151154.jpg
Views:	5584
Size:	52.2 KB
ID:	1655650   Click image for larger version

Name:	IMG_20130118_150052.jpg
Views:	5407
Size:	84.7 KB
ID:	1655653   Click image for larger version

Name:	IMG_20130121_110740.jpg
Views:	4583
Size:	67.3 KB
ID:	1663611   Click image for larger version

Name:	IMG_20130121_110802.jpg
Views:	5177
Size:	140.5 KB
ID:	1663612  

Click image for larger version

Name:	IMG_20130118_155029_.jpg
Views:	4123
Size:	93.1 KB
ID:	1777224   Click image for larger version

Name:	IMG_20130302_145118.jpg
Views:	3807
Size:	62.3 KB
ID:	1777228   Click image for larger version

Name:	IMG_20130302_145136.jpg
Views:	3924
Size:	64.2 KB
ID:	1777229   Click image for larger version

Name:	IMG_20130302_181200.jpg
Views:	4320
Size:	69.9 KB
ID:	1777230   Click image for larger version

Name:	IMG_20130303_203611.jpg
Views:	4095
Size:	52.0 KB
ID:	1777235  

Click image for larger version

Name:	IMG_20130303_203626.jpg
Views:	4022
Size:	50.7 KB
ID:	1777236   Click image for larger version

Name:	IMG_20130303_204025.jpg
Views:	4800
Size:	65.8 KB
ID:	1777238   Click image for larger version

Name:	IMG_20130305_162924.jpg
Views:	3770
Size:	72.6 KB
ID:	1781478   Click image for larger version

Name:	IMG_20130305_163013.jpg
Views:	3827
Size:	67.0 KB
ID:	1781479   Click image for larger version

Name:	IMG_20130303_140215.jpg
Views:	3714
Size:	72.3 KB
ID:	1781630  

Click image for larger version

Name:	IMG_20130306_200046.jpg
Views:	3824
Size:	37.7 KB
ID:	1784525   Click image for larger version

Name:	IMG_20130306_203055.jpg
Views:	4030
Size:	82.8 KB
ID:	1784526  
Nexus 4 16GB
Nexus 7 32GB 3G
The Following 2 Users Say Thank You to PHiL_G4 For This Useful Post: [ Click to Expand ]
 
Miami_Son
Old
#3  
Miami_Son's Avatar
Senior Member
Thanks Meter 356
Posts: 2,855
Join Date: Feb 2009
Location: Hurricane Country
By the time you're done you'll have spent more than what the Smart car is worth.
Google Nexus 7 32gb Wifi
Samsung Galaxy S4 Active (rooted)
Samsung Galaxy SII (sold)
Samsung Captivate (traded in)
HTC Tilt 2 (on bedroom duty)
LG Incite (long gone)
RAZR V3 (my 1st net-enabled phone)
"Well miami has a point..." - Leezrd
The Following User Says Thank You to Miami_Son For This Useful Post: [ Click to Expand ]
 
PHiL_G4
Old
#4  
Member - OP
Thanks Meter 15
Posts: 59
Join Date: Sep 2005
haha
Nexus 4 16GB
Nexus 7 32GB 3G
 
cndctrdj
Old
#5  
Senior Member
Thanks Meter 8
Posts: 114
Join Date: Apr 2009
Location: MA
Love it. This is my plan for my nexus7 as well. How is it working for you

Sent from my HTC Ruby using xda premium
T-mobile HTC ONE
 
PHiL_G4
Old
#6  
Member - OP
Thanks Meter 15
Posts: 59
Join Date: Sep 2005
Hi!

I have ordered most of the parts yesterday.
The most difficult thing will be the mounting, though it is much easier than in other cars I think.

I dont know which usb dac to take. But at the beginning i am going to use the 3,5mm audio output.
I also have no idea which kernel is the best to use in car for fixed installation.

But this I will test when the cable arrives


I will update the list then.


phil
Nexus 4 16GB
Nexus 7 32GB 3G
 
Letitride
Old
#7  
Letitride's Avatar
Senior Member
Thanks Meter 187
Posts: 768
Join Date: May 2010
Location: Metro NY/NE Region
Interesting, indeed - love to see its progress. Do you plan to leave the N7 mounted in the dash or will you take it indoors with you (i.e. home, shopping & at work, etc.) because in America, it would become a target for break-ins ? Perhaps, not an issue or problem in Germany, per your signature details.

With the N7 mounted fairly low on the center console/dash opening, GPS receiver might not work that good - in picking up a solid signal, assuming that you plan to use Maps/Nav as many of the features are tied to running location-based apps.

I can imagine that in a year or two, that factory-adaptors and pre-fabricated/universal mounting kits will be available via Amazon for us to simply slide or drop our devices in the "slot" & remove it afterward, making it a truely mobile & portable device that will go everywhere - a combination of bluetooth & NFC. Wishful thinking or pipe dreams, perhaps - then, again - maybe not.
Google Nexus 5 - 4.4.4 KTU84P - x 2 in black & white: T-Mo 4G
Asus 2012 Nexus 7 32GB WiFi, 4.4.4 BSZKitKat v1.6
Moto Atrix 4G MROM: Peoples-AT&T/T-Mo 3G+WiFi
HTC Incredible 2 unlocked S-OFF CWM 5.x HB.97 (6.13.1002) SR's Zeus R1.3, Sense v5.0.m
Viewsonic Vpad7-CWM 5.x EUv1.7b ITE Rom 2.2.2 hw107, A2SD, 3G+WiFi
HTC Droid Eris-GB 2.3.5 CM7 V.24RIP-Vanila-ICS, WiFi only
HTC Ozone (unlocked GSM+CDMA) 3VO ROM: WinMo 6.5: CMHK/CN+
Sony E. W995 CID53Red, R1HA036 generic, C905 custpack
 
PHiL_G4
Old
#8  
Member - OP
Thanks Meter 15
Posts: 59
Join Date: Sep 2005
Hi!

No, I am planning a fixed install.
The device is behind the double din frame, only the display will be visible.
In Germany this a Problem, too.
But I think it is no higher risk than now with my Alpine Headunit.

I also thought about GPS problems because antenna is on the back.
Then I was looking for the antenna and considered to solder an external one or take an usb mouse etc.
But a few tests inside the building etc let me hope reflections and the little plastic around will be enough signal!?
I will post some screenshots from GPS Test Plus after install.

Same thing with power and volume buttons. First I want to solder ext. buttons.
Today I bought Tasker and played a little while with it.
I will switch to airplane mode on ignition off.
When ignition is on: airplane mode goes off and poweramp starts and play music.
For airplane mode tasker requires a plugin named Secure Settings (+Busybox +Helper Actions inside App) since 4.2.
If my Nexus is completely off, then it starts with the auto-power-on trick (see above) when usb power is connected. works fine!

Yes you are right, first mounting kits are available:
http://shop.soundmanca.com


phil
Nexus 4 16GB
Nexus 7 32GB 3G
 
kazemitsui
Old
#9  
Senior Member
Thanks Meter 104
Posts: 722
Join Date: Dec 2010
Location: Hong Kong/Seattle
which usb otg cable are you using to charge the tablet. the one from ebay doesnt allow charging to the phone/tablet. and the one you linked on amazon doesnt seem to be able to charge. or is it using the regular usb to charge?
Kaze
Phone: HTC One - ARHD 71.1
Tablet: Nexus 7 - Paranoid Android 4.4+
Clock: Nexus One - Evervolv 3.2 Nightlies

 
PHiL_G4
Old
#10  
Member - OP
Thanks Meter 15
Posts: 59
Join Date: Sep 2005
Default AW: Nexus 7 car dash install + OTG charge + DVB-T + DAC + OBD + Webcam

you need a kernel from above which allow charging when otg cable is connected!

Gesendet von meinem Nexus 7 mit Tapatalk 2
Nexus 4 16GB
Nexus 7 32GB 3G

Tags
car, in-dash, mount, nexus7, smart
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes