Col O/S wrote: ↑
Sun Dec 29, 2019 2:43 am
The logic for the TCC is basically - Footbrake not on + in 4th gear + (RPM > Setpoint A) + (MAP > Setpoint B).
Agreed, the most elegant solution may be GPIO, if the additional if-statements cannot be added to code. Without going that route, you could combine external and internal functions into a workable solution today.
One example could be to use the Speeduino VVT function in MAPxRPM and "switch" mode, allowing any combination of MAP and RPM values for basic switching in the desired range. Coupling that with a solenoid power circuit using a common P_MOSFET and a couple small resistors, activated by the 4th-gear switch grounding the gate, and deactivated when pulled high by the brake light circuit would complete the package.
Function would be Speeduino providing simple TCC solenoid ground when it is in the tuned MAPxRPM range, but the TCC power would not be active unless both the [brakes lights OFF] + [4th-gear switch CLOSED].
The components could be on the Speeduino proto area, or most anywhere else. A similar system using two micro relays rather than the FET is another option. If delayed engagement were desired (most are simultaneous), a simple delay could be added to the MOSFET, or chained to it. Disabling TCC if desired at high loads/rpm would simply be tuned into the VVT table. As I said, the GPIO or code mods would perhaps be more elegant, but there are some rather simple solutions if that helps the creative ideas flow or provide other acceptable or immediate solutions. Hope that helps.