Need solution for car (can bus)

Moderators: meveric, mdrjr, odroid

Need solution for car (can bus)

Unread postby Zaren » Fri Nov 10, 2017 6:44 am

Hello, dear odroids!

I want to buy some Odroid for my car. I was searching a some approach to plug Odroid to the car through MCP2515 can controller and I found one option here:
viewtopic.php?f=80&t=7312&p=58927&hilit=Mcp2515&sid=f231886615df6f769b3e2743f5c6ae2c#p58927
Also I need extra modules like mcp2515 and rt8812 in Linux kernel.

But it is a topic of year 2014. Maybe kernel already has those modules.
The Odroid U3 is obsolete now. Odroid C2 is 64 but has no IPS extension. Maybe better to buy ODROID-C1+?
It is a possible to plug the Odroid XU4 to canbus?
I would prefer to buy Odroid XU4 + GPS + 5” Display + camera and to additional stuff which allows me to work with canbus.
What can be modern solution for such task? Or it is better to buy Odroid U3 and done it in way as in the topic above?
What do you think? I would be very appreciative any advice

Thanks,
Zaren
Zaren
 
Posts: 5
Joined: Wed Nov 08, 2017 7:12 am
languages_spoken: english

Re: Need solution for car (can bus)

Unread postby odroid » Fri Nov 10, 2017 10:37 am

I think XU4 SPI bus can be connected to MCP2515 via a simple level-shifter like U3.

BTW, do you know average transfer speed of the CAN bus in the real world?
User avatar
odroid
Site Admin
 
Posts: 25040
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: Need solution for car (can bus)

Unread postby Zaren » Fri Nov 10, 2017 6:46 pm

Can bus in cars usual uses from 10 to 500 baud rate according by http://marco.guardigli.it/2010/10/hacking-your-car.html
I need setup connection between XU4 and car something like this http://wiki.seeed.cc/CAN-BUS_Shield_V1.2/

Here is also good examples http://blog.dimitarmk.com/2017/02/05/gm ... o-mcp2515/
https://afterhourscoding.wordpress.com/ ... terfacing/

Someone has have confirmed 95ish kbps is the correct rate.

So, maybe for my setup would be good to have two XU4. One for canbus another one for two cameras setup (front and rear)
Zaren
 
Posts: 5
Joined: Wed Nov 08, 2017 7:12 am
languages_spoken: english

Re: Need solution for car (can bus)

Unread postby Zaren » Fri Nov 10, 2017 8:30 pm

I have a question about temperature range. In which conditions I can use those hardwares? Usual winter temperature In my region is -20C . When I turn on ignition after couple minutes temperature changes from -20C to 0C. It is possible to harm XU4 ?
Zaren
 
Posts: 5
Joined: Wed Nov 08, 2017 7:12 am
languages_spoken: english

Re: Need solution for car (can bus)

Unread postby Zaren » Sat Nov 11, 2017 5:50 am

One more question is about 5” display connection.
There is two options to plug display. First one is using two link boards (micro usb and HDMI) and another one is two cables.
First one is for Odroid C+ second one is for XU4
It is possible to plug to XU4 with link boards? Somehow :) Because I have not place for display dimension + cable connectors length. And if there is not such option I have to use C+ and 5” display

Is there the C Tinkering Kit for XU4 ?

Thanks,
Zaren
Zaren
 
Posts: 5
Joined: Wed Nov 08, 2017 7:12 am
languages_spoken: english

Re: Need solution for car (can bus)

Unread postby odroid » Sun Nov 12, 2017 9:59 am

I believe XU4 runs at -20C.
But our 5~7inch TFT LCD board work at 0C at least.

You need a cable. The link bridge board doesn't work with XU4.
You need the level-shifter board on the XU4 to use the Tinkering kit.
https://wiki.odroid.com/accessory/add-o ... ift_shield
https://wiki.odroid.com/accessory/devel ... ith_driver
User avatar
odroid
Site Admin
 
Posts: 25040
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: Need solution for car (can bus)

Unread postby Zaren » Sun Nov 12, 2017 7:32 pm

Thanks for your replay ! I already did my order. Looking forward to have my Odroid. =)
Zaren
 
Posts: 5
Joined: Wed Nov 08, 2017 7:12 am
languages_spoken: english


Return to General Chat

Who is online

Users browsing this forum: No registered users and 2 guests