Optical primary trigger page for MembersPage/EricN/Trigger
Planning on using 12-1 trigger wheel mounted in the distributer.
Trying an optical trigger now, followed instructions for Hall sensor on primary trigger as per manual. Seems to trigger properly.
Picked up an OPB804 optical switch. Built it into this little circuit that I found on the internet
Changed the 1k resister to 100ohm, voltage at led is 1.25v to gnd (normal for an infrared LED). Using pullup on vems
- signal high (beam blocked) is 4.6V (good, since it goes higher than 2V)
- low is .25V to gnd (good, since it goes under 0.6V)
Optical trigger no better, pc signal generater the same, fuel relay cutting out at any rpm, worse at low.
Traced trigger signal right to pin 29 on atmega128, signal looks identical on scope when compare to signal at the wire, suspect problem is in config, want to start with a clean config.
publish:
- mcd dump (don't forget that in some cases it's necessary to reboot after trigger related changes had been saved! eg. to enable the trigger if it was disabled)
- [config], the reset thing I have been burned on before, but this problem has been ongoing since I built it, 6 months or so ago.
- we'll check primary_trigger (=01 expected for multitooth; don't apply advanced multitooth filter with =09 first)
- Using coil type trigger temporarily, 6 teeth, this is all the signal generater (the one I was able to get working) could do and I have a 6 slot optical trigger wheel already made.
- secondary_trigger=02 (disabled for now)-Yes
- tooth_wheel=06 6 tooth
- mct dump- [below the config]
- after (Man)mdkffmdf01 .. let it run for some time while you apply trigger .. mdf00 (disables output) save the result (many "benchstat" numbers) and publish. We'll see if the relevant counters count.\n
RPM:0498 W00SFFI00 98 -00 c0000 i0000 clt: 76C adv:05 0768 iac:080 000 00 00 00 00 F5 02 B0=0000 B1=0317 B2=E32A B3=D577 B4=0000 B5=0000 B6=0000 B7=0000 B8=000B B9=0001 BA=0000 BB=0000 BC=0315 BD=0000 BE=11A8 BF=189E B0=0000 B1=0000 B2=0000 B3=0000 B4=0000 B5=0000 B6=031B B7=0000 B8=0000 B9=031C BA=0000 BB=D300 E0=0000 I0=000B I1=0000 I2=00C9 I3=0002 I4=0025 I5=0000 I6=0014 I7=0000 I8=0009 I9=0000 IA=0003 IB=0000 IC=0000 ID=0000 IE=0000 IF=0000 KB: 0001 0000 RPM:0498 W00SFFI00 99 -00 c0000 i0000 clt: 76C adv:05 0768 iac:080 000 00 00 00 CC C9 2B 00 B0=0000 B1=0330 B2=E6FA B3=E2D4 B4=0000 B5=0000 B6=0000 B7=0000 B8=000B B9=0001 BA=0000 BB=0000 BC=032D BD=0000 BE=11A8 BF=189E B0=0000 B1=0000 B2=0000 B3=0000 B4=0000 B5=0000 B6=0334 B7=0000 B8=0000 B9=0334 BA=0000 BB=D300 E0=0000 I0=000E I1=0000 I2=00DD I3=0002 I4=0025 I5=0000 I6=0014 I7=0000 I8=000A I9=0000 IA=0003 IB=0000 IC=0000 ID=0000 IE=0000 IF=0000 KB: 0001 0000 RPM:0498 W00SFFI00 99 -00 c0000 i0000 clt: 76C adv:05 0768 iac:080 000 00 00 00 A5 0D 00 70 B0=0000 B1=0348 B2=EACB B3=F044 B4=0000 B5=0000 B6=0000 B7=0000 B8=000B B9=0001 BA=0000 BB=0000 BC=0346 BD=0000 BE=11A8 BF=189E B0=0000 B1=0000 B2=0000 B3=0000 B4=0000 B5=0000 B6=034D B7=0000 B8=0000 B9=034D BA=0000 BB=D300 E0=0000 I0=000F I1=0000 I2=00F5 I3=0002 I4=0025 I5=0000 I6=0014 I7=0000 I8=000A I9=0000 IA=0003 IB=0000 IC=0000 ID=0000 IE=0000 IF=0000 KB: 0001 0000 RPM:0498 W00SFFI00 52 -00 c0000 i0000 clt: 76C adv:05 0768 iac:080 000 00 00 00 CE 67 0D 00 17 B0=0000 B1=0361 B2=EE9C B3=FD91 B4=0000 B5=0000 B6=0000 B7=0000 B8=000B B9=0001 BA=0000 BB=0000 BC=035F BD=0000 BE=11A8 BF=189E B0=0000 B1=0000 B2=0000 B3=0000 B4=0000 B5=0000 B6=0366 B7=0000 B8=0000 B9=0366 BA=0000 BB=D300 E0=0000 I0=000F I1=0000 I2=000C I3=0003 I4=0025 I5=0000 I6=0015 I7=0000 I8=000B I9=0000 IA=0003 IB=0000 IC=0000 ID=0000 IE=0000 IF=0000 KB: 0001 0000 RPM:0498 W00SFFI00 99 -00 c0000 i0000 clt: 76C adv:05 0768 iac:080 000 00 00 0D 38 02 00 68 B0=0000 B1=037A B2=F26C B3=0B0C B4=0000 B5=0000 B6=0000 B7=0000 B8=000B B9=0001 BA=0000 BB=0000 BC=0378 BD=0000 BE=11A8 BF=189E B0=0000 B1=0000 B2=0000 B3=0000 B4=0000 B5=0000 B6=037E B7=0000 B8=0000 B9=037F BA=0000 BB=D300 E0=0000 I0=000F I1=0000 I2=0023 I3=0003 I4=0027 I5=0000 I6=0015 I7=0000 I8=000B I9=0000 IA=0003 IB=0000 IC=0000 ID=0000 IE=0000 IF=0000 KB: 0001 0000 RPM:0511 W00SFFI00 76 -00 c0000 i0000 clt: 76C adv:05 0768 iac:080 000 00 00 00 EA 0A 01 B0=0000 B1=0393 B2=F63D B3=1868 B4=0000 B5=0000 B6=0000 B7=0000 B8=000B B9=0001 BA=0000 BB=0000 BC=0391 BD=0000 BE=11A8 BF=189E B0=0000 B1=0000 B2=0000 B3=0000 B4=0000 B5=0000 B6=0397 B7=0000 B8=0000 B9=0398 BA=0000 BB=D300 E0=0000 I0=000F I1=0000 I2=0039 I3=0003 I4=0028 I5=0000 I6=0016 I7=0000 I8=000C I9=0000 IA=0003 IB=0000 IC=0000 ID=0000 IE=0000 IF=0000 KB: 0001 0000 RPM:0497 W00SFFI00 82 -00 c0000 i0000 clt: 76C adv:05 0768 iac:080 000 00 00 00 B5 DC 00 E9 B0=0000 B1=03AC B2=FA0E B3=25CC B4=0000 B5=0000 B6=0000 B7=0000 B8=000B B9=0001 BA=0000 BB=0000 BC=03A9 BD=0000 BE=11A8 BF=189E B0=0000 B1=0000 B2=0000 B3=0000 B4=0000 B5=0000 B6=03B0 B7=0000 B8=0000 B9=03B1 BA=0000 BB=D300 E0=0000 I0=000F I1=0000 I2=0050 I3=0003 I4=0029 I5=0000 I6=0016 I7=0000 I8=000C I9=0000 IA=0003 IB=0000 IC=0000 ID=0000 IE=0000 IF=0000 KB: 0001 0000 RPM:0499 W00SFFI00 99 -00 c0000 i0000 clt: 76C adv:05 0768 iac:080 000 00 00 86 AC 2B 62 B0=0000 B1=03C5 B2=FDDE B3=3329 B4=0000 B5=0000 B6=0000 B7=0000 B8=000B B9=0001 BA=0000 BB=0000 BC=03C2 BD=0000 BE=11A8 BF=189E B0=0000 B1=0000 B2=0000 B3=0000 B4=0000 B5=0000 B6=03C9 B7=0000 B8=0000 B9=03C9 BA=0000 BB=D300 E0=0000 I0=000F I1=0000 I2=0065 I3=0003 I4=002C I5=0000 I6=0017 I7=0000 I8=000C I9=0000 IA=0003 IB=0000 IC=0000 ID=0000 IE=0000 IF=0000 KB: 0001 0000 RPM:0498 W00SFFI00 92 -00 c0000 i0000 clt: 76C adv:05 0768 iac:080 000 00 00 00 8C 7C 0D 52 B0=0000 B1=03DD B2=01AE B3=40AF B4=0000 B5=0000 B6=0000 B7=0000 B8=000B B9=0001 BA=0000 BB=0000 BC=03DB BD=0000 BE=11A8 BF=189E B0=0000 B1=0000 B2=0000 B3=0000 B4=0000 B5=0000 B6=03E1 B7=0000 B8=0000 B9=03E2 BA=0000 BB=D300 E0=0000 I0=000F I1=0000 I2=007C I3=0003 I4=002E I5=0000 I6=0017 I7=0000 I8=000C I9=0000 IA=0003 IB=0000 IC=0000 ID=0000 IE=0000 IF=0000 KB: 0001 0000 RPM:0498 W00SFFI00 90 -00 c0000 i0000 clt: 76C adv:05 0768 iac:080 000 00 00 00 F9 4D 0D 00 87 B0=0000 B1=03F6 B2=057F B3=4E0B B4=0000 B5=0000 B6=0000 B7=0000 B8=000B B9=0001 BA=0000 BB=0000 BC=03F4 BD=0000 BE=11A8 BF=189E B0=0000 B1=0000 B2=0000 B3=0000 B4=0000 B5=0000 B6=03FA B7=0000 B8=0000 B9=03FB BA=0000 BB=D300 E0=0000 I0=0010 I1=0000 I2=0094 I3=0003 I4=002E I5=0000 I6=0017 I7=0000 I8=000C I9=0000 IA=0003 IB=0000 IC=0000 ID=0000 IE=0000 IF=0000 KB: 0001 0000 RPM:0497 W00SFFI00 99 -00 c0000 i0000 clt: 76C adv:05 0768 iac:080 000 00 00 00 02 00 B0=0000 B1=040F B2=094F B3=5B73 B4=0000 B5=0000 B6=0000 B7=0000 B8=000B B9=0001 BA=0000 BB=0000 BC=040D BD=0000 BE=11A8 BF=189E B0=0000 B1=0000 B2=0000 B3=0000 B4=0000 B5=0000 B6=0413 B7=0000 B8=0000 B9=0414 BA=0000 BB=D300 E0=0000 I0=0011 I1=0000 I2=00A8 I3=0003 I4=0030 I5=0000 I6=0017 I7=0000 I8=000D I9=0000 IA=0003 IB=0000 IC=0000 ID=0000 IE=0000 IF=0000 KB: 0001 0000 RPM:0498 W00SFFI00 04 -00 c0000 i0000 clt: 76C adv:05 0768 iac:080 000 00 00 00 F2 0D 00 89 B0=0000 B1=0428 B2=0D10 B3=68E5 B4=0000 B5=0000 B6=0000 B7=0000 B8=000B B9=0001 BA=0000 BB=0000 BC=0426 BD=0000 BE=11A8 BF=189E B0=0000 B1=0000 B2=0000 B3=0000 B4=0000 B5=0000 B6=042C B7=0000 B8=0000 B9=042D BA=0000 BB=D300 E0=0000 I0=0012 I1=0000 I2=00C0 I3=0003 I4=0031 I5=0000 I6=0017 I7=0000 I8=000D I9=0000 IA=0003 IB=0000 IC=0000 ID=0000 IE=0000 IF=0000 KB: 0001 0000 RPM:0498 W00SFFI00 99 -00 c0000 i0000 clt: 76C adv:05 0768 iac:080 000 00 00 00 45 BF 2B CD B0=0000 B1=0441 B2=10F1 B3=765A B4=0000 B5=0000 B6=0000 B7=0000 B8=000B B9=0001 BA=0000 BB=0000 BC=043E BD=0000 BE=11A8 BF=189E B0=0000 B1=0000 B2=0000 B3=0000 B4=0000 B5=0000 B6=0445 B7=0000 B8=0000 B9=0446 BA=0000 BB=D300 E0=0000 I0=0012 I1=0000 I2=00D6 I3=0003 I4=0033 I5=0000 I6=0017 I7=0000 I8=000D I9=0000 IA=0003 IB=0000 IC=0000 ID=0000 IE=0000 IF=0000 KB: 0001 0000 RPM:0498 W00SFFI00 90 -00 c0000 i0000 clt: 76C adv:05 0768 iac:080 000 00 00 00 09 8F 2B 00 B0=0000 B1=045A B2=14C1 B3=83B7 B4=0000 B5=0000 B6=0000 B7=0000 B8=000B B9=0001 BA=0000 BB=0000 BC=0457 BD=0000 BE=11A8 BF=189E B0=0000 B1=0000 B2=0000 B3=0000 B4=0000 B5=0000 B6=045E B7=0000 B8=0000 B9=045F BA=0000 BB=D300 E0=0000 I0=0013 I1=0000 I2=00ED I3=0003 I4=0033 I5=0000 I6=0018 I7=0000 I8=000D I9=0000 IA=0003 IB=0000 IC=0000 ID=0000 IE=0000 IF=0000 KB: RPM:0000 W00SFFI00 99 -00 c0000 i0000 clt: 76C adv:05 0768 iac:080 000 00 00 00 00 1B 61 00 3F B0=0000 B1=04BF B2=2BA4 B3=DA56 B4=0000 B5=0000 B6=0000 B7=0000 B8=000B B9=0001 BA=0000 BB=0000 BC=04BB BD=0000 BE=11A8 BF=189E B0=0000 B1=0000 B2=0000 B3=0000 B4=0000 B5=0000 B6=04BF B7=0000 B8=0000 B9=04BF BA=0000 BB=D300 E0=0000 I0=0014 I1=0000 I2=0045 I3=0004 I4=0035 I5=0000 I6=001A I7=0000 I8=0010 I9=0000 IA=0003 IB=0000 IC=0000 ID=0000 IE=0000 IF=0000 KB: 0001 0000 RPM:0000 W00SFFI00 56 -00 c0000 i0000 clt: 76C adv:05 0768 iac:080 000 00 00 00 1B 61 0D 3F B0=0000 B1=04BF B2=2F75 B3=EB51 B4=0000 B5=0000 B6=0000 B7=0000 B8=000B B9=0001 BA=0000 BB=0000 BC=04BB BD=0000 BE=11A8 BF=189E B0=0000 B1=0000 B2=0000 B3=0000 B4=0000 B5=0000 B6=04BF B7=0000 B8=0000 B9=04BF BA=0000 BB=D300 E0=0000 I0=0014 I1=0000 I2=0045 I3=0004 I4=0035 I5=0000 I6=001A I7=0000 I8=0010 I9=0000 IA=0003 IB=0000 IC=0000 ID=0000 IE=0000 IF=0000 KB: 0001 0000 RPM:0000 W00SFFI00 99 -00 c0000 i0000 clt: 76C adv:05 0768 iac:080 000 00 00 00 1B 0D 00 B0=0000 B1=04BF B2=3346 B3=FC6B B4=0000 B5=0000 B6=0000 B7=0000 B8=000B B9=0001 BA=0000 BB=0000 BC=04BB BD=0000 BE=11A8 BF=189E B0=0000 B1=0000 B2=0000 B3=0000 B4=0000 B5=0000 B6=04BF B7=0000 B8=0000 B9=04BF BA=0000 BB=D300 E0=0000 I0=0014 I1=0000 I2=0045 I3=0004 I4=0035 I5=0000 I6=001A I7=0000 I8=0010 I9=0000 IA=0003 IB=0000 IC=0000 ID=0000 IE=0000 IF=0000 KB: 0001 0000
The first B1 is the primary trigger pulsecount. It increments from B1=0317 to B1=04BF so the trigger signal reaches the processor. Maybe some noise also reaches, but it's also possible that something loosely related kicks in (eg. noise through GND when you switch outputs? Check GND and GND5 connections!). MegaTune log is next step to investigate this further.
After RPM:0498, RPM goes back to RPM:0000. In this time, B2=14C1 (handler2k counter, which increments every 1024 usec) goes more than it should in a second: B2=2BA4 (5859 instead of appr +977, that is appr 6 seconds intead of 1) => so serial comm cuts out for 5 seconds ? What's going on there ? Start to document the basic things, eg. firmware version. Did you try upgrade to a recent release or 1.0.38 ?
I dont know how to interpret that but I can tell you the fuel pump relay cut out alot, I bet 10 times or more.