Reliability of Arduino for powering car's entire electrical

Hey, I'm new here. I'm new to Arduino and electrical engineering and don't know if using Arduino in this project is recommended or not.

So I'm building a racecar and was wondering if I could use Arduino as a very simple power distribution module (PDM). Here's how the system would work:

The aim is to have a relay box with fuses and relays. The power would then run to my Arduino-powered PDM and then out to the components. The PDM's job is to be an electronic switch to control the components (fuel pump, lights, etc), while the relay box's job is to offer power protection to the components.

Then I would design and implement an Arduino-powered button switch panel (similar to a Blinkmarine keypad).

The keypad and PDM would communicate over CAN bus.

The PDM's firmware would be designed to work like MicroPDM. Essentially, there would be x number of output. Each output can have one or more buttons mapped to it. When a button is pressed on the keypad, a message is sent to the PDM via CAN. The PDM would then switch the specified output ON/OFF therefore sending power to component or disconnecting power. I would develop the firmware on FreeRTOS. Hardware-wise, the PDM would use optocoupler or transistors to switch power to the components.

The PDM will be powering and controlling every component that a fuse/relay box normally would.

The question is...

Would using Arduino for powering a car be safe?

(I'm in the process of rewiring the car. And it's important to know which direction to go)

Thanks for your help in advance guys!

1 Like

This project needs to be presented in a much more serious way to be taken seriously. Just a lot of words, poetry, gives the impression of just loose thoughts, dreams, rathe than a real build.

The environment like dust, humidity, condensation, water calls for experience. What experience do You have?

Also know that Arduinos are not certified for any kind of safety, security matters.

1 Like

Only if you take proper precautions to very thoroughly shield the Arduino circuitry from the harsh electrical environment of an automotive electrical system.

You have to plan for voltage spikes > 125V, polarity reversals, electrical noise, etc. and design protection circuitry into your project, as described in various publications.

One example among many on the web: Transient Voltage Suppression in Automotive Applications

Okay, that is understandable that you need more info.

To be honest, I have no experience in something like this.

Be careful what you declare.
Claiming an awareness of engineering with your questioning suggests a significant form of delusion.

Many of the contributors here have varying levels of enguneering or systems design experience over many years and disciplines, but are very careful t about making that claim out loud when asking a very basic question.

Better to step gently into a question with your ears on, rather than expecting people to bow to your vast ability.

Then you should expect catastrophic failures on the road. This is NOT a beginner project.

It is reasonably safe to replace the auto wiring without using any new electronics, following automotive circuit design rules (proper wire gauge, good connectors, etc.).

Okay thanks for your response. I'm supposing that a project like can wait until I'm a little more learned.

Given the short I dont think this project is as important to be pursued right now.

1 Like

Better to be safe than have a failure on the road!

If you decide to pursue this in the future, avoid amateur tutorials on sites like Youtube and Instructables -- most of that stuff is put up by people who really have no idea what they are doing and is often dangerously unsafe.

Professional (commercial) web sites usually offer good advice, but be sure to get second opinions.

An experienced tram repairing friend restored his old car, rewired the entire car, fully correct. During the first drive the car started smoking and caught fire within 30 feet. How could it happen? Once the car radio had been stolen and cables were free to move. This old story was forgotten and a battery + cable got in contact with chassis. The fuse disappeared when the radio was stolen...

Ask yourself a question.

If you bought a car, for use on the road, transporting a family etc, would you think it reasonable if the electrics had been designed by someone with no experience of electrical engineering but had based the design on advice from a hobby electronic forum ?

3 Likes

Evidently not!

You could add additional wiring in the harness to accommodate CAN once you learn enough to use it. I'd have some redundant power cables too. Pull a loop out of the harness at all the strategic points that you can splice to if needed.

No. A part not involved in the restoration took action...

Which your friend failed to check. As might any professional.
Accidents happen.

Hello eurekasfray

Make a simple start.

Design, code and build a BlinkBox blinking a led using FreeRTOS and run this hardware in your car over a long time and see what happens.

Have a nice day and enjoy coding in C++.

Apologies guys, didn't mean to delude. What i should have said was new to electronics :sweat_smile: I get it, it's like difference between saying "new to cars" vs "new to motorsports". The latter implies that you have some experience of the former. My bad

1 Like

An Arduino can be a reliable as anything else... If you build it correctly... but if you are putting one in a race car it needs to plug-in easily and you need a spare so you can swap it out in the pits.

But do you really need a programmable microcontroller for this? I thought most race cars just have switches (and probably relays) for this kind of thing... And you don't have to worry about software bugs...

You might have special purpose controllers for things like fuel injection but you probably don't want to build, debug, and optimize something like that yourself. I assume there is plenty of "normal" mechanical & electrical work to do.

Yeah thanks for the word of advice. Had the same thoughts in my head, reason why I asked here.

And once again, Arduinos are not certified in areas of safety requirements.

ATmega328P

DISCLAIMER: The information in this document is provided in connection with Atmel products. No license, express or implied, by estoppel or otherwise, to any intellectual property right
is granted by this document or in connection with the sale of Atmel products. EXCEPT AS SET FORTH IN THE ATMEL TERMS AND CONDITIONS OF SALES LOCATED ON THE
ATMEL WEBSITE, ATMEL ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED OR STATUTORY WARRANTY RELATING TO ITS PRODUCTS
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. IN NO EVENT
SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE, SPECIAL OR INCIDENTAL DAMAGES (INCLUDING, WITHOUT LIMITATION, DAMAGES
FOR LOSS AND PROFITS, BUSINESS INTERRUPTION, OR LOSS OF INFORMATION) ARISING OUT OF THE USE OR INABILITY TO USE THIS DOCUMENT, EVEN IF ATMEL HAS
BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Atmel makes no representations or warranties with respect to the accuracy or completeness of the contents of this
document and reserves the right to make changes to specifications and products descriptions at any time without notice. Atmel does not make any commitment to update the information
contained herein. Unless specifically provided otherwise, Atmel products are not suitable for, and shall not be used in, automotive applications. Atmel products are not intended,
authorized, or warranted for use as components in applications intended to support or sustain life.
SAFETY-CRITICAL, MILITARY, AND AUTOMOTIVE APPLICATIONS DISCLAIMER: Atmel products are not designed for and will not be used in connection with any applications where
the failure of such products would reasonably be expected to result in significant personal injury or death (“Safety-Critical Applications”) without an Atmel officers specific written
consent. Safety-Critical Applications include, without limitation, life support devices and systems, equipment or systems for the operation of nuclear facilities and weapons systems.
Atmel products are not designed nor intended for use in military or aerospace applications or environments unless specifically designated by Atmel as military-grade. Atmel products are
not designed nor intended for use in automotive applications unless specifically designated by Atmel as automotive-grade.