Digital servo outputs

A forum for discussing applications and implementations of the MegaShift transmission controller code for the GPIO from B&G. This can control up to 8-speeds and 6 shift solenoids (plus a 16x9 table for controlling a PWM line pressure valve). It has manual and fully automatic modes (16x9 load x speed table), with under and over rev-limit protection, and full data logging of all inputs and outputs (among many other abilities). A TransStim to test your completed board is also available.
Post Reply
MrNickB
Posts: 2
Joined: Fri Jun 21, 2013 2:04 am

Digital servo outputs

Post by MrNickB »

Hi,

I've got a ZF 5HP24 sitting in my garage, and am pleased to find the Megashift available - I was considering making something similar myself, but am always keen to use others good work! The gearbox is on a 4.4L BMW engine, and this will eventually end up in a single seater track style car.

I want to use the boxin a fully manual paddle-shift mode, so R-N-1-2-3-4-5. The gear selector lever is mechanical, so I intended to use a large model servo (PWM, 350Hz, 1-2ms) to move this lever.

Is there existing Megashift code that would help with this, or would I need to code the shift and control of the servo? I'd like to make it a module that would be compatible with future Megashift code.

Thanks in advance!

Nick
Bernard Fife
Posts: 1696
Joined: Fri Apr 04, 2008 1:28 pm

Re: Digital servo outputs

Post by Bernard Fife »

Nick,

For MShift, the lever is used as an input. It set the highest gear that is allowed (in a forward gear) or PNR. So the code doesn't control the shift lever, the shift lever controls the code.

However, there is a full manual mode in MShift, in forward gears it directs the solenoids to the chosen gear regardless of the shift lever position (in all forward gears up to and including the current gear lever position). So if the shift lever is in 4th, you can then manually select 1st, 2nd, 3rd, or 4th (assuming the trans is truly electronically controlled by two or more shift solenoids).

If you are saying that the trans is not controlled by solenoids, only by the shift lever, than this is more difficult. If the lever can be controlled and placed in each gear uniquely by some combination of the up to 9 shift solenoids outputs (or spare outputs), then it might be possible, but would require a lot of thinking to implement.

Lance.
"Never wrestle with pigs. You both get dirty and the pig likes it." - George Bernard Shaw
Post Reply