I am working on my project car arduino setup and I came across 2 different statements for grounding.
First please remember I am new to this and i google and develop trough trial and error a lot.
So statement 1 I read was arduino project grounds need ALL to be connected somewhere together.
And statement 2 I read was that cars have a lot of interferances and you should use minimal ammount of common ground and supply voltages as possible. (Somebody went as far as to even use battery powered arduino as car battery voltage will screw signals up ... ?)
So before i continue with my schematics I need to clear up what I can and can not connect to car ground.
I WILL be using car to at least supply my needed 12v to relays and step-down to 5v arduino also.
Project so far:
So far i have button block (5 modes), a height sensor at every wheel (so 4 height sensors), 5 pressure sensors at trunk and 8 channel relay block (12v) also at trunk.
Button block has 2 push-lock switches and one 3-way toggle switch. So one +5v input and 5 output wires (arduino reads if high or low. Ground will be common to chassy, or if needed i will run an 7th wire for ground).
Height sensors have 3 pins: +5v in, ground and signal output (0.5v to 4.6v).
Pressure sensors also have 3 pins: +5v in, ground and signal out (should be allmost same out values).
Relays will have 1 wire per channel (so 8 ) and vcc (+5v)(9 wires total), ground and JD-VCC will be 12v supply from car.
I could provide schematics after I figure out this issue
For example I planned to wire height sensors as follows:
Supply ground from nearest chassy ground point.
Supply +5v from a common 12v to 5v converter to 4 sensors directly (it will supply ALL 9 sensors, buttons and arduino)
And run all 4 signal output wires directly to arduino pins.
Is this a really stupid idea and should I run 2 wires (+5 and ground) from arduino to all 4 sensors and then signal back?
Also I planned to make +12v bus bar (big wire in and to relay supply and solenoids that relays operate) and converted +5v bus bar (9 sensors , 5 buttons and arduino supply).
So, how wrong am I ?
//Edit
Pressure sensors:
150 psi
Input: 0-150 psi
Output: 0.5-4.5V linear voltage output. 0 psi outputs 0.5V, 75 psi outputs 2.5V, 150 psi outputs 4.5V
Accuracy: +/-0.5%FS
Thread: 1/8" NPT
Wiring: Red for +5V; Black for ground; Green for signal output
Overload Capacity: 2-4 times of rated pressure
Working Temperature: -40°~+120°
Compensation Temperature: 0°~+80°
Protection Class: IP67
Pressure Medium: Oil, gas and water which is compatible with 316L stainless steel
Load Resistance: ≤(supply power-6.5V/0.02A)Ω
Long-term Stability: Less than 0.1%FS/year
Temperature Effect on Zero: Typical:0.02%FS/°; Maximum:0.05%FS/°
Temperature Effect on Sensitivity: Typical: 0.02%FS/°; Maximum: 0.05%FS/°
Shock Resistance: 1000g
Anti-Shock: ≤+/-0.01%FS(X,Y,Z axes, 200Hz/g)
Response Time: ≤1ms
Insulation Resistance: >100mΩ 500VDC
Explosion-proof Class: ExiaTTCT6
Electromagnetism Compatibility: EN50051-1
Other components dont have more info than I allready described.
Button board I will make myself, nothing mutch to it,as I said allready: 2 latching buttons and one 3 way slide switch. (Sure it needs resistors later to avoid debouncing etc, I learn as I go...)
Heigh sensors are replacement parts, they have 6 pins, are widly used by audi, bmw and mercedes. Have not yet found a datasheet for them, only instructions from where I know pin 1 is ground, 4 is signal and 5 is +5v in. Thats all I need to know.
Note: Will be used in old car w/o a lot of electronics. (1990 Mercedes E-class)