RE: CDI gr8flyer55
I've finished the first alpha/beta version of the PIC 12F683 version in C.
<u>Features...</u>
-Runs at 8 MHz
-Completely interrupt driven
-Uses the 16-bit timer to time from the top end of around 15K RPM all the way down to about 916 RPM.
-Uses a 256 point, 16-bit table for timing
-The timer provides 256 uS resolution with rounding on the 8 low bits to provide a max error of 128 uS.
-Using the high 8 bits of the timer naturally divides the uS per rev by 256. (then rounds with the high bit of the low 8)
-This works great for using Digi-Degrees (1= 360/256 = 1.4 degrees), which uses very little math on the PIC
-Calculated time delay for 120-915 RPM, under 2 RPS the engine is assumed to have died.
-Start mode for timing the first spark
-Spreadsheet for creating tables and calculating user settings
To use this version you need Microchip's XC8 compiler to compile the code, and a spreadsheet program to open the supplied spreadsheet to edit your table.
You should edit the source to put in your custom ignition curve and set your settings for start mode, and the low RPM advance. MSD is not working yet, so don't mess with those settings.
I have NOT tested this on an engine yet, but it works well in the simulator. I'm just putting this out there to get the ball rolling. You WILL have to change the settings, the default ones probably won't work on a real engine unless you're lucky. There's no documentation except comments in the source code right now, so if you have any questions feel free to ask.
Whatever this file attaches as, download it and rename it to 12F683_v0.8b.zip
-Jake
EDIT: Old version removed, use newer version below.<br type="_moz" />