Simulate my steering wheel buttons

crutschow

Joined Mar 14, 2008
38,526
You seem to be leaning towards a 555 timer configuration circuit.
Is that because you have a concern about the timing accuracy of the simple circuit I posted?
 
Last edited:

crutschow

Joined Mar 14, 2008
38,526
Speaking of that circuit shouldn't the drains of M1 and M3 be open, not pulled up to 12 volts through R1 and R2
Yes.
R1 and R2 are for simulation purposes to represent the resistors in the resistor network in the vehicle, as I mentioned in my post.
Perhaps that was not clear.
 

MisterBill2

Joined Jan 23, 2018
27,571
The scheme can use some 5 second pulse generator and that will step a CD4017 counter that will operate sections of a CD4066 quad analog switch to supply the correct resistances. and then one of the last counts will diable the 4017 counting until the power is switched off, at which point it will restart. And the pulses can be from a 555 or from a CD4013 configured as a dual flop-shot with a 5 or six second on time..
 

Thread Starter

gregeeh

Joined Oct 19, 2021
32
You seem to be leaning towards a 555 timer configuration circuit.
No not really, just looking at what will be the easiest to assemble on veroboard.

Also I think we have our wires crossed about where the resistors R1 and R2 are in the circuit. I'll try to explain.

Take a simple 2 resistor voltage divider, one fixed at the top and either R1 or R2 connected below it. The centre point of the divider (the output) has a wire connected to it and goes down the steering column to the computer so it can monitor the voltage. To simulate the the pressing of the steering wheel buttons I have to connect either R1 or R2 to this wire and ground. Hope it makes sense.

Also I'm wondering what would happen to the timer accuracy if the power is removed from the circuit and applied before the caps discharge. Llike turning the car OFF and starting it back up.
 

crutschow

Joined Mar 14, 2008
38,526
I think we have our wires crossed about where the resistors R1 and R2 are in the circuit.
No, I understand.
R1 and R2 in my circuit are the R1 and R2 resistors you mentioned in your first post (see revised circuit below).
I'm wondering what would happen to the timer accuracy if the power is removed from the circuit and applied before the caps discharge
Added diodes to ground (D1, D2, D3) provide a near instant reset (below):

Note that the 555 circuit also has this reset problem.

1721961600535.png
 

Thread Starter

gregeeh

Joined Oct 19, 2021
32
No, I understand.
R1 and R2 in my circuit are the R1 and R2 resistors you mentioned in your first post (see revised circuit below).
Added diodes to ground (D1, D2, D3) provide a near instant reset (below):

Note that the 555 circuit also has this reset problem.

View attachment 327880
Thanks very much looks great. I think I would be happier to switch R1 & R2 to ground via a relay, just to keep it completely isolated. Don't want anything to go wrong and chance doing something wrong to the car's computer.
 

ericgibbs

Joined Jan 29, 2010
21,448
@gregeeh
Hi greg,
I will repeat my question.

Have you contacted the manufacturers of the vehicle to ask why these buttons are configured as to require the driver to operate them before driving?
Are they safety interlocks of some kind?
E
 

crutschow

Joined Mar 14, 2008
38,526
I would be happier to switch R1 & R2 to ground via a relay, just to keep it completely isolated.
Isolated from what?
The MOSFET connects to the resistor and vehicle ground, and the MOSFET gate is isolated from its source and drain (no current can flow through the gate), so there's nothing to isolate.
 

sghioto

Joined Dec 31, 2017
8,634
The MOSFET connects to the resistor and vehicle ground
I think the only problem using the mosfets is when they begin to turn OFF. The voltage at the divider will start to increase and may or may not cause an issue.
The 555 or relay provides a definitive ON-OFF state.
 

crutschow

Joined Mar 14, 2008
38,526
I though I explained that in post #33.
It wasn't clear to me.
Are you referring to the fact that the MOSFET doesn't instantly change from ON to OFF but takes about 300ms?
I suppose that could be a problem if the system responds rapidly enough to see the intermittent voltage as a different button press.

If so, then the MOSFETs could drive a relay.
 
Last edited:

MisterBill2

Joined Jan 23, 2018
27,571
No not really, just looking at what will be the easiest to assemble on veroboard.

Also I think we have our wires crossed about where the resistors R1 and R2 are in the circuit. I'll try to explain.

Take a simple 2 resistor voltage divider, one fixed at the top and either R1 or R2 connected below it. The centre point of the divider (the output) has a wire connected to it and goes down the steering column to the computer so it can monitor the voltage. To simulate the the pressing of the steering wheel buttons I have to connect either R1 or R2 to this wire and ground. Hope it makes sense.

Also I'm wondering what would happen to the timer accuracy if the power is removed from the circuit and applied before the caps discharge. Llike turning the car OFF and starting it back up.
If the system used a CD4017 to produce the sequence, it would restart from the beginning.
 
Top