N00b Project Feasibility: Automotive Application

I'm new to the DIY electronics platform and I'm trying to determine which would be the best fit for my automotive application: the Arduino or the Pi.

I want to control an onboard automotive air compressor to turn on below a set pressure and shut-off past that pressure. I would also like to add the ability to open a pressure relief valve if the pressure is above a certain set point, but this is not a must-have feature, especially if there is no controllable pressure valve available or it's cost-prohibitive.

I would also like to have a fail-safe feature where it would shut-off the air compressor if the continuous run-time exceeds a specified time limit.

I want to be able to change these settings via Bluetooth from my cell phone.

The device will only be powered when the vehicle is powered up (i.e. accessory, standby, or ignition on); I need to prevent inadvertent battery drain when vehicle is not running for extended periods of time.

Is this doable with the Arduino?

What does the compressor do ?

I think this project is feasible with Arduino. As it doesn't require much processing power

srnet:
What does the compressor do ?

The compressor will primarily be used in a 4-tire simultaneous deflation/inflation for offroad/onroad driving.

It's an ARB dual-compressor model CKMTA12, 12V drawing 50A under load, 28A no load.

Although there are "manual" systems available, such as from UpDownAir, which utilize a manually adjusted pressure diaphram valve in conjunction with an analog air gauge, when airing up other vehicles in the convoy, I have to adjust the valve for each specific vehicle.

Hence I would like a more automated approach where I could easily set the desired pressure on my smart phone and activate the air system.

I would never use software to control a pressure-relief valve. That needs to be a passive part with no controls to go wrong.

m_k_akash:
I think this project is feasible with Arduino. As it doesn't require much processing power

What about the smartphone control aspect? Is there an iOS app or development platform to build an app that can control the Arduino via Bluetooth?

SteveMann:
I would never use software to control a pressure-relief valve. That needs to be a passive part with no controls to go wrong.

I should provide more details of the system to be designed: the system normally would not be connected to any of the tires and would be powered down during normal vehicle operation. The only time the system will be active in any way is when I'm preparing to deflate or inflate and have physically attached all four tire-whips from the air system to the each tire. Only at that point will the system be accessible to the pressure relief valve, which would be plumbed with a manual shutoff handle upstream in case of failure. In the event of such failure, and with the defective controlled pressure relief closed off, I could inflate the tires if needed in case they were deflated below safe operating pressures due to the failed pressure relief valve.

EDIT: I forgot to add that via remote control, there will be two operating modes, either inflate operation or deflate operation; the relief valve would could only be active if in deflate mode.

marinetanker:
What about the smartphone control aspect? Is there an iOS app or development platform to build an app that can control the Arduino via Bluetooth?

I think yes its possible like we do in mit app inventor 2 for android, we can do it in ios there app making platform for ios where coding is not needed check this link also check this link

m_k_akash:
I think yes its possible like we do in mit app inventor 2 for android, we can do it in ios there app making platform for ios where coding is not needed check this link also check this link

Fantastic! I know that at the basic hardware level, this project is certainly within the Arduino realm of applicability; just didn't know about the "remote" control aspect of it.

On a tangent question (not sure if I should ask in a separate thread), but could one Arduino board serve to handle a completely unrelated task? I want to control LED lighting that is triggered by a detection of current in one of two circuits: if current is detected on one wire, turn on the lighting and keep it lit; if current is detected in the other wire, turn off lighting and keep it off. Of course, I'd wish to measure the current (which operates DC motors) to be above a certain amperage to ensure we are detecting true operation.

marinetanker:
Fantastic! I know that at the basic hardware level, this project is certainly within the Arduino realm of applicability; just didn't know about the "remote" control aspect of it.

On a tangent question (not sure if I should ask in a separate thread), but could one Arduino board serve to handle a completely unrelated task? I want to control LED lighting that is triggered by a detection of current in one of two circuits: if current is detected on one wire, turn on the lighting and keep it lit; if current is detected in the other wire, turn off lighting and keep it off. Of course, I'd wish to measure the current (which operates DC motors) to be above a certain amperage to ensure we are detecting true operation.

ofcourse you could do it. Simply you could connect part of each circuit to each io pin of the MCU and detect the presence of current or the ammeter part refer this tutorial

Surely you would just wire the compressor in series with the pressure switch ( possibly with a relay ). Adding the Arduino just increases chances of failure and seems pointless ( unless there is more you haven’t said...) . You must have a separate pressure relief valve ( as in must)

hammy:
Arduino just increases chances of failure and seems pointless ( unless there is more you haven’t said...)

"Pointless" is really subjective, which I really object to such a general characterization; why do we do any of the automation that an Arduino and Pi could provide? The answers are infiniteless, and purely up to the individual's needs and wants.

This is not some critical-care application where redundancy, reliability, and dependency are absolutes. But you've already made an opionated judgement through the lens of your own bias's without taking any exception to what the users' end-state goals may be, which really isn't germaine to the subject at all.

Oh dear, oh dear!

Does your compressor have an "unloader"? Otherwise starting under pressure might make the motor draw up to, perhaps 300 amps to start under pressure. A 12 volt starter solenoid switch will likely work and that will not take very many amps to turn on.

Paul

Paul__B:
Oh dear, oh dear!

Now THAT was definitely pointless... except to pad your post count perhaps...

Paul_KD7HB:
Does your compressor have an "unloader"? Otherwise starting under pressure might make the motor draw up to, perhaps 300 amps to start under pressure. A 12 volt starter solenoid switch will likely work and that will not take very many amps to turn on.

I don't think it would draw 300A upon startup as the compressor is in high use in the automotive aftermarket and most installs did not utilize an external relay.

As already said, MIT App Inventor is a common platform for developing Android apps. It would communcate with your Arduino via Bluetooth. All of this would be the simplest component of your project.

John.

The trip for controlling the pressure in the vessel combined with the pressure relief provides two levels of safety for the operation of the compressor - adding and Arduino, does not add to the functionality, makes this a less safe system and so is not a good idea , and has no point to it !
There are regulations for pressure vessels , for good reason - In my view , this is using an Arduino in a safety critical application , if it injured someone there maybe liability associated .

You could use Arduino to turn the system on or off and measure the pressure if you wanted , but I would not override safety features .
Love the Trek pic

hammy:
The trip for controlling the pressure in the vessel combined with the pressure relief provides two levels of safety for the operation of the compressor - adding and Arduino, does not add to the functionality, makes this a less safe system and so is not a good idea , and has no point to it !

It's apparent that further details should be presented as you're still adamant that such a system has no validity to it.

There will be two levels of safety shutoff mechanisms: a mechical diaphgram valve that would vent after a preset pressure was reached, as well as an electrical pressure switch that would cut power to the air compressor.

The former, which incorporates a built-in pressure gauge, can only be set to the correct pressure on a closed system either at or above that pressure to begin with as it's essentially a pressure relief valve. This is not very useful when inflating 4-tires simultenously (they are below their desired pressures) on a different vehicle to a different pressure than the host vehicle (we presently inflate up to 5 different vehicles from one onboard system).

The latter is difficult to adjust as it requires a tool and measurements must be taken after each adjustment to determine what pressure the adjustment was made to; this is strictly a safety switch.

The mechanical valve is part of an existing commercially available automotive inflation system and is the primary means to set a desired inflation pressure, but with the limitations mentioned above. Presently, this system has no direct means to power-off the air compressor itself.

Hence, for inflating a different vehicles' tires to a different pressure, you must constantly monitor the gauge and adjust the mechanical valve.

The time to inflate a vehicles' tires can take up to 20 minutes or longer, depending upon starting pressure point and size of tires. Thus the effort to monitor the inflation process can be long and tedious.

My proposition would be to introduce the Arduino to allow interactive, real-time adjustable control of the desired pressure to automatically turn off power to the air compressor. The two other shut-off features will provide a level of safety by being set at a pressure level within the maximum pressure ratings of the lower of the potential tires to be inflated.

hammy:
There are regulations for pressure vessels , for good reason - In my view , this is using an Arduino in a safety critical application , if it injured someone there maybe liability associated .

I'm not sure if you are using the term "pressure vessels" in the general context to include automotive tires, or whether you are misunderstanding the application and believe I'm implementing this on a system utilizing a metal storage container (i.e. air tank). No sir, there is no air tank or other such "pressure vessel" other than what may be self-contained within the air compressor itself (which for the model I will be using, is just an air pump with no physical tank).

In regards to "liability," I will be augmenting a commercially available system, which the Arduino will be working with pressures below the manual relief valve setting, which would be below the max air pressure ratings of the tires being inflated. On top of which, I will be adding the electrical shut-off switch.

hammy:
You could use Arduino to turn the system on or off and measure the pressure if you wanted , but I would not override safety features

Never have I proffered to override safety features.

@hammy: I think I finally realize the crux of our "disagreement:" It appears that when I refer to "air compressor," you are under the impression that it's a traditional device with an air pump attached and pressurizing an air tank.

The "air compressor" that I'm referring to is a compact, portable, 12V air pump (only) designed and weatherproofed for automotive applications, including permanent mounting into a vehicle.

I've provided a link to the air compressor manufacturer for reference, model number CKMTA12 specifically: