Vaspi wrote:I also think it's possible only intrested in air fuel mix as this would only ever see 150cc project, just want a clean burn. But in the same breath if the pi isn't up to the job can you point me in the right direction.
You've now changed what you aim to do to something far more modest and, I think, possible. Early attempts to bring in computers to automotive engines included basically replacing the carb with a computer controlled device that injected the fuel in a similar location, I think that's throttle body fuel injection. Doing that and doing what you originally suggested, which was to emulate a modern ECU, they inject measured fuel into each cylinder at exactly the correct time, they advance and retard the spark of each plug (or set of plugs in a waste spark system) exactly at the right time, etc., this sort of thing is hard real time and is what the pi is ill-suited for.
Some sort of FPGA, which often include ARM processors on their boards or even within the FPGA itself, is often what is used. A middle ground might be something like a Beaglebone Black/Green that include two PRU processors that can be dedicated to real time activities. But starting out by simply converting from carb to throttle body fuel injection would, I think, be within what could be done with a pi without needing to add an FPGA to it, although I am speculating here.
And I'll add the following because safety can't be repeated often enough: Keep in mind that fuel injection means gasoline is pressurised and squirted around, hopefully in the correct places and in the correct amounts. If you've ever had occasion to be around a burning gasoline vehicle, you'll agree that you cannot allow any chance of gasoline catching fire, which means no leaks are allowed, which means no chance that anything pressurised can pop free and get flammable liquids or fumes on hot surfaces.