MCP2515 or alternative to interface with car's Canbus?

Go To Last Post
6 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi!

 

I'm in need to connect to my cars CANBUS to read steering wheel controls and was wondering if some decicated IC would be best for the interfacing with the bus such as MCP2515** paired with some AVR mcu?

Cost is not really an issue here, since its going to be one unit for me alone.

 

Little backround, Im going to replace Headunit of my car with android tablet, but i want to retain steering wheel controls for music playback/calling, which is why i need something to read the canbus and turn it into a command my tablet will understand.

 

 

**https://www.microchip.com/wwwpro...

 

PS. ive never done any work with canbus, if there is something i should take into consideration please let me know.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

MAPS shows 37 8-bit MCU with a CAN controller of which 8 are AVR.

https://www.microchip.com/maps/Microcontroller.aspx (CAN about mid-page)

 

"Dare to be naïve." - Buckminster Fuller

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

JoniS wrote:
Little backround, Im going to replace Headunit of my car with android tablet, ...
COTS tablets likely won't function well in a Finland winter cold-soaked automotive cab.

JoniS wrote:
... i need something to read the canbus and turn it into a command my tablet will understand.
IIRC, there's CAN-to-USB (HID?) dongles.

 


-20C, Android, automotive, panel PC : https://www.mouser.com/datasheet/2/638/TREK-733L_DS(12.06.16)20161206111137-1075535.pdf

-40C options for DRAM and SSD, Linux or Windows, industrial, panel PC : Panel PCs | Logic Supply

 

"Dare to be naïve." - Buckminster Fuller

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

"Dare to be naïve." - Buckminster Fuller

Last Edited: Fri. Nov 16, 2018 - 06:18 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

gchapman wrote:

MAPS shows 37 8-bit MCU with a CAN controller of which 8 are AVR.

https://www.microchip.com/maps/Microcontroller.aspx (CAN about mid-page)

 

Need to look into that option aswell, I guess it would be simpler to use MCU with can periephal baked in.

gchapman wrote:

JoniS wrote:
Little backround, Im going to replace Headunit of my car with android tablet, ...
COTS tablets likely won't function well in a Finland winter cold-soaked automotive cab.

JoniS wrote:
... i need something to read the canbus and turn it into a command my tablet will understand.
IIRC, there's CAN-to-USB (HID?) dongles.

 


-20C, Android, automotive, panel PC : https://www.mouser.com/datasheet/2/638/TREK-733L_DS(12.06.16)20161206111137-1075535.pdf

-40C options for DRAM and SSD, Linux or Windows, industrial, panel PC : Panel PCs | Logic Supply

 

Yeah, the cold winter's we have might(will most likely) become an issue if the device is left in to the car, well if it's too big proplem, I could always use my phone in car instead of tablet when it's winter, it's only matter of plugging charging cable anyway.

Can to USB dongle would certainly be easy route and then do the processing in Android end, i will have to investigate that possibility since my plan is to use USB dac between tablet and DSP unit to get digital signal as far as i can in the audio device chain, atleast initially i was considering using BLE for the controls to let the USB connection be only for the DAC.

Last Edited: Fri. Nov 16, 2018 - 06:21 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I think I'm going to design the board with AVR MCU I'm familiar with and have plenty of those in my drawer(mega328pb) to remove X amount of unknown factors to me in this project.

MCP2561as psychical layer to bus and MCP2515 as contoller, well that is if I don't find good alternatives since i hate mchip datasheets.

Then BLE to communicate between the AVR and Android device, since again that's something I'm familiar with.

That Arduino project was nice find, I'm sure it will help me alot to get started.

what's even nicer is that I did find someone who have sniffed similar car I have, so the commands propably have similarities which gives me something to look for when starting to sniff the bus first time.

Last Edited: Fri. Nov 16, 2018 - 03:07 PM