I'm a complete novice with Arduino. I have a uno R3 and im building a Sim rig for my son. The speedo in the car has a 5v supply and is controlled by the ecu and uses a negative trigger. Can this be done using a Arduino ? I can't seem to find anything that helps?
If the "ecu" acts as an ordinary switch, that is with no voltage present on the line, you can treat it as a simple push button switch.
Use the Arduino pinMode function to set INPUT_PULLUP, which puts 5V on the pin through a resistor, and when the pin is grounded, digitalRead() will report LOW.
I assume that ECU means "Electronic Control Unit". Correct?
If yes, does it have a brand and type and do you have access to a manual or interface description? How is the speedometer connected to it? Can you provide a drawing?
Yes ECU means engine control unit. I dont actually have the ecu.
I only have the dash harness and fuse box which i have powered up with a 12v power supply. This has given me all the 5v supply's i needed for the dash unit.
So the dash/speedo unit has a 5v supply that is sent from the speedo to the ecu which triggers/switches the circuit on and off the control the speedo gauge.
What i need the Arduino to do is act like the ecu. I'm using sim hub (which i probably should have stated in the 1st place) to control the Arduino but what i can see i can't use the Arduino to control the earth?
Could You provide technical docimentation telling how those devices work?
The replies given shows lack of information from You.
The dialogue would take for ever going on this way, and it's not necessary.
I assume you mean "to pull a signal pin to GND", do you?
That's possible of course. The electrical situation with your different devices is just unknown. Once this is clear an appropriate solution can be posted, e.g. whether the Arduino can be used hardwired or if e.g. optocouplers are required.