16F84
or 16F628 with multiple sparks
The scope of the project was that if the modified ignition box
stopped working then I would switch to an extra unmodified ignition box
to avoid getting stranded in the road.
As the distributor already has vacuum and mechanical advance there was no
need to implement advances electronically so the microcontroller's only
objective is to manage current switching through the coil.
Enlarged Fig. 1
Enlarged Fig. 3
The software is assembled for a coil of 5 ms. dwell time so the included
igni1.hex is for a 5ms. coil only.
If your coil has a different dwell time then edit the file igni1.asm
placing the new value of dwell at file and then reassemble it with
mpasm.exe and you will get a new igni1.hex file with your values.
Note: *.hex files are what you input the 16F84 programmer.
If engine speed is below 750 rpm ( more than 40 ms. between firings)
then dwell time will be one eighth of firing interval.
So if engine runs at 500 rpm (60 ms. ) then dwell time will be 7.5ms.
Any of the extra sparks will fire only from 0 to 22.5 degrees of
crankshaft rotation.
So above about 935 rpm there will be no extra sparks.
So from 375 to 935 rpm there will be 1 extra spark
"" "" 234 to 375 "" "" 2
"" "" 170 to 234 "" "" 3
I don't know if those extra sparks are of any use but they are
for free so enjoy them and tell me.
The engine in my car seems to refuse to die at low idling speeds.
Note: if you don't like extra sparks you can edit the igni1.asm file by
uncommenting the indicated line (deleting a semi-colon) then reassemble
the igni1.asm file using mpasm.exe to obtain a new igni1.hex with no
extra sparks
Despite of all this talk I have been using this ignition in my car for a
couple of months with very satisfying results.
If any of the readers builds this ignition let me know how it went.
Note: I have only assembled and tested the 5ms.dwell version so if you
try other values of dwell make sure the values as they show in igni1.lst
make sense
My guess is that software will run for dwells smaller or equal than 31
times 0.256 milliseconds (about 8ms.)
The links are provided to download the igni1.asm and the igni1.hex file.
Also the files mpasm.exe, p16f84.inc and ate.bat are provided for
download
ate igni1.asm
Good luck.