What do I need?

12v dc input 5v dc output to sensor 0-5v dc signal from sensor triggering 2 time delay relays. (I have the sensors)
0-5v dc triggering need to be fully adjustable as well as relay time delays. What product can do this? Thanks in advance!

We need more information.


Always show us a good schematic of your proposed circuit.

Show us a good image of your ‘actual’ wiring.

Give links to components.

Tell me if I got this right.

You have a sensor which takes 12V supply and outputs a signal between 0 and 5V.

You want the Arduino to read the signal and, if the voltage is above a level that you configure, the Arduino should actuate 2 relays for a time that you have also configured.

Any arduino can do this, even attiny25 can do this.

That can be done with a few cmos gates and a few MOSFETs. You could do it with one of thousands of microprocessors if you want. _Post a product specification of what you want to do and please define the terms you use such as fully adjustable. There are a few other items such as repeatable etc.

Please post a link to the sensor.

Ok I realize now I need more clarification of what I want. I need a control device to manage ride height on an automobile air suspension. Being that this is an automobile the supplied input power will be 12v dc. The ride height sensors are a lever potentiometer that work on 5v dc input then will supply the controller with a 0-5v signal based on position of the potentiometer. The controller will decide based on sensor input voltage which relay to activate a solenoid to either raise the vehicle or lower it depending on load applied to vehicle (position of sensor). I will need to be able to adjust parameters to what voltage the relays will activate. Also I will need to adjust time delays on the relays. I hope this is better and I appreciate everyone’s help.

Hello 1969rsldai

Welcome to the worldbest forum.

We need some additional information.
Post your sketch, well formated, with well-tempered comments and in so called
code tags "< code >" and a detailed circuit diagram to see how we can help.

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

This sounds to me like something which is a potentially safety critical control of an automobile system, and so and arduino should not be used.

So this is consistent with @PaulRB explanation in post #3. Please specify where you want to apply this - on a real car that drives on public roads and on something like a DIY track?
Please note that the license for arduino products prohibits their use in automotive electronics and in life-critical applications.

Sorry guys I would love to post a detailed official schematic drawing of this exact device but I do not have the electronic knowledge of how to do so. Seems like if I did I would know already exactly what I need. This is nothing new. This system is original equipment on many vehicles on the road today and on most all heavy trucks. My goal was to avoid hundreds if not a couple of thousands of dollars for an aftermarket add on system that uses a same control. Sounds like Arduino is not worthy of a common application. Sorry for waisting your time and mine.

Hello 1969rsldai

You might start to provide a block diagram showing all components and interfaces simply.

Thank you Paul

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.