Notices

My Car Tablet

Thread Tools
 
Search this Thread
 
Rate Thread
 
Old 08-19-2012, 07:37 AM
  #1  
Registered
Thread Starter
 
Daisun's Avatar
 
Join Date: Aug 2005
Location: Australia
Posts: 81
Likes: 0
Received 1 Like on 1 Post
My Car Tablet

[UPDATE! - 2016, August 21]
If anyones still interested in this, I've rewritten my Arduino code so that its semi-readable. It can be found here: https://github.com/dasonwong/rx8navhood

[UPDATE! - 2015, July 16]
I have replaced the Huawei MediaPad in my Car Tablet set up with a Nexus 7, please see the end of this post for an updated semi-DIY video. I filmed it in 4K!

[Original Post]
Hi everyone! After many months I have finally finished my car tablet project . Basically, I've taken a stock navigation hood and fitted a 7" Huawei MediaPad into it.

Here's a video:

The install involved modifying the inside of the hood to make the tablet fit. There isn't much space in there. I had to cut away the four screw mounting points and also cut a slot at the bottom to fit the tablet. To help those wanting to attempt something similar the dimensions of my tablet are: (Length x Width x Height): 190mm x 124mm x 10.5mm. 190mm is about the limit of what you can fit in there because you also need to allow for the headphone and charger plugs. I had to drill a hole on the side to make space for the charging cable. You should try and find a tablet which is

Last edited by Daisun; 08-21-2016 at 05:32 AM. Reason: Code is now available!
The following users liked this post:
Shamgar (04-29-2021)
Old 08-19-2012, 08:41 AM
  #2  
Flame On!
iTrader: (4)
 
1.3_LittersOfFurry's Avatar
 
Join Date: Jan 2011
Location: New Orleans, La
Posts: 1,897
Likes: 0
Received 4 Likes on 4 Posts
Awesome work, I'm about to take this adventure myself!
Old 08-19-2012, 09:08 AM
  #3  
Registered User
 
AdrianL's Avatar
 
Join Date: Feb 2012
Location: W Yorkshire, UK
Posts: 4
Likes: 0
Received 0 Likes on 0 Posts
Very nice mate. Saw your video on youtube earlier and would love to do this myself. Got any instructions for what you needed etc for Arduino? Read half a book on the Arduino today and it looks great! I know enough about the dev side to get it working but not so much about the electronics so any info you gathered would be great if you don't mind sharing?

Also, I've been looking at the new Nexus 7. It's 8mm more than the length you recommend, although in your videos it looks like if I got right angled connectors it may squeeze in? What do you recon?

Cheers,
Adrian
Old 08-19-2012, 09:39 AM
  #4  
User and Abuser
iTrader: (3)
 
firebirdude's Avatar
 
Join Date: Nov 2006
Location: Sunshine State
Posts: 3,113
Received 9 Likes on 8 Posts
Old 08-19-2012, 11:05 AM
  #5  
Banned
 
FernandoVenezuela's Avatar
 
Join Date: Jul 2012
Location: Chicago
Posts: 48
Likes: 0
Received 2 Likes on 2 Posts
not too shabby. pretty excellent.
Old 08-19-2012, 11:09 AM
  #6  
weeeeeeeeee
iTrader: (12)
 
ShellDude's Avatar
 
Join Date: Jun 2008
Location: Outside Philadelphia
Posts: 4,200
Received 229 Likes on 153 Posts
Very nice! And effective use if foam!
Old 08-19-2012, 05:28 PM
  #7  
Registered
Thread Starter
 
Daisun's Avatar
 
Join Date: Aug 2005
Location: Australia
Posts: 81
Likes: 0
Received 1 Like on 1 Post
Originally Posted by AdrianL
Very nice mate. Saw your video on youtube earlier and would love to do this myself. Got any instructions for what you needed etc for Arduino? Read half a book on the Arduino today and it looks great! I know enough about the dev side to get it working but not so much about the electronics so any info you gathered would be great if you don't mind sharing?

Also, I've been looking at the new Nexus 7. It's 8mm more than the length you recommend, although in your videos it looks like if I got right angled connectors it may squeeze in? What do you recon?

Cheers,
Adrian
From memory I had about 1/2 a cm on either side for connectors. I was using a right angled headphone connector and it was still too long, I had to shave some of the plastic off the connector. The MediaPad has a separate power connector ie. doesn't use the microUSB which was a bonus, meaning I still had access to the USB for software changes. I can't say that the Nexus 7 wont fit, but I had a difficult time getting the MediaPad to fit already.

Another thing to note with the Nexus 7 is that by default it doesn't go into landscape orientation on the homescreen. I know there's hacks for it, but just keep that in mind.

The electronics wiring wasn't too bad, surprisingly I managed to wire it correctly first go. Here's a some of the websites/resources that I used for wiring, but if anyone wants more detailed info I'd love to help:

Using an H-bridge to control a motor (I changed to a Motor Shield in the end)
Physical Computing at ITP | Labs / DC Motor Control Using an H-Bridge

Tutorial on the Arduino Motor Shield
Arduino Motor Shield Tutorial

Official Arduino Website
Arduino - HomePage
Old 08-19-2012, 05:53 PM
  #8  
Made in England
iTrader: (5)
 
wrightcomputing's Avatar
 
Join Date: Oct 2010
Location: Sarasota
Posts: 738
Likes: 0
Received 3 Likes on 3 Posts
Very cool
Old 08-20-2012, 12:57 AM
  #9  
Registered User
 
AdrianL's Avatar
 
Join Date: Feb 2012
Location: W Yorkshire, UK
Posts: 4
Likes: 0
Received 0 Likes on 0 Posts
Originally Posted by Daisun
From memory I had about 1/2 a cm on either side for connectors. I was using a right angled headphone connector and it was still too long, I had to shave some of the plastic off the connector. The MediaPad has a separate power connector ie. doesn't use the microUSB which was a bonus, meaning I still had access to the USB for software changes. I can't say that the Nexus 7 wont fit, but I had a difficult time getting the MediaPad to fit already.

Another thing to note with the Nexus 7 is that by default it doesn't go into landscape orientation on the homescreen. I know there's hacks for it, but just keep that in mind.

The electronics wiring wasn't too bad, surprisingly I managed to wire it correctly first go. Here's a some of the websites/resources that I used for wiring, but if anyone wants more detailed info I'd love to help:

Using an H-bridge to control a motor (I changed to a Motor Shield in the end)
Physical Computing at ITP | Labs / DC Motor Control Using an H-Bridge

Tutorial on the Arduino Motor Shield
Arduino Motor Shield Tutorial

Official Arduino Website
Arduino - HomePage
That's great thanks very much
Old 09-06-2012, 12:14 PM
  #10  
Triangular Bee Hive
iTrader: (3)
 
ShinkaEvo's Avatar
 
Join Date: Feb 2008
Location: Socal, LA
Posts: 779
Likes: 0
Received 0 Likes on 0 Posts
Well done, adding this to the list of my future mods.
Old 09-24-2012, 08:44 AM
  #11  
Registered
 
Lareon's Avatar
 
Join Date: Nov 2011
Posts: 36
Likes: 0
Received 0 Likes on 0 Posts
i've got my hood working with the stock pcb and running off of the original plug (modified to just have lights, gnd acc and +12v)

if i simply wanted to use the arduino to control the power supply to the tablet, what would i have to do to get that working?

before i saw this i was thinking off running the cable to a usb car charger connected up to an acc fuse in the fuse box via a fusetap. is the arduino doing the same as this?

Last edited by Lareon; 09-24-2012 at 08:47 AM.
Old 09-24-2012, 07:23 PM
  #12  
Registered
Thread Starter
 
Daisun's Avatar
 
Join Date: Aug 2005
Location: Australia
Posts: 81
Likes: 0
Received 1 Like on 1 Post
Your ACC fusetap would work, but it would mean if you decided to close the hood while the engine was on, the screen would turn off due to orientation change via Tasker, and to turn it back on you would have to turn the car off and on again.

Using the Arduino to just control charging is possible but, the difficult part is letting the Arduino know when to toggle the charging (ie turn screen on). I was able to know when the screen was opening or closing because I used the Arduino to operate the motor. I guess a solution would be to use a gyroscope or orientation sensor with the Arduino to detect whether the hood was open or closed. Or you could toggle the charging manually, which was what I was gonna do before my stock pcb stopped working.

Hopefully other members will have better ideas.

/edit Forgot to answer your question about what the Arduino is doing.

The Arduino is always on, it is powered by the +12v battery line, and continually checks if ACC is on or not. If ACC is on then it'll enable the buttons on the hood and restore the hood to its previous position. Whenever the hood is required to 'open', whether by button press or restoring to previous position, while the hood is rising the Arduino will stop charging the tablet. Once its fully opened charging will resume, hence causing the screen to turn on. At all other times the tablet is constantly charging, yes even when the car is off. Hope this makes sense.

Last edited by Daisun; 09-24-2012 at 07:34 PM.
Old 09-24-2012, 08:05 PM
  #13  
Flame On!
iTrader: (4)
 
1.3_LittersOfFurry's Avatar
 
Join Date: Jan 2011
Location: New Orleans, La
Posts: 1,897
Likes: 0
Received 4 Likes on 4 Posts
There is a app that turns the screen on when you turn the tablet back up.
Old 09-24-2012, 08:11 PM
  #14  
Registered
Thread Starter
 
Daisun's Avatar
 
Join Date: Aug 2005
Location: Australia
Posts: 81
Likes: 0
Received 1 Like on 1 Post
Originally Posted by 1.3_LittersOfFurry
There is a app that turns the screen on when you turn the tablet back up.
Could you please provide a link to this app? It would make life a lot easier for a lot of people. Or did you write one?

From my understanding it isn't possible to turn the screen back on based on orientation change because from Android 2.1 upwards the sensor turns off when the screen is locked. I heard there was a hidden API which could be used but I never looked into it.
Old 09-24-2012, 08:45 PM
  #15  
Flame On!
iTrader: (4)
 
1.3_LittersOfFurry's Avatar
 
Join Date: Jan 2011
Location: New Orleans, La
Posts: 1,897
Likes: 0
Received 4 Likes on 4 Posts
https://play.google.com/store/apps/d...r.awesomeonoff

https://play.google.com/store/apps/d...otateoffwidget

Need both.

Old 09-24-2012, 08:50 PM
  #16  
Registered
Thread Starter
 
Daisun's Avatar
 
Join Date: Aug 2005
Location: Australia
Posts: 81
Likes: 0
Received 1 Like on 1 Post
The first app seems to use the proximity sensor which would work, but I believe and certainly with the MediaPad, most tablets don't have those.

The second one, by its description, seems to only turn the screen off.

I guess another thing to look for when choosing a tablet is one with a proximity sensor, would've made my life a lot easier.
Old 09-24-2012, 08:54 PM
  #17  
weeeeeeeeee
iTrader: (12)
 
ShellDude's Avatar
 
Join Date: Jun 2008
Location: Outside Philadelphia
Posts: 4,200
Received 229 Likes on 153 Posts
Still wouldn't help it wake up...
Old 09-24-2012, 09:05 PM
  #18  
Flame On!
iTrader: (4)
 
1.3_LittersOfFurry's Avatar
 
Join Date: Jan 2011
Location: New Orleans, La
Posts: 1,897
Likes: 0
Received 4 Likes on 4 Posts
Sorry guys, I'm new to the android system. But with those two apps my tablet turns on and off when I flip it, even after it's been sitting all night.
Old 09-24-2012, 09:10 PM
  #19  
Flame On!
iTrader: (4)
 
1.3_LittersOfFurry's Avatar
 
Join Date: Jan 2011
Location: New Orleans, La
Posts: 1,897
Likes: 0
Received 4 Likes on 4 Posts
oh and I'm pretty sure you can adjust what angle it turns on and off.
Old 09-24-2012, 09:15 PM
  #20  
Registered User
 
Fissio'nchips's Avatar
 
Join Date: Jul 2012
Location: Minneapolis
Posts: 6
Likes: 0
Received 0 Likes on 0 Posts
To add my 2c, I think that the app in the first link does indeed turn the device on due to rotation, not by using the proximity sensor. I just tried it out on my Evo Lte and it functions correctly without anything near the phones sensor. Hope it works for you.
Old 09-24-2012, 09:24 PM
  #21  
Registered
Thread Starter
 
Daisun's Avatar
 
Join Date: Aug 2005
Location: Australia
Posts: 81
Likes: 0
Received 1 Like on 1 Post
I'm glad to hear it works! Another option for future tablet installers.
Old 09-24-2012, 10:51 PM
  #22  
weeeeeeeeee
iTrader: (12)
 
ShellDude's Avatar
 
Join Date: Jun 2008
Location: Outside Philadelphia
Posts: 4,200
Received 229 Likes on 153 Posts
Originally Posted by 1.3_LittersOfFurry
Sorry guys, I'm new to the android system. But with those two apps my tablet turns on and off when I flip it, even after it's been sitting all night.
just keep in mind that a hook preventing sleep will reduce run time. Whether that becomes a problem or not is dependent on how often and long you drive. At most it'll be an inconvenience at times because you'll have to physically boot the tab.

I bring my tablet in the house every week or two for a full charge because I never have it powered up and charging for more than 40 minutes at a time and it sits all day and night in deep sleep mode.

I'll likely implement contact points when / if I ever wire up my OEM nav. The ardrino solution is nice because you could go even further with something like a 9000+ mAh charging brick in addition to just relying on ACC for power.
Old 09-25-2012, 04:38 AM
  #23  
Flame On!
iTrader: (4)
 
1.3_LittersOfFurry's Avatar
 
Join Date: Jan 2011
Location: New Orleans, La
Posts: 1,897
Likes: 0
Received 4 Likes on 4 Posts
Wait now I'm confused.

The car charges the tablet why would you need to take it out the car to charge it?
all you have to do is drill a very small hole ontop the power button so you can reboot if needed.

Last edited by 1.3_LittersOfFurry; 09-25-2012 at 04:40 AM.
Old 09-25-2012, 04:53 AM
  #24  
Registered
 
Lareon's Avatar
 
Join Date: Nov 2011
Posts: 36
Likes: 0
Received 0 Likes on 0 Posts
wont the proximity sensor be hidden inside the hood thus making the app useless?

surely with tasker you can make the on off action based on usb charging? when charging occurs, screen on, when it stops, screen off?

this would mean that the screen is on when the hood is down though i guess
Old 09-25-2012, 04:59 AM
  #25  
Flame On!
iTrader: (4)
 
1.3_LittersOfFurry's Avatar
 
Join Date: Jan 2011
Location: New Orleans, La
Posts: 1,897
Likes: 0
Received 4 Likes on 4 Posts
It doesn't use the proximity sensor.

watch the video, you can see it turn on and off when it flips



www.youtube.com/watch?v=cde5BYXYUHw

Last edited by 1.3_LittersOfFurry; 09-25-2012 at 05:03 AM.


You have already rated this thread Rating: Thread Rating: 0 votes,  average.

Quick Reply: My Car Tablet



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