HOODEY wrote:Finally upgraded processor two steps. Pic18f452 to pic18f4520 to pic18f4525.
It can log twice as much detonation data to ram.
Faster ADC capable of converting knock value to digital value in 12us down from 30us.
Next step will be creating a user manual as this device has become very complex.
Single channel ignition retard built in. When knock is detected timing is retarded until knock goes away.
Then the retard is slowly taken away.The LCD displays the amount of retard.
so will you be making this unit to sale to all the Megasquirt users and also will it work with MS for fine tuning the engine.
If yes to the above question then how affordable will this be
m2 extra v3.57 3sgte full sequential injection V1.1A P&H Board
full sequential spark low current c.o.p.
holset turbocharger
im not up on the MS2extra code aspect of things and how much headroom is left with the MS2 processor but i wonder if there is possibility of changing that input pin to trigger an interrupt. then you wouldnt need 60ms to make sure that the MS sees the knock signal. it would also lessen the ignition cycles/knock events before the MS begins to pull timing.
if the knock pin is triggered, say 1ms after it was sampled and all cyls are knocking, you could have ~6 knock counts at, say, 4000rpm on a 4 cyl before the MS even began to respond.... 12 if you were at around 8000 rpms on a 4cyl.
thats a fair amount of knock in my opinion.
Brian
Brian Bucar
88 Plymouth Reliant K 2.5 Intercooled Turbo 5-Speed
02 Subaru Forster Winter Rat
02 Honda CR-V Turbo Project
I don’t send a knock signal on every knock count because it will overcompensate my timing (comparing one TDC to the next). I do it based on knock counts after all conditions are right for knock. I will eventually upgrade though.
Because the knock pin is an ADC it will take longer, but I wonder if input PE0 or PE1 is faster.
It’s coming along good. I added an error checking tool for my crank and cam wheel. I have everything for the knock sorted fine but I switched again from a DSPIC24f@40MIPS to a DSPIC30f@30MIPS. (Main reason was 3.6v max on the ADC pins) I been spending some time with small OLED’s and LCD’s to view graphs/data, so I will add it sometime in the future. My current board is done with the 8x2 LCD and all connectors are done with ribbon instead of hard wire, I just have to make it. Will post soon.
Dspic30f has 5 volt pins? What specific pic are you using and what programmer are you using to program it.
I use real ice and pickit3, and yes all dspic30 operate at a max of 5.5v.
To keep it simple I’m looking at the frequency and voltage differences in a certain window after TDC. I haven’t had much time to work on my new design, but I have worked on many different breakout OLED boards and COG units to display more info as the 8x2 display didn’t show enough info. (Leaning towards the COG units with SPI) Still a work in progress:
Also found the pic I had with the DSPIC30 and ribbon cable connectors with LCD you asked me for (Dont have the ribbon connectors with me), however I scrapped this board and going to have a 2 layer made with more options sometime soon.