Page 2 of 2
Re: Adding a generic PWM output for increased trans support
Posted: Tue Feb 21, 2012 1:48 pm
by Bernard Fife
Just a quick update; I finally have a bit of time to work on this, and hope to get it in place soon. The new code will be a beta code, and will have the PWM clutch function discussed above as well as the voltage based shift button function (and numerous other internal improvements).
When it is ready (likely a week or so), the code will be released as 2.120 here:
http://www.msgpio.com/manuals/mshift/V4code.html (the code is number 2.120, but is actually a transitional code towards the 4.xxx series of codes. But not all the added 4.xxx functions will be fully implemented (like SPI), which is why the new code will stay as a 2.xxx code version).
Lance.
Re: Adding a generic PWM output for increased trans support
Posted: Tue Mar 06, 2012 3:28 pm
by Bernard Fife
For those that are curious, I am just about finished the code for the PWM on the spare ports. This has taken longer than expected because I have re-written a lot of the spare port logic to make them easier to use and more flexible (all modes now have PWM, with user settable index, etc.).
I hope to start testing the code soon. In the meantime, users wanting to see what is coming in the new code can check this page for how the updates will work:
http://www.msgpio.com/manuals/mshift/spareport.html
Lance.
Re: Adding a generic PWM output for increased trans support
Posted: Wed Mar 14, 2012 12:44 pm
by Bernard Fife
The PWM'd spare port code (v2.120) has been released:
viewtopic.php?f=4&t=240&p=2310#p2310
This allows PWM on both spare ports in a number of different modes (User spare port, PWM, TCC, shift solenoid, or selective clutch). The PWM has a 12x1 table, user selectable index (load, speed, rpm, temperature) and a separate OFF value (which can be anything from 0% to 100%).
The PWM frequency can be from 30.6 to 1953 Hetrz. Lower frequencies gives better granularity on the PWM. The default PWM frequency is 100 Hertz.
The user can turn these into ON/OFF outputs by specifying all 100% in the PWM table and 0% for the OFF value (or vice-versa).
There is much more info here:
http://www.msgpio.com/manuals/mshift/spareport.html
Lance.
Re: Adding a generic PWM output for increased trans support
Posted: Wed Mar 28, 2012 10:15 am
by Jim Blackwood
That sounds very useful Lance. For the AA80E we'll need all the PWM we can get. I'm not ready to start studying yet but the time is not too far off. Taking a short rest to recharge my creativeity batteries and start the big push on the mechanicals, then I hope I can sustain it until I get to the new wiring.
Jim