Page 1 of 1

Additions to Firmware

Posted: Wed Sep 05, 2007 8:21 pm
by Flatline_Racing
I Just received my MicroSquirt today and stated thinking some more about how everything is going to get hooked to my bike when I had a couple ideas.

First, a Launch RPM setting using the Spare ADC as an input for a normally open clutch switch. You could run 12V through switch and put a voltage divider on the input or could run 5V from MAP or TPS direct to input.

Second, using the fidle output to trigger a shift light at a predetermined RPM

I thing both of these features would be useful on some motorcycles (especially drag racers), so can anyone see why I should not dive into the code and do some minor rewrites? Could these possible be included in future releases of B&G code?

Posted: Thu Sep 06, 2007 9:31 am
by grippo
I think you can do what you want with the existing spare port logic without changing any software. Eventually all of these sorts of things will be doable on the GPIO board.

Posted: Thu Sep 06, 2007 5:07 pm
by Flatline_Racing
I looked at it and figured out the shiftlight using the spare ports configuration, but I couldn't see how to do the clutch switch input for selecting a lower launch RPM Limit. eg. when i pull the clutch in i want the rpm limiter to be set at 5000RPM but when the clutch is not in I want the rpm limmiter to be set at 9500RPM.

thanks.

Posted: Fri Sep 07, 2007 5:07 am
by grippo
That requires a clutch in/out signal and a new user input for a second rpm limit., so a code change is needed for this, but it's pretty simple. Just create a new variable that will be set to one of the two input rpm limits in accordance with the spare adc readback. You can check for this on every pass through the main loop.