Does Azure Sphere Support Collecting CAN Bus Data from Vehicles?

Heejun Noh (Consultant) 0 Reputation points
2025-01-08T01:41:48.7733333+00:00

Hello,

I am exploring the possibility of using Azure Sphere to collect CAN Bus data from vehicles. However, I am not an expert in CAN data or its integration, so I would appreciate any guidance on the following:

  1. Can Azure Sphere devices natively read CAN Bus data when installed in a vehicle?
  2. If not, what additional hardware or software configurations are required after purchasing and installing Azure Sphere in a vehicle to enable CAN Bus data collection?

Any recommendations, documentation, or references would be greatly appreciated.

Thank you for your help!

Best regards,

Azure Sphere
Azure Sphere
An Azure internet of things security solution including hardware, operating system, and cloud components.
171 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sander van de Velde | MVP 34,201 Reputation points MVP
    2025-01-08T17:08:19.43+00:00

    Hello @Heejun Noh (Consultant) ,

    welcome to this moderated Azure community forum.

    I have no recent experience with the Azure Sphere but I remember it supports an SPI bus.

    I mention this because I expect the Azure Sphere cannot be connected to canbus directly but by using a bus like this, you can make use of generic can bus module like this MCP2515:User's image

    These are cheap and also take away the risk of interfering with the can bus messaging flow (it's not recommended to write message to a vehicle).

    Als take into account there are different types of pin sets so pick the right pin set for your solution.

    I'm not sure if there are any libraries available but you need to invest to time to learn about the Can bus protocol regarding the message identifiers and related message format.


    If the response helped, do "Accept Answer". If it doesn't work, please let us know the progress. All community members with similar issues will benefit by doing so. Your contribution is highly appreciated.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.