ECU ASSEMBLY

JUMP TO: ASSEMBLY | TESTING | RS232 ADAPTER BOARD

This page last updated May 18, 2006

QtyComponentComment
110R1/2 W
1470R
21K5
22K7
13K3
33K9
16K8
1210K
1247K
2100K or 47K
227pF or 22pF
10.01uF
130.1uF
16.8uF 35V
122uF 16V
110uH
15IN914 Any general purpose small signal diode
4IN4003 Any general purpose 1A 50V diode
1IN474924V1W zener diode
5BC549 or BC547 or 548 (surface mount)
2BD139
1BD140
46N60E or IRFBC40
2Heat sink 15mm x 20mm to suit T0220>
1LM2940-5
1ATMEGA32
140 pin IC socket
18Mhz XTAL
1RJ45 connector
14 DIP switch
15pin header for firmware upgrades
13pin header for o2 sensor inputs
1PCB
5nut and bolt

Errata:
1 - A link from the top of R33 to the top of R26 is required.
The next 2 are shown in purple on the PCB.
2 - Add a 0.1uF cap between pin 5 and ground.
3 - Add a thickish wire from the FETs to the connector.

My16M picture

My16M PCB diagram

R1,R2,R3,R4 - 10KC1,C2 - 22pF
R5,R6,R7,R8 - 47KC3-C10,C10b - 0.1uF
R9,R28,R29 - 3K9C11 - 0.01uF
R10 - 10RC12-C16 - 0.1uF
R11 - 470RC17 - 22uF 6V or better
R12,R12b,R13 - 47KC18 - 6.8uF 25V or better
R14, R15,R16 - 47KVR1 - LM2940-5
R17,R17b,R18,R19 - 10KD1-D4 - IN4003
R20,R21 - 10KD5-D16,D20 - IN914
R23,R36 - 47KL1 - 10uH
R30 - 10KX1 - 8MHz
R25 - 2K7Q1-Q4 6N60E or IRFBC40
R26,R27 - 1K5T1-T5 BC549
R34 - 2K7T6,T7 BD139
R35 - 3K3T8 BD140
R31 - 6K8ZD1 IN4747
R32,R33 - 100K or 47K

Assembly

I suggest the following order for assembly and testing.
  1. Make sure the PCB will fit in the case. Some trimming of the edges may be required. The edge nearest the ECU connector may need trimming to allow the connector to seat properly.
  2. Check all the PCB holes are clear. A soldering iron should quickly clear any solder.
  3. Solder in the 5 surface mount transistors.
  4. Solder in the resistors.
  5. Solder in the capacitors - 12 x 0.1uF, 2 x 27pF, 1 x 0.01uF and 2 x 47uF.
  6. Solder in the 40 pin IC socket.
  7. Solder in the diodes and zener.
  8. Solder in the 2 BD139s and BD140 transistor and the LM2940 regulator
  9. Solder in the 8Mhz crystal.

Testing

  1. Make sure the microprocessor is not in its socket for these initial tests.
  2. Apply the negative of a 12V voltage source to the edge of the board ( the PCB track going around the board is 0 volt ).
  3. Apply the positive of the 12V to the upper leg of R10 ( the leg that goes to connector 1 ) and check that nothing is getting warm. The voltage drop across R10 should be less than 1 volt.
  4. There should be 5V on pins 10,30,32 of the 40pin socket
  5. Pin 33 and pin 4 should be 2.5V and pin 3 should be 2.7V.
  6. Disconnect the power and connect the RS232 adapter to My16M using the network cable and connect to the PC's COM1 port ( if you need COM2 or other, the ECUController has a configuration dialog that can be used to select the required port). Insert the CPU with pin 1 to the left
  7. Start ECUController and apply power to My16M. You should now see ECUController updating.The temperature analogs should be at full scale, the voltage should display correctly. They others will float around 1/2 scale.
  8. You should see a 10V square wave on the collector of T5 ( the tacho signal )
  9. Complete the assembly by mounting the power transistors.Check the voltage at the lower leg of R28 (near T7). You should see it go to 5V for 2seconds after connecting power. Check that the gates of the 4 FETs(leftmost pin) are all at 0V
  10. Now double check your handywork and fit the PCB into the case and connect the ECU to the bike.Set all switches off except SW1. It would be best to have the ECUController or Optimiser connected.We ARE NOT going to try to start the bike yet. Being careful to monitor for smoke or heat, turn on the ignition. You should hear the fuel pump turn for 2 seconds.The tacho my vibrate a little.Check the analogs with the ECUController or Optimiser. They should all be correct and the throttle should be tracked.
  11. Well done, at this stage construction is complete. Proceed to the

RS232 Adapter board

C1 - 10uF
C2-5 - 1uF
U1 - MAX232


The tantalum capacitor is polarized and must be inserted the correct way.