Lobo57
Posts: 1
Joined: Thu Apr 12, 2018 9:48 pm

Car ECU

Thu Apr 12, 2018 9:55 pm

Hi, I am new to all this so unsure if this is the right place to post this?

Does anyone know if this can be used as an ECU for a car?

User avatar
DougieLawson
Posts: 39296
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Car ECU

Fri Apr 13, 2018 11:36 am

Not for any car that you'd want to run on a public road, you'd never get type approval.

The other problem is that a Raspberry Pi running Linux isn't a real-time system. The engine control unit (ECU) in a car is a dedicated, mission critical, high-speed, real-time microcontroller that reacts to a mass of engine sensors.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

User avatar
thagrol
Posts: 3178
Joined: Fri Jan 13, 2012 4:41 pm
Location: Darkest Somerset, UK
Contact: Website

Re: Car ECU

Fri Apr 13, 2018 11:36 am

If by "this" you mean a raspberry pi, the answer is probably not.

Linux will almost certainly prevent your ECU software running in real time. Add to that the complexity of the software invloved (monitoring lots of sensors , updating lots of setting, detecting problems, fault logging, etc) and you're into a lot of work.

Add to that the need for compliance with legal requirements (safety, emission controls, etc) and, well, I wouldn't even try it.

Then there's the impact on vehicle warranty and insurance...

Depending on what you want to do, you might be able to make use of data available via the OBDII port but replacing the onboard ECU is probably a non-starter.
Arguing with strangers on the internet since 1993.

User avatar
mahjongg
Forum Moderator
Forum Moderator
Posts: 13142
Joined: Sun Mar 11, 2012 12:19 am
Location: South Holland, The Netherlands

Re: Car ECU

Fri Apr 13, 2018 12:22 pm

A Pi isn't suitable for automotive electronics.

Return to “Beginners”