XBimmers.com | BMW X6 Forum X5 Forum
 
TireRack



BMW Garage BMW Meets Register Today's Posts


Go Back   XBimmers.com | BMW X6 Forum X5 Forum > BMW X5 Forums > General BMW X5 (E70) and X5M Forum (2006-2013)

Post Reply
 
Thread Tools Search this Thread
      01-31-2018, 02:34 PM   #1
RichardR0404
Private First Class
31
Rep
189
Posts

Drives: 2013 BMW X5 35D
Join Date: Dec 2017
Location: Calgary

iTrader: (0)

Android Tablet Control Display Project Unveiled (Vehicle Controls Included!)FREE!

This is how I want my X5 to look like in 1 year
Name:  Screen Shot 2018-02-05 at 11.57.32 PM.png
Views: 4787
Size:  962.4 KB
Okay... Let's start from a year ago, which is when I started this project during my calculus class. I am a computer science student and have some ideas of programming android apps..Far from professional. LOL

I saw my neighbour was using a Galaxy Tab A 10 inch and I thought that this could be the tablet I will eventually develop my software on.

So This is what we got so far.

Oh also this project will be open-sourced under GPL license V3, which means that I will post my source code to GitHub and anyone is welcome to make modifications.

Oh did I mentioned that car manufactures are ripping us off by only put new features and functions in brand new car?
LCD gauge cluster cost $1000?
Hell NO!
This is a gauge cluster we did in 20 minutes, an proper map app, a simply overlay dock, done!
Oh the 10 inch display cost us $90 with shipping included
Name:  dashboard.png
Views: 2425
Size:  139.7 KB
Ain't looking too bad huh..


So this is how far I went in a year, This is running on Android 6.0 using Virt-Manager on Fedora 27, use 2 type of data feed from vehicle, OBD 2 Carly Adaptor and CANBUS to Ethernet Protocol and will consider LIN protocol if needed (Same idea as how tesla implement their system), also Android Tablet do not feed data/command right into canbus I have a program running on my linux host os to control all the command, this can be replaced by a raspberry pi latter for more security measure.
Name:  Screen Shot 2018-01-31 at 1.26.38 PM.png
Views: 2572
Size:  1.10 MB

Name:  Screen Shot 2018-01-31 at 1.26.50 PM.png
Views: 2538
Size:  1,002.6 KB

Name:  Screen Shot 2018-01-31 at 1.27.01 PM.png
Views: 2622
Size:  1.16 MB

More Pics Comming
Complete Feature list will be available later after I finish fixing the crashing issue.

Feb 2 update
Remote Start Concept
Name:  remote start concept.png
Views: 2408
Size:  392.5 KB

Last edited by RichardR0404; 02-06-2018 at 12:58 AM..
Appreciate 0
      02-01-2018, 06:26 PM   #2
RichardR0404
Private First Class
31
Rep
189
Posts

Drives: 2013 BMW X5 35D
Join Date: Dec 2017
Location: Calgary

iTrader: (0)

Some updates
Add an button for app draw, and the dashboard function is under construction, basically It will give you phone, music, Navigation, Vehicle information preview.
Able to read and write CANBUS data, Sunroof operation still not working but able to roll the window up and down.
Currently Successful command:
- Climate Control
- Window Control (Partial)
- Lighting Control (Partial)
- Power lift gate Control and setting
- Parking brake and auto hold control
- Power Seats and Steering column control (Partial)
- Door lock control (Partial)
Name:  Screen Shot 2018-02-01 at 5.19.28 PM.png
Views: 2456
Size:  1.54 MB
Appreciate 0
      02-01-2018, 10:04 PM   #3
RichardH
Private First Class
RichardH's Avatar
South Africa
27
Rep
172
Posts

Drives: X5M
Join Date: May 2007
Location: South Africa

iTrader: (0)

Wow that's amazing can't wait for write up
Appreciate 0
      02-01-2018, 10:49 PM   #4
protecon
*May contain nuts
protecon's Avatar
Australia
193
Rep
286
Posts

Drives: 2010 X5M MCB
Join Date: Sep 2015
Location: Downunder

iTrader: (1)

There's a good CANBUS Facebook group if you're looking for beta testers/troubleshooting help.

I'd like your post, but you're listening to Ed Sheeran.
__________________
VMAX 0-1000M ▒ ▒ 230@22.619 > 232@22.489
Appreciate 1
jellish104.50
      02-02-2018, 12:03 AM   #5
RichardR0404
Private First Class
31
Rep
189
Posts

Drives: 2013 BMW X5 35D
Join Date: Dec 2017
Location: Calgary

iTrader: (0)

Quote:
Originally Posted by protecon View Post
There's a good CANBUS Facebook group if you're looking for beta testers/troubleshooting help.

I'd like your post, but you're listening to Ed Sheeran.
I have another E70 owner and 2 E90 owner develop this together
I dont like Ed Sheeran. I dont use phone to play music. Like I said i use my Hi Res sony ZX2 to play my music. the google music is just demonstrate the functionarity for this system.
Appreciate 0
      02-02-2018, 04:10 AM   #6
greddy91
Second Lieutenant
83
Rep
254
Posts

Drives: 2010 X5M
Join Date: Apr 2017
Location: Oklahoma

iTrader: (0)

I'm VERY interested in this. Supersized screen mounted in the dash can be done for much cheaper than the AVIN and we can pick the hardware to assure something modern.

What version of Android is this alive on? Assuming 6.0?
Appreciate 0
      02-02-2018, 06:15 AM   #7
RichardR0404
Private First Class
31
Rep
189
Posts

Drives: 2013 BMW X5 35D
Join Date: Dec 2017
Location: Calgary

iTrader: (0)

More update..
This is still in very very very very very very very early stage of development. Probably need another year or two. Good thing is looks like this works with majority of the BMWs.
Added notification centre, added dashboard page (took me 40 minutes to write) and a very simple done in 5 minutes app draw..
Name:  Screen Shot 2018-02-02 at 5.12.22 AM.png
Views: 2396
Size:  1.20 MB

Name:  Screen Shot 2018-02-02 at 5.15.27 AM.png
Views: 2386
Size:  1.17 MB
Appreciate 0
      02-02-2018, 06:26 AM   #8
RichardR0404
Private First Class
31
Rep
189
Posts

Drives: 2013 BMW X5 35D
Join Date: Dec 2017
Location: Calgary

iTrader: (0)

Quote:
Originally Posted by greddy91 View Post
I'm VERY interested in this. Supersized screen mounted in the dash can be done for much cheaper than the AVIN and we can pick the hardware to assure something modern.

What version of Android is this alive on? Assuming 6.0?
So far my development environment is Android 7.1.1 Assume able to run on 6.0 but does not matter. My plan is to refine the air conditioner control + i drive setting first and release my first version. This is way cheaper than AVIN since what you really need is a android tablet ( a decent one cost around $300), a LTE dongle, a GPS dongle, a USB board dongle and a OBD to ethernet(for F series) or a OBD to USB (e series) to control the air conditioning, door locks and trunk (Yes you are able to adjust the opening of the trunk using the screen). Also I am trying to create driver profile on the screen so I can tag seat memory 1 or 2 to 2 driver. This is also a better idea than AVIN is you have both read and write permission to the CANBUS. Imagine you are able to code your car or do a DPF regen from the center screen......... Oh another cool feature I did today is when the car is in ON position buckle driver seatbelt, door closed, hood closed and press brake pedal it will start the engine itself.... Pretty useless feature,
Appreciate 0
      02-02-2018, 07:23 AM   #9
boneca
Brigadier General
boneca's Avatar
United_States
2002
Rep
3,036
Posts

Drives: 2022 BMW X5
Join Date: Nov 2013
Location: Boston

iTrader: (7)

Garage List
2013 BMW X5M  [10.00]
2011 BMW X5  [10.00]
Looks like pretty cool project
great time for u to do it now while u still in school!

would love to see day time pictures!

keep us updated and good luck
Appreciate 0
      02-02-2018, 08:29 AM   #10
Naz24
Lieutenant Colonel
Naz24's Avatar
United_States
1628
Rep
1,727
Posts

Drives: W205 AMG C63 / E70 X5M
Join Date: Mar 2014
Location: North/Central NJ

iTrader: (1)

i literally have no idea what you just wrote. All i saw was fruit and other words.

With that being said, this is serious talent. Also in for daytime photos
__________________

2017 C63
2012 X5M
SOLD: 2015 M3; 2007 X3 M Sport; 2014 X3 M Sport 35i; 2004 X5 4.4i; 1994 325i
Appreciate 0
      02-02-2018, 11:02 AM   #11
trucky2
New Member
trucky2's Avatar
0
Rep
22
Posts

Drives: 2009 BMS X5 35d
Join Date: Jan 2016
Location: Asheville, NC

iTrader: (0)

Seriously cool stuff. I can't wait to see more.
Appreciate 0
      02-02-2018, 11:36 AM   #12
RichardR0404
Private First Class
31
Rep
189
Posts

Drives: 2013 BMW X5 35D
Join Date: Dec 2017
Location: Calgary

iTrader: (0)

Quote:
Originally Posted by trucky2 View Post
Seriously cool stuff. I can't wait to see more.
More cool stuff is coming. I just did a remote start test on my buddy's E90, doesn't get it going on E70 yet. Basically I send engine start package to the CANBUS and disable any input. Such as the electronic gear shift, throttle and ABS. On E70 I might do a not able to release Parking brake while key isn't presented make sure this dummy remote start system secure. (Basically stupid car thieft can't brake your window and drive away, because the gearshift, parking brake and gas pedal does not work)

I will try to get more people to work on this project but like I said this is just suppose to be a garage project for myself and I will release its source code to benefits the whole bimmer community, since Android is open-source and I DO NOT agree we should pay for any infortament system that is basically a cheap android tablet with some adaptor and a not so useful user interface.
Appreciate 0
      02-02-2018, 11:45 AM   #13
RichardR0404
Private First Class
31
Rep
189
Posts

Drives: 2013 BMW X5 35D
Join Date: Dec 2017
Location: Calgary

iTrader: (0)

Quote:
Originally Posted by boneca View Post
Looks like pretty cool project
great time for u to do it now while u still in school!

would love to see day time pictures!

keep us updated and good luck
Quote:
Originally Posted by Naz24 View Post
i literally have no idea what you just wrote. All i saw was fruit and other words.

With that being said, this is serious talent. Also in for daytime photos
We will post a video of controlling basic items on a car such as climate control, which is very unstable now. Also we might show case that remote start that we will NOT publish these codes because this can be a hazard since we just plain send packets using wifi. We might just wait till more people contribute on this project. The first release should be months away with full launcher for your android device + fully functional Trip Computer, CBS indicator(Basically all readable items from CANBUS, which known by your guys as OBD2), also we are working on a 3d animated X5 model, which means that all the adjustment you made to the vehicle will be shown real time on the the screen.

One more thing, one of my roommate is able to locate some codes for lane departure warning and forward collision warning by using camera. Although the FCW ain't be as affactive than using a radar but you are paying only $30 for a camera instead of $2000+ for a radar.

We believe that we should NOT keep buying NEW vehicle for newer features, this is rip off.
Appreciate 1
Naz241627.50
      02-05-2018, 02:18 AM   #14
RichardR0404
Private First Class
31
Rep
189
Posts

Drives: 2013 BMW X5 35D
Join Date: Dec 2017
Location: Calgary

iTrader: (0)

Update:
Playing with qt5 3d stuff a little bit. Interesting fact they have some very great templets for a great gauge cluster.
This is how far we went so far.
Name:  Screen Shot 2018-02-05 at 1.10.42 AM.png
Views: 2420
Size:  927.2 KB

Name:  Screen Shot 2018-02-05 at 1.10.51 AM.png
Views: 2400
Size:  610.9 KB

Next step is to try to sniff more can bus command and try to get the whole body bus running on our own computer. Which means that we will have full control of the vehicle.

Something isn't working as we wanted to for the power seat but we are able to create more than 2 memory seat slots which is fantastic. also I managed to disable my Traction control completely by screwing with sensor data and also get rid of abs to make my winter driving a little easier.

Remote start works 1/20 times trying to get it working.

I truly believe one day all bmw e series owner will have Tesla like technology in their car for less than $200.

Oh.. although we fucked up the remote start we are still able to use a nfc tag as a vehicle key, works 100% of the time. Now my factory key is in the ignotion all the time because it doesnt work anymore any I have no idea where to put it....

My respberry pi is running on 3 different battery pack wraped in 2 layer of battery blanket so it does stand -20c yesterday.

Midterm is coming so I have some shitty school project to do (way less exciting than this great project). will experience slow update but let's see how the NFC key tag thingy works.
Appreciate 0
      02-05-2018, 10:18 AM   #15
greddy91
Second Lieutenant
83
Rep
254
Posts

Drives: 2010 X5M
Join Date: Apr 2017
Location: Oklahoma

iTrader: (0)

This is true magical wizards and unicorn shyt. Please don't get burnt out. This is an easy money maker for you and you could expand into different tablet mounts in lieu if the CIC screen.

So much more win here than the NBT upgrade. It's insane. Anyone who spends anytime in the seat of these cars will easily see the value.

Keep it up.
Appreciate 0
      02-07-2018, 11:19 AM   #16
The Expendble
New Member
0
Rep
9
Posts

Drives: 2012 Ford Fusion
Join Date: Dec 2017
Location: UAE

iTrader: (0)

Hi.

Very impressive.

Tempting to buy a 2008 x5 just for this. I am mostly interested in gauge cluster. What size tablet fits in there? Problem is i need to find a non metal tablet because in summer gets too hot here, forcing the tablet turn off at high temps.

When will you release the 1st version, or could add us as first beta testers?

Some suggestions:

1. Avoid italic fonts.
2. Add awesome speedometers
3. Better UI

Good job on the car 3d model. I am sure you will fix all the cosmetics in future but first things first as always, get this shit working
Appreciate 0
      02-07-2018, 12:22 PM   #17
RichardR0404
Private First Class
31
Rep
189
Posts

Drives: 2013 BMW X5 35D
Join Date: Dec 2017
Location: Calgary

iTrader: (0)

Quote:
Originally Posted by The Expendble View Post
Hi.

Very impressive.

Tempting to buy a 2008 x5 just for this. I am mostly interested in gauge cluster. What size tablet fits in there? Problem is i need to find a non metal tablet because in summer gets too hot here, forcing the tablet turn off at high temps.

When will you release the 1st version, or could add us as first beta testers?

Some suggestions:

1. Avoid italic fonts.
2. Add awesome speedometers
3. Better UI

Good job on the car 3d model. I am sure you will fix all the cosmetics in future but first things first as always, get this shit working
I am working my ass of to get this to work since the CANBUS communication ain't that reliable so far. Alpha version will be released later of year. Italic fonts, haha, another e90 owner told me the same thing too, make the whole thing looks like mercedes. Speedometers are the easy easy easy easy easy part, in fact the dash board gauge cluster is the most easiest part ever. It's possible we will focus on the dash board project and release it earlier since what we need is tap in to the bus (where P3 display and M PSW w/ OLED uses) and get the data, also utilizing open maps. It is not a tablet inside the gauge cluster in fact it is a 10 inch display for raspberry pi which cost way under $100.

UI/UE is always the last part we will work on since we havn't get the whole damn thing working properly yet.

If you want to buy a used x5d i will recommand the one with CCC navigation. Eventhou this won't be released that early you might able to get your hands on a AVIN unit. OR worse I screwed up my dash and you can swap my cic in to your car.
Appreciate 0
      02-07-2018, 01:08 PM   #18
jellish
Lieutenant
United_States
105
Rep
420
Posts

Drives: 2013 X6M
Join Date: Sep 2014
Location: Austin, TX

iTrader: (3)

Nice man.

I'm only interested in a gauge cluster replacement, but I appreciate the effort on all fronts. If there is anything I can help with, let me know and I will try. I'm a Sr Software Engineer and I have done Android dev in the past.

__________________
Lots.
Appreciate 0
      02-07-2018, 01:14 PM   #19
RichardR0404
Private First Class
31
Rep
189
Posts

Drives: 2013 BMW X5 35D
Join Date: Dec 2017
Location: Calgary

iTrader: (0)

Quote:
Originally Posted by neuroclast View Post
Nice man.

I'm only interested in a gauge cluster replacement, but I appreciate the effort on all fronts. If there is anything I can help with, let me know and I will try. I'm a Sr Software Engineer and I have done Android dev in the past.

Sounds like everyone is interested in the gauge cluster replacement. We will start working on that. For the gauge cluster replacement we might just not use android at all, might just use a lightweight linux running on a respberry pi. I will have to use qt to write the whole interface so. Stay tuned!
Appreciate 0
      02-07-2018, 01:27 PM   #20
jellish
Lieutenant
United_States
105
Rep
420
Posts

Drives: 2013 X6M
Join Date: Sep 2014
Location: Austin, TX

iTrader: (3)

Quote:
Originally Posted by RichardR0404 View Post
Sounds like everyone is interested in the gauge cluster replacement. We will start working on that. For the gauge cluster replacement we might just not use android at all, might just use a lightweight linux running on a respberry pi. I will have to use qt to write the whole interface so. Stay tuned!
Not a fan of qt personally, but if you can get it working more power to you! Speaking from experience on graphically intense embedded systems, you would be much better off doing a webkit based UI and tie that in to your backend for data via something like REST/WebSockets. It will make developing a pretty/interactive UI much easier.
__________________
Lots.
Appreciate 0
      02-07-2018, 01:46 PM   #21
jellish
Lieutenant
United_States
105
Rep
420
Posts

Drives: 2013 X6M
Join Date: Sep 2014
Location: Austin, TX

iTrader: (3)

Actually if you want I can completely duplicate the BMW 6WB style UI in a page, then you would just need to implement the backend. Would be a fun little project.
__________________
Lots.
Appreciate 0
      02-07-2018, 04:44 PM   #22
RichardR0404
Private First Class
31
Rep
189
Posts

Drives: 2013 BMW X5 35D
Join Date: Dec 2017
Location: Calgary

iTrader: (0)

Quote:
Originally Posted by neuroclast View Post
Actually if you want I can completely duplicate the BMW 6WB style UI in a page, then you would just need to implement the backend. Would be a fun little project.
The hardest part isn't duplicate UI, it is easily doable.
Name:  2016-bmw-7-series-instrument-cluster-images-03.jpg
Views: 3517
Size:  435.1 KB

Still thinking how to do the map page kinda thing. I am thinking use open map but open map is kinda garbage.... There is a Garmin navi version available for QNX and Linux, even windows ce. I am not sure if I am able to get data from the iDrive map data (which is kinda impossible), but if I am able to I would like to do this. Do you have any idea how the map kinda work?
Appreciate 0
Post Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -5. The time now is 11:18 PM.




xbimmers
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
1Addicts.com, BIMMERPOST.com, E90Post.com, F30Post.com, M3Post.com, ZPost.com, 5Post.com, 6Post.com, 7Post.com, XBimmers.com logo and trademark are properties of BIMMERPOST