Party Car Needs Power Conversions

Hi guys,

I am working on an interior project for the interior of a car. I have some aesthetic ideas that I want to be Arduino-controlled to react to different elements inside the car.

Essentially I need help figuring out the power conversions. Ideally I would be able to connect the project to the car's electrical system directly to keep the outlets free in the cabin. So here are the three main dilemmas.

  1. To convert the electrical power in the car (12V with 370 CCA) in order to safely power my Arduino UNO

  2. To convert the same power in the car (12V with 370 CCA) and use it to power my designs, which has a power consumption of 24V, rated at 700 mA.

  3. To use a MOSFET transistor, whose gate pin is connected to the UNO, in order to toggle the design on/off rather quickly.

The Arduino will take inputs from a sound sensor in the car and use that to power a light display inside. Therefore I will create a sound-reactive light show. Not here for code, just for guidance on how to build the circuit.

The wiring from the fusebox to your system will not be 370 cold cranking amps! You'll have to chose a circuit
with a suitable fuse rating for the wiring you use (automotive fuses stop wires bursting into flames, that it their only function). Wire into that circuit to a DC-DC converter or converters, possibly via a noise/spike filter. Adding extra fuses or polyfuses to protect after the converters is a good idea too. You'll need a boost converter for
24V, buck converter for Arduino 5V.

You'll have to make a decision whether to use the vehicle bodywork as ground return for your stuff or not, you may only need a single grounding point to the bodywork for your circuit's return if your 24V stuff is independent
of the bodywork. (Vehicle's use the bodywork/chassis for nearly all ground returns)

So the first thing you have to do is identify if there's already a suitable circuit (such as the cigar lighter) you
can derive your power from. If not are there spare slots in the fuse holder? You could then add your own
dedicated fused circuit.

  1. To convert the electrical power in the car (12V with 370 CCA) in order to safely power my Arduino UNO

The Arduino has an on-board regulator and it's rated form 6-20V (7-12V recommended). The "12V" in a car is nominally 14.4V and you can get voltage spikes, so some people use an external voltage regulator such as an LM7805 (bypassing the built-in regulator).

But, I've done something similar (sound activated lighting) and I just power the Ardfuino directly from the car power. If you are powering other things through the Arduino's voltage regulator you need to be "more careful" because the heat dissipated by the regulator is a combination of the voltage dropped across it and the current through it. (Power = Voltage x Current).

  1. To convert the same power in the car (12V with 370 CCA) and use it to power my designs, which has a power consumption of 24V, rated at 700 mA.

You'll need a step-up DC-DC converter rated for 700mA or more. Give yourself some safety margin and get one rated for at least 1A. (This will "pull" a little more than twice the current from the 12V side.)

  1. To use a MOSFET transistor, whose gate pin is connected to the UNO, in order to toggle the design on/off rather quickly.

[u]Here is a MOSFET driver circuit[/u]. Note that it switches the "ground side", which is easier with a transistor or MOSFET. That shouldn't be an issue with LEDs/lights but it may not be convenient with other things. (If you are powering lights or another non-inductive load you can leave-out the diode.)

Or, a solid state relay can be used to switch the power-side or ground-side. Just be sure to get one that can be controlled by 5V, and one that's designed to switch DC at the required current. (Most AC solid state relays will latch-on and never turn-off with DC.)

The Arduino will take inputs from a sound sensor

It's usually better if you can tap-into a line-level signal (i.e. the signal from your head unit into a power amp), rather than picking-up ambient sounds. Speaker outputs can work, but you'll need a protection circuit and probably a voltage divider to make the signal safe for the Arduino.

Even with a line-level signal you'll need to bias or protect the input because the Arduino can be damaged by the negative-half of the AC audio signal. (The standard/common Arduino microphone boards have biased outputs that put-out about 2.5VDC with silence.)

and use that to power a light display inside. Therefore I will create a sound-reactive light show.

I'm sure you have a design in mind, but you can do "amazing things" with [u]NeoPixels[/u] (or DotStars) and you don't need a driver circuit. Just a power supply and a signal from the Arduino. DotStars require two signal wires, but the programming/timing is easier. (There are NeoPixel libraries so the hard part of the coding is already done.)

I didn't use either of these in my project but I'm thinking about an "upgrade" at some point.

Best success will be found by cutting all power to your devices while the starter motor is being cranked. Saves your stuff from the voltage spikes and low voltages and in modern cars/batteries, the starter needs all the amps the battery can supply.

Paul