Archive for General

Site back up

Site now up on new URL

Transmission ECU – Hello world Time

So, the first part of our Transmission ECU build is to install the basic circuitry and hardware for our PC coms so we can Flash the ECU with the megashift Firmware.


A. Base circuits:


  1. Remove excess PCB material: The board is shipped with surplus PCB material on each edge that is about ¼ inch (6mm) wide. You can leave this material on if you are using a custom enclosure, it might make for easier mounting is some situations. However, in most cases, this material must be removed. You do this by using a pair of pliers to flex the excess material along each edge until is snaps off.
  2. PCB/case: Check the fit of the GPIO printed circuit board in the case. It goes into the next to last slots (nearest the case bottom). Do not put the GPIO PCB into the bottom grove, the bottom of this groove is wide enough that it may short out some circuits.Be sure to start it as close to ‘square’ as possible, otherwise it will bind. The PCB should slide into the case fairly easily, but be held snugly. If the PCB doesn’t fit, or is too tight, you have to narrow the board slightly. you do this with a coarse file. Run it along the heat sink edge of the board 10-20 times, then recheck the fit. Repeat as necessary until the board fits properly in the PCB. Then blow the PCB clean with compressed air.Note that if you wish to mount the GPIO PCB in a non-standard case, three mounting holes are provided:



  3. Heat sink: Prepare the heat sink. You will make this out of 1/8″ (3mm) aluminum flat strapping, 5/8” wide (15.8 mm) by 3.94 inches (100mm) long. You will drill 8 holes in it to match the PCB heat sink area. 

    Because aluminum isn’t typically sold in 5/8″ widths, you may have to cut down wider aluminum (¾” or 1″) to get a heat sink that will to fit.

    The easiest way to get the hole spacing right is to transfer the holes from the PCB to the aluminum strip by placing them together and using a felt pen to mark the hole locations on the aluminum strip through the PCB.

    Be sure to allow enough room for the aluminum strip to fit in the case, and allow enough room so that it won’t contact the component leads. Make sure the heat sink rests up against the case when installed to get the thermal contact between the case and the heat sink. Sand both sides of the heat sink to ensure there are no burrs.


  4. Case End-Plates: Here is a rough drawing for the connector end plate for the EAS-400 enclosure with both the V2.10 GPIO board and MegaSquirt® V3 main board in the same case (because cases and boards may vary, you should check all of these measurements carefully with your own hardware). 

    The end plate material should be 0.080″ to 0.125″ thick. The Ampseal connector is sealed internally in this configuration, but the enclosure itself is not sealed (because of the DB37 as well as the tolerances of the end plate to the outside flange of the Ampseal connector (rather than screwed to the face of the flange).

    The GPIO board fits in the bottom slot of the its half of the case, while the V3 main board sits in the second from the bottom slot of its part of the case. Note that the DB37 and Ampseal connector are very close – there isn’t much material left (~0.070″), and you will have to be careful to avoid damaging this area while machining. Thicker material will make this easier, of course.


  5. Install and solder the voltage regulator U1 {LM2937ET-5.0-ND}. This is a TO-220 size component (three pins sticking out of a black case, with a tab and mounting hole on the opposite edge) located in the corner of the board furthest from where the 35 position Ampseal connector will be installed, nearest the heat sink. 

    It has its own location among the SMD components in that corner of the board. You have to bend the leads to a 90° angle so the regulator can site flat against the board, then solder it and screw it the board with a #4-40 nylon bolt and nut (with heat transfer compound (aka. ‘heat sink grease’) between the regulator and board). You do not need a separate heat sink for the voltage regulator (shown in the diagram below), the voltage regulator can be mounted directly to the PCB (with heat sink compound), as long as you are not using the 5Vref supply for powering off-board accessory circuits.


  6. CAN termination resistor: You will install this 120 Ohm, 1/4 Watt resistor (R82) if you have two CAN devices in your network (i.e. the GPIO board and MS-II). If you have more than two devices in the network, you only install the resistor in the devices at the ends of the CAN network. If required, install and solder the 120 Ohm, ¼ Watt resistor {brown-red-brown, 120QBK-ND} in R82. This is located in the corner of the PCB furthest from the Ampseal connector and heat sink. Space the CAN termination resistor up off the board by approximately 1/4″ to 1/2″ (6mm to 12mm), and make sure the lead closest the edge will not contact the case when the PCB is installed in the enclosure. If your board is not at the end of the CAN chain, DO NOT jumper this resistor location, leave it empty


  7. Ampseal
    1. Connector: The connector should be soldered to the PCB. Be sure it snaps into place in the PCB, then solder each of the 35 pins from the underside of the board. Take your time and be methodical, as missing or poorly soldering one or more pins can cause problems that are very hard to troubleshoot later.
    2. Pigtail: The best instructions for assembling the harness pigtail are Tyco’s own instructions, get the PDF file here: Ammpseal 35 pigtail assembly instructions

  8. Serial Communications:You have a choice here. You can bring the serial communications out a serial jack (with a 2.5mm mini stereo jack, which is convenient) or you can bring the serial communications out the Ampseal connector (which offers the possibility of weather sealing).


    1. Ampseal Serial:
      • Rx: Jumper from the via marked “Rx” near the bootloader jumper to the via marked “Rx” near the Ampseal connectors rear edge with 20-24 gauge insulated wire. This will bring Rx out on Ampseal pin 21.
      • Tx: Jumper from the via marked “Tx” near the bootloader jumper to the via marked “Tx” near the Ampseal connectors rear edge with 20-24 gauge insulated wire. This will bring Tx out on Ampseal pin 22.
      • Gnd: Use Ampseal pin 17 as a ground.
      • You can devise your own serial cable, the illustrations below might help.

    2. Bootloader header {A26520-40-ND – cut to suit}: The Boot Header {JP5) on the board near the serial jack is used to reprogram the CPU in your GPIO processor (not the tuning parameters, but the actually code that uses the tuning parameters). Install the 2-position header, but leave it open (do not bridge the pins with a jumper), though you can leave a jumper (S9000-ND) hanging on just one pin as a handy storage location.Depending on what you want from your GPIO controller, though, you may end up using the boot header to eventually to load code. To load new code, you put jumper on the two pins on JP5 with no power applied to the board, and once the jumper is in place apply power to the board and use the downloader program.
    3. Some people have put a momentary switch (normally open – NO) across the boot header, and place the switch so they can go into bootloader mode simply by pressing this switch while powering up, without opening the case. (If you do this, be sure it can’t be pressed accidentally.)


    4. BDM (Background Debug Module) header: This 3×2 header is used to load the serial monitor program to the processor (to act as a bootloader for adding new code version), as well as for looking at the state of code running on the processor when developing new code (in conjunction with a BDM cable, etc.). This is located in the corner of the PCB furthest from the Ampseal connector and heat sink, near the CAN termination resistor (R82) you installed earlier. If you wish to install this header, solder it into position. 


    5. 25×2 Header {WM8135-ND, S9000-ND}: Before installing the header, you must use insulatedwire (~20-22 gauge) to jumper:
      • AD1 to GPI2 at 25×2 header, and
      • PT7 to VB1 at 25×2 header.

      Do these jumpers first, then cut the 25×2 header with small side cutters to fit remaining holes as necessary. Solder each of the header pins from the bottom side of the board (you can use tape to hold the header in place while it is upside down). For now, do not install jumpers on all the applicable circuits (see the table near the top of this document). You can do that after checking the circuits at the end of the build process.
      You can use snipped off leads as jumpers instead and save several dollars on the WM8135 header and jumpers – if you are doing this, wait until the end of the build to install the remaining jumpers – and save the snipped off leads from other components as you go.
      (You could install the complete 25×2 header then jumper the relevant pins by soldering wires directly to the header pins, if you prefer. Be sure not to bridge adjacent pins, of course.

    1. Double check that you have jumpered the correct locations.

      Note that on the V2.00 GPIO boards ONLY, NOT the V2.10 boards, there are errors on the silkscreen labeling at the 25×2 header, this was corrected on V2.10 boards. The actual circuit connections are the same on both boards, they are just labeled correctly on V2.10+ boards. See this link for more information.

      Loading Code on Your GPIO Controller Now that you have assembled the base circuits on your GPIO, you need to load the GPIO code. Completing this step will verify that CPU and serial communications circuits are functioning. To use Eric Falgren’s Windows downloader.exe:

    1. Power down the GPIO Controller,
    2. Put the boot jumper on both pins of the header marked JP5 (for “bootloader”) near the serial plug on the GPIO board,
    3. Power up the GPIO Controller by connecting the power supply ground on one of the Ampseal pins 18, 19, 20 (through the appropriate lead). Then apply 12 volts (nominal, 9V to 15V is okay) to Ampseal pin 1.
      Note: When in bootloader mode, the GPIO may allows a full 12V to flow in some circuits. If your set-up depends on PWM to limit the current in these solenoids, you MUST pull the fuse to these devices before entering bootloader mode to load new code.
    4. Start the Windows downloader program (get it here), and select the appropriate COM port number for your serial connection (if you don’t know your serial COM port, run the portCheck program).
      See this link for downloading using other platforms than Windows..
    5. Select the appropriate .S19 file, and the downloader will read, write and verify the code to the processor in about 10 seconds or so.
    6. The process ends with a message like “Verification succeeded, XXX records total (4 skipped).” (where XXX is a large number that varies from one code version to the next),
    7. Shut down the downloader program,
    8. Remove power from the GPIO Controller,
    9. Remove the boot jumper (or put it on just one pin of the boot header for storage),
    10. Start the tuning software (TunerStudioMS) and set the COM port and speed if necessary.
    11. You will need to download and activate the latest INI file. Under the ‘File/Project/Project Properties’ of TunerStudio, click on the ‘Other’ check box.
    12. Click the ‘Browse’ button.
    13. Navigate to the INI file you downloaded for your code (for example, for MShift™ code you would use the INI from the link
    14. Click on the appropriate INI file you downloaded from the code page ( to activate it.

Time to start Building

well now all the Components are in for the AA80E trans controller, guess its time to start building the controller.


A few small updates

Well getting a few things sorted. Transmission test bench almost complete, finishing off the rear bumper, and have also started the exhaust system…so heres a few sneak peaks..

design and build..The AA80E Transmission test Bench

Well in Order to Fully test and debug the AA80E Controller, AA80E transmission, and also control functions (paddle shift etc etc) we are building a Transmission test Rig. We started today on the Bare bones of the Frame Work.


And the plan..

We will be using a 3HP 2800 3 Phase motor which will be motor than plenty to spin the aa80e with no actually load…ie. the rear diff and wheels and car weight.

The 3phase motor will be controlled using a single phase to 3 phase digital inverter unit. This will give us full control of the motor speed and braking. In theory at 200hz we should see around 5000rpm at the motor, though 3500rpm is all we need for most testing.

Transcooler will be mounted on the test rig, and from the bench we will have our paddle controllers, selector mechanism, load and tps STIMulator and PC to monitor and edit Data (Megashift) from the Trans controller.

This will save a lot of development time and help iron out problems a lot faster than trying to do whilst in car.

so the basic idea is..

components should start arriving this week ;)



Supra 2urgse TFT cluster update

Well TFT Display is almost complete and was test fitted to the car today. We have several data layout screens for Aux and AA80E information. The next part is interfacing data stream to our custom controller ECU which has be STIMulated so far.

We have a few other features now incorporated in the TFT and Control system.

1. G – METER is now functional using precision x,y Acell board

2. Full suspension control – Using our own designed 4 axis stepper contoller and high precision motors with rotary encoders we can now control damper settings on most adjustable coilovers with modifications to adjustment dial hardware and motor mounting. Data can also be used from ecu such as driving mode to determine preset values for damper rating. We will have a full post on this when we have choosen which suspension to run with.

3. Rear Camera – Using power interupt and AV decoder board we now have a functional rear night vision camera display on the TFT when enabled. This basically is initiated when reverse is selected causing AV signal from rear mounted camera to be fed to a seperate encorder board and bused to the TFT controller board. Nothing new but may aswell have it seeing we can ;)


The interesting stuff will start to happen after the transmission test bench has been built..


Marty – SSi


D4-S fueling system and a 11.8:1 compression

What we want to tame :-


The 2UR-GSE engine has Lexus D-4S stoichiometri c, four-stroke, direct-injection technology, which combines the strengths of high-pressure direct petrol injection and low-pressure port injection.

The system mixes and matches fuel delivery from the two sets of injectors to provide the ideal fuel/air mixture for all engine load conditions.

It helps optimise performance and fuel economy, and minimise emissions.

D-4 direct injection, as used in Lexus GS 300 and IS 250 engines, boosts torque across the engine revolution range.

The D-4S system used in GS 450h, GS 460, LS 460, LS 600hL and IS F further boosts torque across the range.

The two injection systems have their own fuel supply systems.

When the engine is running under medium-to-high load at lower engine revolutions, both systems are used.

This creates a homogeneous air/fuel mixture to stabilise combustion, improve fuel efficiency and reduce emissions.

In high-load situations the engine uses the direct injection system only, taking advantage of the cooling effect of injecting fuel directly into the combustion chamber and hence improving the efficiency of each charge.

The precise injection control also allows for a high compression ratio by reducing the chance of pre-ignition or detonation.

The IS F D-4S dual injection engine has a compression ratio of 11.8:1, compared with 11.5:1 in the direct-injection GS 300, for better performance.

When the engine is cold, the injection system uses both sets of injectors to ensure quick warm-up of the catalyst and hence optimum purification of exhaust emissions.

Lexus has reduced the size of the port injector body, to provide optimum cross-sectional area for the inlet port.


Direct injection hardware:

The direct injection equipment in IS F’s new engine includes compact, high-pressure double slit-nozzle injectors to maximise fuel atomisation.

The injector atomises fuel into a fine mist and expands it to form a large, fan-shaped pattern in the combustion chamber.

This occurs as the down stroke of the piston draws in a large volume of air. The cooling effect of the fuel increases the intake air volume and improves charging efficiency.

Importantly, the intake air forms a vertical swirl current (tumble current) to promote improved air/fuel mixing and hence improve performance and emissions.

The injector has a special coating on its nozzle to resist deposits.

The area where the injector body meets the cylinder head has an insulator, and the injector shaft has two Teflon-coated seals – to resist cylinder pressure, improve sealing performance and reduce vibration.



Modern Technology meets an all time Classic

Yes, the worlds first 2UR-GSE supra is coming this way…stay tuned for the build….