Additions to Firmware

This forum is for discussion of MicroSquirt (TM) from Bowling and Grippo. The MicroSquirt information site is at www.usEasyDocs.com
Forum rules
Read the manual to see if your question is answered there before posting. If you have questions about MS1/Extra or MS2/Extra or other non-B&G code configuration or tuning, please post them at http://www.msextra.com The full forum rules are here: Forum Rules, be sure to read them all regularly.
Post Reply
Flatline_Racing
MegaSquirt Newbie
Posts: 8
Joined: Tue May 04, 2004 9:16 pm

Additions to Firmware

Post 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?
Feel the Pulse!

Flatline Racing
grippo
MegaSquirt Guru
Posts: 921
Joined: Mon Feb 16, 2004 6:55 pm

Post 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.
Flatline_Racing
MegaSquirt Newbie
Posts: 8
Joined: Tue May 04, 2004 9:16 pm

Post 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.
Feel the Pulse!

Flatline Racing
grippo
MegaSquirt Guru
Posts: 921
Joined: Mon Feb 16, 2004 6:55 pm

Post 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.
Post Reply