
Build Your Own Fuel Injection Computer 282
renaissance-redneck writes "I was searching for details on assembling a fuelie setup from junkyard parts when I stumbled across this: 'MegaSquirt is an Experimental Electronic Fuel Injector Controller for Internal Combustion engines. Its main goal was to create a simple fuel-only controller that could be easily reproduced with cost-effective components.' If you've got the time and the skills, it beats spending $2000."
Injection is nice... (Score:5, Funny)
Re:Injection is nice... (Score:2)
What did you expect? Car-savvy slashdot nerds? Hey moderator assholes! How about you try and learn about the subject before you start modding crap offtopic when it is topical and funny (and then the submitter even provides a link to prove it!)
What am I saying? moderators that can click links? NEVER! Trolls will roast their stomachs in hell!
Re:Injection is nice... (Score:2)
Interesting... (Score:5, Interesting)
I don't mean the current crop of "chips" that increase horsepower by overriding emissions control code, or remove the rev limiter code, I mean real, creative hacks.
For example, a friend of mine and I were discussion this possible hack:
On an engine with sequential multipoint injection (one injector per cylender, near the intake valve), could one modify the ECU so that, when the engine is under minimal load, instead of firing the injector on every intake stroke, it would fire on every other intake stroke - in effect changing a four stroke engine into an eight stroke engine?
In theory, this would allow you to run a leaner mix (leaner = hotter burning) without burning up the cylinder, and you could save fuel. When the ECU detected the engine being placed under more load, it would start firing on every intake stroke (and remap to a richer mix).
Of course, I suppose the reason we don't see this is because hotter combustion = more carbon monoxide produced instead of carbon dioxide.
Now, if I could just get anoncvs access to Ford...
Re:Interesting... (Score:5, Interesting)
Oh - and it's also a technique used in some motors alreeady. The Ford Focus will do exactly what you described if it starts to overheat in an attempt to "Limp home".
Re:Interesting... (Score:5, Informative)
Word on the street is that Dodge's new 5.7L HEMI has or will have in a near-future iteration cylinder shutoff for when you don't need all 8 sucking down the gas.
Re:Interesting... (Score:5, Informative)
The Cadillac 16 [cadillac.com] uses a similar engine and it switches on demand to run on 4, 8 or all 16 cylinders of its 13.6 liter engine. Very cool stuff...
Re:Interesting... (Score:2)
That's a really cool idea, and a helluva heavy-duty engine, but when I clicked the link, all I could think was that is the ugliest car I have ever seen. That impression didn't last long, once I clicked on the links to the other vehicles on that page.
What are they smoking?
Re:Interesting... (Score:3, Funny)
See, there you go. I've not been smoking anything and I think it is, as Cartman would say 'Hella Cool'. Sweet modern look, kinda goth and tech at the same time. The only thing that's going to keep me from buying one of these [if|when] then come out is going to be the sticker price. Probably cost more than I've made in the last 2 years combined.
Still, hand woven silk carpets - I guess you get what you pay for.
Re:Interesting... (Score:2)
You are incorrect if you make more then $125,000 a year. The sticker price was going to be in the quarter million dollar range.
Re:Interesting... (Score:2)
Ah, so if I saved everything I've made in the... last 10 years (the time I was in the Army I didn't make much at all) I could pay cash for one of these. However, with my PowerBall retirement fund [snicker], these might one day be in reach.
Re:Interesting... (Score:2)
Re:Interesting... (Score:2)
Notable exceptions are the Prowler, the new Thunderbird, and the new VW Bug.
Concept cars are to the auto industry what concept code is to us - it gets us thinking in new and creative ways so that we can keep on top of the competition.
Re:Interesting... (Score:2)
Yeah, that was the one I was thinking of when I said that I no longer think the Cadillac 16 is the ugliest car I've ever seen.
YMMV.
Re:Interesting... (Score:2)
Re:Interesting... (Score:2)
The difference between this and the Northstar system is that the engine uses 6 cylinders when driving lightly, and all 12 when pressing down on the accelrator a little harder.
Re:Interesting... (Score:2)
Re:Interesting... (Score:2)
If you looked at the cadillac page you'd see that the car weighs in at 5000 lbs. The street racing cars you speak of are all in the 2000 lb range. And if you go to a drag strip sometime, you'll see that people take out their spare tires, rear seats, and anything else they can unbolt just to lose
Re:Interesting... (Score:2)
Re:Interesting... (Score:2)
Re:Interesting... (Score:2)
Re:Interesting... (Score:2)
Corvettes have a Limp home mode similar to the Cadillac system mentioned elsewhere. When it happens, it make the car a PIG. Like it can't maintain 50 mph on the highway PIG.
The older V8-6-4 system mentioned elsewhere actually decoupled the valvetrain and the crank when it went in 'less cylinders' mode. It was a ni
Re:Interesting... (Score:2)
Well, I hope so, since it is an existing MegaSquirt feature [bgsoflex.com]:
Re:Interesting... (Score:2)
Re:Interesting... (Score:3, Interesting)
That being said, I agree with you and think it would be great if more interesting hacks come out.
Been going on for years and years (Score:2)
It's called 'the street'. Makes for tons of fun as you try to work on the software and drive the car at the same time...and the throttle is wide open!
There are literally thousands of stories of guys
Re:Interesting... (Score:4, Insightful)
Really, if you're into this sort of thing, you're probably better off restoring an older car, and dropping in a crate engine with a bolt-on fuel injection kit like Edelbrock [edelbrock.com] offers, then tuning that.
Holy lack of engine tuners! (Score:5, Interesting)
This project isn't of interest to most big engine tuners right now, but it could be. The Megasquirt - which only has fuel injection controllers, you still need to time your ignition spark, a much more difficult problem. Replacing your cars computer right off will not get you much - it will probably cost you HP, because cars have many, many R&D hours into them and are already running at close to maximum efficiency. You can trade a little emissions for power, but in a modern Honda engine, it isn't much.
The big power comes when you use something like this in combination with a supercharger or turbo charger, then use additional control software to monitor your engine. Think of it like overclocking - you trade safety margin for speed, or in an engine's case, power. Instead of upping the voltage; You shove more air into the engine, allowing you to burn more fuel - added by a device like this, or something that's missing - a true, open source ECU replacement. It is a very difficult problem.
I love to irk people with big V8s - they are silly in the age of forged engine internals, ECU control, and modern design. You haven't lived until you've seen the expression on a Z06 corvette owner's face when he gets is ass handed to him by a built and tuned 1.8L Acura Integra. My current project is an engine buildup for my 2.2L Prelude, and I have ~300HP as a reasonable target. It's amazing what a little thought and hacking can do. You can't run much more power than that on the street feasibly, so penis issues aside - if you can make 300HP+ from a 1.8L engine - why bother with more? Troll in the extreme - you can design 1500+ HP V8's, but they're not driveable. IMHO. YMMV. YHBT. etc.
Engine tuning is a great hobby - if you can assemble a PC, with proper tools and the manuals, you can probably assemble a car engine. It might even run!
OBD-III scares the hell out of me. I don't plan on owning an OBD-III vehile, though.
There is another sister project or sorts to this one, called MegaSpark. I'll let you find the links, because I don't want to slashdot the poor guys. Ignition timing is a very difficult problem because you need very, very precise control. This is difficult to do. I have played around with this, but the approach I favour is to piggyback a microcontroller onto the computers stock signals and modify them how you want. Complete standalone systems can be very, very difficult and expensive to dyno tune and test.
Re:Holy lack of engine tuners! (Score:4, Funny)
Yeah, and those Accura owners nearly have strokes when I toss them into the weeds with my 8 year old motorcycle. No computer control, just a 15+ year old block, piston and head design so refined and advanced that I can run 85 octane fuel at 12:1 compression, in 110 degree temperatures, up to 13,000rpm, without it even thinking of pinging.
Can you say "1005cc generating 122 hp measured at the rear wheel"?
Can you say "absolutely bone-stock"?
Can you say "53 miles per gallon"?
I thought you could.
Re:Holy lack of engine tuners! (Score:5, Funny)
Some bikes CAN be beaten by little 4cyls, too, so don't get too cocky.
See also:
"Twisties"
"Traction"
"Speed Wobble"
"Rain"
"Loose Gravel"
and
"Insurance".
Re:Holy lack of engine tuners! (Score:2)
Forget it, there isn't a stock, street-legal car that I'd even take notice of. And the only modified car I ever saw that gave me doubts was an NSX with an aftermarket turbo system.
What all those four-wheel jockeys forget is that 90% of the game is about acceleration, and for that, less weight wins. It doesn't matter if I can't corner as fast, if they can't match me getting to the corner. I mean sure, you've (maybe)* got twice my horsep
Re:Holy lack of engine tuners! (Score:2)
Re:Holy lack of engine tuners! (Score:3, Funny)
Re:Holy lack of engine tuners! (Score:2)
The beauty of small engine tuning is that you take a car that almost anybody can afford and turn it into something better.
They are out there (Score:2, Interesting)
Re:Holy lack of engine tuners! (Score:3, Interesting)
repeat after me "THERE'S NO REPLACEMENT FOR BIG DISPLACEMENT"... My Buick 455 Stage 2 Year 1 (1970 Buick Wildcat Custom) idles at 300 HP... and lights the tires at 50 MPH. It had (factory) 370 HP and 510 Ft.Lbs. of torque... at the rear wheel. I've added a little, like a bigger carb, HEI, true 2.5 inch dual exhaust (with headers), and a single plane intake (next step is either 2x4 or a 6 pack
Re:Holy lack of engine tuners! (Score:2)
But all in all you are correct go over 500hp and it's a monster to drive and generaly not street legal. The import classes make good dialy drivers /
Re:Holy lack of engine tuners! (Score:2)
Re:Interesting... (Score:5, Informative)
That'd be more like turning your V8 into a 4-banger. Cadillac tried something like it ~20 years ago with the V8-6-4, which ended up not going over too well with drivers. (Their current Northstar V8 has a similar capability, but while the V8-6-4 used it in normal operation to try to squeeze better mileage out of a big engine, the Northstar only uses it as an emergency measure. If the engine loses coolant and starts overheating, the engine computer limits vehicle speed (to 50 mph, IIRC) and shuts down half of the cylinders at a time, cycling through them in turn so they can cool down a bit. Basically, it allows what's normally a water-cooled engine to run as an air-cooled engine long enough to get to the nearest garage and fix the problem.)
Unless you had a way to hold the intake and exhaust valves open when you didn't want the cylinder to operate (really big solenoids, perhaps?), running each cylinder half as often would rob lots of power...you'd compress a chunk of air, but wouldn't have a combustion cycle to make any use of it. With some engines, holding the valves open would more than likely result in the piston slamming into them on the compression and exhaust strokes, which would be a Bad Thing. (My understanding is that some imports have this problem when the timing belt breaks.)
Re:Interesting... (Score:5, Funny)
Ha, who would fall for that.
Re:Interesting... (Score:2, Interesting)
Re:Interesting... (Score:2)
Re:Interesting... (Score:2)
Re:Interesting... (Score:2)
with this very cool tech, you can create an engine that can dynamically and very completely adjust its own timing, giving you mileage timing for long hauls, and power timing for when the pedal is to the metal. These engines can also hold open the exhaust valve on every other cylinder and go into uber-mileage mode, running on 4 cylinders instead of 8, or thre
Re:Interesting... (Score:2)
Re:Interesting... (Score:5, Interesting)
Now, at WOT, you want lotsa fuel, since there is the max amout of air getting to the motor. Engineers know this so when your gas pedal hits the floor, the computer quits computing the best mix. It reverts to pre-programed mix curves from the factory., now if your motor is getting more air than it was originally designed to get, you need new WOT mix curves. this is what your aftermarket chip does. Now, you could program these curves yourself, but you better KNOW your shit. Get this fuel mix wrong, and manage your engine poorly, or make a typo, and you'll be debuging by rebuilding your cylinder head, or worse, replacing pistons and rods.
if you want to see great examples of automotive stuidity, go here www.overboost.com
you are shitting me, right? (Score:3, Informative)
How is this any different from turning valves on a bigger than design carborator? Give me a break. If you program your computer wrong, your engine won't work, but I doubt it will explode or burn up.
This project is cool. It looks [bgsoflex.com] like free software and so, we can
Re:you are shitting me, right? (Score:2)
Re:you are shitting me, right? (Score:2)
This is different than tweaking a carb. Imagine making a mistake that goes into an infinite loop in WOT. I can easily imagine something exiting happening.
No, we're not shitting you. (Score:2)
Apart from actual hardware failure (your injectors seizing or fuel lines rupturing), misconfigured electronic fuel injection systems are the first, last, and only reason a computer-managed motor will blow up these days. And it does happen. A LOT.
What happens if you accidentally prog
Re: (Score:2)
fuel curves (Score:2, Informative)
Re:Interesting... (Score:2)
When I was shopping for my car I decided I wanted three things. 1) A car I could pay cash for 2) A convertible 3) A car that would still be exhilirating to drive when I step on the pedal. After looking around I found a 1986 Mustang GT ragtop that fit the bill. The previous ow
Re:Interesting... (Score:2)
AFAIK, this technique only work for combinations of cylinders which balance against each other. The 8-6-4 dropped the two inner cyls on one bank, and the two outers on the other. I don't think you would ever want to drop just one cylinder.
It's true that drivers didn't like it. Caddy onl
Re:Interesting... (Score:2)
It's been done by ford and other companies for years for limp home modes. It doesn't save you anything on gas, infact it would hurt your mileage. To drive the same
Re:Interesting... (Score:2)
By making the cylinders that are firing "think" they are running harder, you move the engine nearer to the sweet spot of efficency. True, you lose some efficency due to pumping losses from the dead cylinders, but the question i
Re:Interesting... (Score:2)
Re:Interesting... (Score:2)
For me, this is an important hack not only because it holds the promise of possible increased performance/gas milage, but also because of the attempt to sneak WinCE into cars and not tell us which ones run it. Cars running Windows are unsafe and do not deserve to be on the road. I would prefer the realtime systems that have heretofore been used but if it is WinCE or something I hack then I would prefer to proudly display a "This Truck Powered By Linux!" bumper sticker :).
I think the article describes a s
How to add linux to this box. (Score:2)
Re:Interesting... (Score:2)
That sounds similar to this [bgsoflex.com]:
Re:Interesting... (Score:2)
A second point to this idea - in "8 stroke" mode, the exhaust would have a great deal more free 02, which in theory would help the catalytic converter burn whatever was left in the system.
Crazy world these days (Score:5, Funny)
Re:Crazy world these days (Score:5, Funny)
Insurance (Score:3, Funny)
Joking aside (Score:2)
The question remains... (Score:3, Funny)
Re:The question remains... (Score:3, Informative)
Re:The question remains... (Score:2)
This thing is neither multi user, nor multi tasking, nor protected memory addressing, nor io bound really... Why on earth would you want linux to be adapted to it, let alone even any sort of OS (aside from basic firmware).
To a certain extent, everytime I see about these very 'cool' little pieces of electronics said to be running on linux, I cringe and shake my head in disbelief... Sure linux is nice and all, but recognize what it's good for.
Th
Re:The question remains... (Score:3, Informative)
No, no, no... (Score:2, Funny)
Re:The question remains... (Score:2, Informative)
Not exactly, although this guy [enjoysmart.com] seems to have gotten a TCP/IP stack onto the same chip.
The MegaSquirt uses the Motorola MC68HC908GP32 [motorola.com], which has only 512 bytes of RAM, so it's a bit tough to get much done (you try booting your linux system with "mem=512" sometime).
If you really want to run Linux on an embedded system, you might look into uClinux [uclinux.org] on a bigger processor.
Re:The question remains... (Score:2, Interesting)
The firmware is written in assembler, a la Steve Gibson'esque
Gibson Research [grc.com]
I would make one, (Score:5, Funny)
Seriously though how long till you see *Hacked with Megasquirt* stickers on all the rice mobiles going around?
Please don't knock out the server.... (Score:5, Informative)
So of course just when I need the site the most it will probably be overrun and unavailable
Seriously though it's a great hardware hacking project. Quite a few revisions to the basic system have been made by the users and there are even a few spin-off projects (MegaSpark, MegaSquirtAVR, MegaJolt, MegaView, MegaTune, MSTWeak3k....) all of which were created by users of the system.
It's based on a stripped down simple version of the DIY EFI-32 project that aimed at building a homebrew version of the GM computer but was getting so complex it was turning some people away.
If the main site does get slashdotted there's the Yahoo Group: http://autos.groups.yahoo.com/group/megasquirt
The MS FAQ:
http://members.shaw.ca/megasquirt/MS%20FAQ.
And a few photos of my own project for those of you you just want to see the pretty pictures:
http://www.americansandassociation.org
I think we can (Score:5, Funny)
Confusing Title (Score:5, Funny)
That aside, that's pretty cool. I wouldn't be willing to put one in my car, but it's still cool. Plus you could hack up the monitor circuit so you could connect it to your incar Linux PC with a little LCD panel to watch your engine in real time, or maybe use you're engine's performance (rpms, mix, etc) to somehow controll the music being played. The pointless add-on possibilities are endless.
Pretty cool, but... (Score:2, Insightful)
OTOH, with access to the assembler code for the EFI controller, you can run any setup you want, but you'll have to spend a couple days driving around wit
Re:Pretty cool, but... (Score:2)
Generally, MAP > MAF > AFM (flapper)
Um, "MegaSquirt"?? (Score:3, Funny)
Other options (Score:5, Informative)
All of the above allow control and modification of all elements of the car via a serial link to a laptop. You can even data log and so forth.
Depending on where you buy it and so on, it's not going to be as cheap as the product listed here - but, you gain boat loads more functionality. For Rally racing like we do - we need the control/fine tuning ability to change fuel maps, ignition timing, Anti-lag for the turbo (amongst other things) to squeeze out every bit of performance that we can to go against much better funded teams.
-victor
Hackers. (Score:5, Insightful)
Some people are replacing stock computers in more modern cars for performance reasons, and some are putting them in older cars, and getting some impressive results. And, yes, you can hook up a laptop for on-the-fly tweaking. Now I want a car.
Re:Hackers. (Score:2)
Here's why... (Score:5, Interesting)
It's a pretty cool way to get supercar performance from lesser (read: cheaper!) vehicles. My daily-driver Miata has the factory 1.8L engine, force-fed 15psi boost by turbo. It puts out 250hp/250lb reliably (up from factory 120hp or so) and, thanks also its low weight, it outperforms 'Vettes -- except for top speed, and excluding the awesome Z06, of course. But then I paid about $20k for my car, not $50k... (Check out Flyin Miata [flyinmiata.com] for more info, no affiliation except as a happy customer.)
I'm not using the MegaSquirt (using Flyin Miata's Link ECU instead) but the concept is the same. There is a HUGE need for an affordable programmable ECU among us automotive tinkers.
Re:Here's why... (Score:2)
Is that all? Some of the marine desils I have worked with have 8 bar (160 psi) overpressure air feeds
Re:Here's why... (Score:2)
Is it obvious... (Score:3, Funny)
Pfffft...I want electronic ignition advance too (Score:2, Informative)
Close but it needs more... (Score:5, Informative)
Many in the Honda crowd use an Apex'i S-AFC (or similar) to attach in line with the computer to adjust various things. Additionally you can buy other controllers and the like to adjust realtime at will.
This thing is impressive, but is no replacement, it's a piggyback, and has a long ways to go.
Re:Close but it needs more... (Score:2)
The MS is by choice fuel only. The same guys who designed it are also working on the MegaSpark which will take care of Timing. From there who knows where they'll go.
The whole thing is a offshoot of the DIY EFI-32 project which was designed to be an all in one engine management solution - but is so complex and more than what mos
Coincidence? (Score:2, Interesting)
I haven't had time to get into trying it just yet, but after recent issues with my car (fixed now), I thought up the idea. If time permits and I actually do get something hacked up, I will surely post it as OSS for all the world to play.
Then again, if I or somebody did make something like this...w
It's all been done... (Score:5, Informative)
Here's some basic information (Score:5, Informative)
Yahoo MegaSquirt Group [yahoo.com] This has the message archives, files, and links to MS related sites.
MegaSquirt FAQ [members.shaw.ca] This is the place that you should look for answers before sending to the list. If it hasn't been asked here, Lance is more than happy to add the Q/A to the FAQ. It's very well organized and will take a novice through the whole process.
Since Bruce and Al's site was already linked, I'll forego that link. The best place to start is the Yahoo group, since it really is the nexus.
Just a couple of quick bits. If you are planning on using GM TBI injectors, get some 2 ohm 25 watt ballast resistors FIRST.
Second, if you are planning on using a distributor for the tach signal, you are best off by using the hall sensor directly. A lot of VAG vehicles have reported noise problems on the tach signal.
These are really the only 2 things I'd want to caution about first.
All in all, the MegaSquirt is a good system for DIYers because it bypasses all of the complexity of factory systems. You can use it with most factory sensors and it performs great. One of the bread and butter applications is replacing CIS with EFI, many people have done it.
BTW, my engine is the 1991 CBR 600 F2 engine on the IT Runs! page.
MegaSquirt? (Score:4, Funny)
Limited usefullness (Score:3, Insightful)
No animals were harmed in the making of this
Fancy schmancy (Score:5, Funny)
Re:Fancy schmancy (Score:2)
What, you mean the ones that say TYPE-R?
Where does the coffee go? (Score:2)
OS outside of computing (Score:2)
Great if you've got a turbo (Score:2)
Forced induction will cause a need for an additional amount of fu
Re:the Siemens C167 has free C source that does th (Score:3, Interesting)
This is a hard real-time application, so the thing had better have spare cycles available! :-)
While it sounds fast, car engine things happen at ridiculously slow speeds by computer standards. A 4 cylinder engine running at 6000 RPM still has 5 milliseconds between firing strokes to compute and time the next spark. An eternity to a computer...
...laura, whose car (1986 VW Jetta) has mechanical fuel injection and ele