Spare port
Spare port
Would it be possible to get "Current Gear" as index for the SP1/2 in PWM mode with a simple table like first gear = 10%, 2nd gear 40% etc....
Purpose is a analouge gear indicator....dont really need the Voltage meter in the car.
BR//Tobmag
-
- Posts: 1696
- Joined: Fri Apr 04, 2008 1:28 pm
Re: Spare port
This is already in the 5.00x series of codes. See http://www.msgpio.com/manuals/mshift/spareport.html This is beta code right now, but will soon become the release code. You can get it here: http://www.msgpio.com/manuals/mshift/V5code.html
This is unlikely to be back-ported to the 4.1xx code. We aren't making any unnecessary additions to the 4.1xx series of codes anymore, only bug fixes (and correcting obvious omissions).
Lance.
Re: Spare port
Nice, I will load that code and test.
BR//Tobmag
Re: Spare port
Loaded the 5008 code and cgear is avalible as index for SP1 as you said, however I cant get it to work in PWM mode.
Actually I have no idea how to work the tables, I expected to see the gears in the index line of the table instead of 0-255
Also Pressure control sits on 100% with CAN disabled, cant find anything to get it to work, did try the MAP-TPS slider but no difference.
Attached my msq
BR//Tobmag
- Attachments
-
- 2013-11-23_11.25.03.msq
- (49.49 KiB) Downloaded 941 times
Re: Spare port
Also would it be possible to have a fixed duty cycle and setting the frequens instead, so not really a PMW mode more like a Speedo out....
So CGear as Index and Hz out with a fixed dutycycle
BR//Tobmag
-
- Posts: 1696
- Joined: Fri Apr 04, 2008 1:28 pm
Re: Spare port
That's possible, but not easy. One of the many problems in implementing this is that I suspect one would want a large frequency range, but the PWM frequency range is relatively small by default, and making it larger requires much more set-up. There are also two different kinds of timing involved depending on the particular pin - native timer channels, and bit-banged PWM. However, I will keep this in mind for adding to future codes.
I will have a look at the gear index mode when I get a chance.
Lance.
Re: Spare port
Thats fine, this is no high priority at all just for fun.
Ive been testing some different meters to use as an analog gear indicator.
Problem with voltage, amp fuel etc meeters is that they usually ahve a very small sweep area.
I f I could use a tacho instead I can easliy find them with 240-300 degrees sweep, problem with them is that the PWM signal wont be any good.
Currently looking on some simple V/F converters to cure this.
BR//Tobmag
Re: Spare port
Ive been testing the latest V5 code and the whole thing is just lagging, speedo, trans temp load its like using an old 286 computer LOL.
Reloaded the 4135 code and everything is as smooth as before...
Any thoughts or other complaint about this?
-
- Posts: 1696
- Joined: Fri Apr 04, 2008 1:28 pm
Re: Spare port
I will have a look when I get a chance (I have been very busy here on other projects, and hopefully these will be out of the way shortly).
Lance.
Re: Spare port

BR//Tobmag