Page 1 of 1
Backup / Reverse light output from Mshift?
Posted: Wed Jul 01, 2015 8:52 am
by Philip Lochner
Is it possible to configure a spare port on Mshift to switch the backup/reverse lights on (via a relay)? I want to the output to go low (or high) only when the transmission is in Reverse. My car does not have a mechanical switch for this purpose and I don't fancy fabricating one...
Re: Backup / Reverse light output from Mshift?
Posted: Wed Jul 01, 2015 9:20 am
by Bernard Fife
Phil,
You *should* be able use the 'current gear' mode for the spare ports. You would set the conditions all to "no condition", except for the "gear threshold", which you would set to "equal" -1.
However, I just tried this on my bench and it doesn't work. There are a few issues. First, the INI won't accept negative values for the gear, so that will need an adjustment. But even when non-negative gears are selected the PWM% doesn't appear to respond properly, so that needs fixing too.
I'll look in the code and post back here when I have a tentative solution.
Lance.
Re: Backup / Reverse light output from Mshift?
Posted: Wed Jul 01, 2015 9:26 am
by Bernard Fife
Phil,
Actually, thinking about this just a bit more, I realize the easiest way to do this is to make one of the unused spare ports a "shift solenoid". Then have that output "off" in all gears except reverse where it should be "ON". Set the PWM% table for the spare port so that it is filled with all 100% (this will be the "ON" PWM percentage, and it will vary otherwise).
Lance.
Re: Backup / Reverse light output from Mshift?
Posted: Wed Jul 01, 2015 9:46 am
by Philip Lochner
Lance wrote:Phil,
Actually, thinking about this just a bit more, I realize the easiest way to do this is to make one of the unused spare ports a "shift solenoid". Then have that output "off" in all gears except reverse where it should be "ON". Set the PWM% table for the spare port so that it is filled with all 100% (this will be the "ON" PWM percentage, and it will vary otherwise).
Lance.
Excellent!! I've just come to the realisation today that I've been burnt (quite literally) by a local product. My gut feel was to go with GPIO based on all my MS experience but the price is now 3 times more than the local product, compliments of our currency which is now going "Zimbabwe" on us.
Re: Backup / Reverse light output from Mshift?
Posted: Tue Jul 28, 2015 2:38 am
by Philip Lochner
I decided that I was not going to implement the 4 LEDS and used one of them to control the reverse light relay.