This driver provides access to the MegaSquirt ECU with a level of abstraction above the MegaSquirt serial interface, enabling users with no knowledge of the MegaSquirt commands to access the register data easily without caring about the underlying communication required.
The MegaSquirt is a low cost engine control unit with support for fueling, ignition and idle control.
The MegaSquirt is connected to the Arduino using the RS232 output on the MegaSquirt, a MAX232 chip, and the Serial interface on the arduino board.
Serial.print("MegaSquirt Signature: ");
Serial.println(" FAILURE: Communication Timeout");
Serial.println(" FAILURE: Communication Overflow");
Serial.println(" FAILURE: Unknown Error");
You can download the ZIP file to import into the IDE here, or you can fork your own.
Has been slow, lots of things getting in the way of moving forward, engine wiring has stalled, i can’t seem to find a fault, and am wondering if its the ECU. I also have an oil leak (Joy) from the o ring in the sump, so that needs to come off and be fixed.
I’ve been trying to get little jobs done, but have been plagued by broken parts, wrong sizes, shorts, the seven has current priority, but am aiming to get going again in a month or so. I am making progress with the dashboard though.
I fitted the ECU, i opted to put it behind the scuttle as this is just the right distance to allow me to leave the shielded cables untouched as they are just the right length. I’ve trimmed the remaining wires down to size. I connected up the battery to it temporarily, the engine spins over but I get no fault code on the display, so I think i’ve really broken the wiring. At best it might be I’ve missed a wire to the ECU that the display needs, but knowing my luck, its more likely to be something more complex.
On further investigation there is now power to the power commander so I suspect I’ve made a dogs breakfast out of the various live circuits somewhere.