Forum-Gallery-Shop-Sponsors

« Advertise on Freel2.com

Home > In Car Electronics > Canbus App with Carplay and Raspberry Pi
Post Reply  Down to end
Page 1 of 2 12>
Print this entire topic · 
rhys_m



Member Since: 18 Aug 2019
Location: kent
Posts: 28

United Kingdom 2008 Freelander 2 TD4 SE Manual Zermatt Silver
Canbus App with Carplay and Raspberry Pi

Hi All,

I've begun work on a canbus app for the fl2, I've done alot of work on a jaguar XF version of this, however that has gotten to a tricky part so I have diverted my focus over to the simpler fl2 Laughing (no ac settings etc) This is running on a pi3 (works better with a pi4) with the Official raspberry pi touchscreen and a canbus HAT. It makes use of the carlinkit dongle to be able to run carplay, however this is all running on linux no android in sight.

In terms of canbus bits, its super early at the moment, so not a huge amount in there, but luckily the parking sensor format is very similar to the XF so I have chucked in some visualisation for that, and also interfaced to a reversing camera. Special modes are ready to go and will be next on the list, along with parking angle (perhaps some stuff to do with the hadlex and percentage engaged). I know there's likely less interest on here for this than the XF since custom screens are readily available from xtrons but it may of interest to some!



https://github.com/rhysmorgan134/landrover-freelander2-can-app WIP Website

Post #430266 19th Feb 2023 8:27 pm
View user's profile Send private message View poster's gallery Reply with quote
Vanny



Member Since: 06 Dec 2015
Location: Cheshire
Posts: 436

United Kingdom 2013 Freelander 2 SD4 XS Auto Santorini Black

I'm super interested!

And have made a little progress on CAN decoding if you need anything? Think you have my email Addy.

EDIT - Email inbound


Last edited by Vanny on 1st Mar 2023 8:56 pm. Edited 1 time in total

Post #430480 27th Feb 2023 4:20 pm
View user's profile Send private message View poster's gallery Reply with quote
PRadd



Member Since: 09 Apr 2020
Location: East Lancs
Posts: 350

United Kingdom 2014 Freelander 2 TD4 Dynamic Manual Santorini Black

I'll be following this with interest also Thumbs Up 2014 Freelander 2 TD4 Manual Dynamic
1956/7 88" Series One Land Rover
1956/7 88" Series One Land Rover - undergoing restoration

Post #430482 27th Feb 2023 4:41 pm
View user's profile Send private message View poster's gallery Reply with quote
Grue



Member Since: 29 Apr 2018
Location: New Zealand
Posts: 331

New Zealand 2007 Freelander 2 TD4 SE Auto Sumatra Black

That looks very cool.

What sort of price range you thinking all up? Would prefer something like this over the Xtrons, but I think the price tag would be the decider.

Post #430499 27th Feb 2023 7:53 pm
View user's profile Send private message View poster's gallery Reply with quote
NoDo$h



Member Since: 27 May 2008
Location: fings go booooom.
Posts: 490

England 2010 Freelander 2 TD4 HSE Auto Santorini Black

Because I need an excuse for another project..... watching with interest! Current driveway contents:
2021 V60 Cross Country B5
2009 FL2 dog bus and shooting wagon

On Order: 2023 Fisker Ocean Ultra - deposit paid.

Post #430523 28th Feb 2023 2:18 pm
View user's profile Send private message View poster's gallery Reply with quote
rhys_m



Member Since: 18 Aug 2019
Location: kent
Posts: 28

United Kingdom 2008 Freelander 2 TD4 SE Manual Zermatt Silver

Grue wrote:
That looks very cool.

What sort of price range you thinking all up? Would prefer something like this over the Xtrons, but I think the price tag would be the decider.


Pi plus screen is around £100, the canbus hat can be had for around £30, then it’s just the small extras, power supply etc etc. I guess most people who would be looking to do it may already have a pi laying around! WIP Website

Post #431521 6th Apr 2023 10:50 pm
View user's profile Send private message View poster's gallery Reply with quote
balticblueLR2



Member Since: 27 Feb 2023
Location: WA
Posts: 27

Australia 2011 Freelander 2 SD4 SE Auto Baltic Blue

That's brilliant! So good to see the Pi getting some mileage in this context; they're really good fun, and very rewarding to play with. For some reason I'm fascinated with all the data our cars generate, so being able to tap in to all the sensors and data streams is very appealing to me. I too will be following your progress with great interest. Feel free to post more pictures of your install and the other challenges.

Thanks so much for sharing.

Post #431524 7th Apr 2023 4:34 am
View user's profile Send private message View poster's gallery Reply with quote
Vanny



Member Since: 06 Dec 2015
Location: Cheshire
Posts: 436

United Kingdom 2013 Freelander 2 SD4 XS Auto Santorini Black

rhys_m wrote:
Grue wrote:
That looks very cool.

What sort of price range you thinking all up? Would prefer something like this over the Xtrons, but I think the price tag would be the decider.


Pi plus screen is around £100, the canbus hat can be had for around £30, then it’s just the small extras, power supply etc etc. I guess most people who would be looking to do it may already have a pi laying around!


But not a Pi4, because we're not millionaires Very Happy

Post #431530 7th Apr 2023 9:40 am
View user's profile Send private message View poster's gallery Reply with quote
smarggauges



Member Since: 16 Apr 2020
Location: Russia
Posts: 6

2009 Freelander 2 TD4 SE Auto Alaska White

Hello rhys_m, you have done a great job, but it seems to me that of any android headunit + canbus adapter will be more functional.
You can reprogram a cheap(< 10$) сhinese canbus adapter for any car with can bus and after that you will be able to control power for android headunit and rear view camera. The android screen will display the state of the car(doors, parking sensors, etc.) and from android you can send messages to the can bus.

Here is some information about the can adapter in Russian: https://www.drive2.ru/b/599820152787190466/

Here is an analysis of some can messages for FL2 in Rusian: https://www.drive2.ru/b/578407163836235804/

Here are the sources for the canbus adapter, which supports several cars, including FL2: https://github.com/smartgauges/canbox

Post #431563 8th Apr 2023 4:09 pm
View user's profile Send private message View poster's gallery Reply with quote
rhys_m



Member Since: 18 Aug 2019
Location: kent
Posts: 28

United Kingdom 2008 Freelander 2 TD4 SE Manual Zermatt Silver

Thanks @smartgauges I’ve read pretty much everyone of your posts in drive2! The main part of this project is around the jaguar XF which is much more complex of a replacement, and I am not really a fan of the Chinese offerings! The Freelander 2 is a nice car to move it over to as it’s much more simple.

As a separate update, I’ve been looking into interfacing to the MOST bus. It’s been a long long journey so far from designing a Pi Hat, to writing the low level driver implementation, all the way to know finally being able to use some data. I’ve just managed to get it implemented 90% with the cd player, and there’s a bunch of data available. I’ve displayed some through a quick app to give an idea, hopefully people find this as exciting as I do! Having access to the MOST bus is something that’s so far been out of reach for a lot of people. There’s been some useful pointers along the from smartgauges ^ and his blog posts have also been really useful!

 WIP Website

Post #431829 16th Apr 2023 10:08 pm
View user's profile Send private message View poster's gallery Reply with quote
Grue



Member Since: 29 Apr 2018
Location: New Zealand
Posts: 331

New Zealand 2007 Freelander 2 TD4 SE Auto Sumatra Black

Have been meaning to drop the cash on the Xtrons at some point, but much more excited about this.

Pretty easy to install the Pi Screen?

Post #432268 5th May 2023 12:46 am
View user's profile Send private message View poster's gallery Reply with quote
rhys_m



Member Since: 18 Aug 2019
Location: kent
Posts: 28

United Kingdom 2008 Freelander 2 TD4 SE Manual Zermatt Silver

Yeah its quite straightforward, the width of the official screen is agonisingly close to being perfect, I just had to tickle the edges of the vents to squeeze it in. MOST bus is coming on well, it's going to add a huge amount of functionality to it. WIP Website

Post #432272 5th May 2023 7:39 am
View user's profile Send private message View poster's gallery Reply with quote
riggzby



Member Since: 06 Mar 2020
Location: Horsham, Sussex
Posts: 25

United Kingdom 2009 Freelander 2 TD4_e XS Manual Galway Green

This is a great project Rhys - you've already got lots done from the looks of things.

It's always struck me that there aren't more universal APIs/readers for reading this stuff, especially with more modern cars basically becoming one big screen. I like the concept of being able to take your UI from car to another (which is why I like carplay/android auto) as opposed to relying on car manufacturers on knowing UX!

Looking forward to seeing more of it.

Simon

Post #432421 12th May 2023 3:31 pm
View user's profile Send private message View poster's gallery Reply with quote
jules



Member Since: 13 Dec 2007
Location: The Wilds of Warwickshire
Posts: 4517

United Kingdom 2014 Freelander 2 SD4 SE Auto Firenze Red

Pardon my ignorance, this is well outside my field of understanding, but what do you hope to achieve with all this ?

FWIW my Fiesta ST has Android Auto but Ive yet to find a use for it. What am I missing ? Jules

Post #432433 12th May 2023 6:50 pm
View user's profile Send private message View poster's gallery Reply with quote
Grue



Member Since: 29 Apr 2018
Location: New Zealand
Posts: 331

New Zealand 2007 Freelander 2 TD4 SE Auto Sumatra Black

I could buy maps to load onto my factory screen... but they'd be old and rather pricey. So my screen sits there taking up a load of real estate but has zero functional use for me.

My wish list for a usable touch screen in it's place would be:
Music. Load up a ton of mp3's onto it.
Google Maps.
Software on it i can run to talk to my OBDII reader for running diagnostic codes, or even the SDD software I currently have to bring a laptop out to the car to use.
And in the process making the car feel more modern? Great.

Xtrons would tick most of those boxes, but sounds like this way is cheaper, and with more room for tinkering if you're that way inclined.

Post #432465 14th May 2023 7:04 am
View user's profile Send private message View poster's gallery Reply with quote
Post Reply  Back to top
Page 1 of 2 12>
All times are GMT

Jump to  
Previous Topic | Next Topic >
Posting Rules
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Site Copyright © 2006-2024 Futuranet Ltd & Martin Lewis
Freel2.com RSS Feed - All Forums


Switch to Mobile site