
Originally Posted by
Mugelpower
Hello famous Skimask,
my LCD is only for controlling the principal of transmission.
I got 3 Pics together:
1. : getting Input, storing freq in VAR "CNT" and sending out with Debug
2. : taking the VAR "CNT" with Debugin, calculating a Delay and sending out a 1ms Pulse
after RB0 gets High + Delay time.
3. : taking the VAR "CNT" and showing on LCD just for control purposes
Showing my extremes:
a)cranking a 4-cyl. engine makes about 180/min. with a fixed 50° before OT input signal we need a delay of 37 ms until Ignition which makes 10° before OT which is great for starting an engine.
b) 4cyl 8000/min: we need only 0.2ms Delay after fixed 50° Input signal to get 40° before OT Ignition which may be great for a racing engine.
The delay has to include the PICs intern calculation delay.
The calculation could be done in the first PIC which measures only 10 times a second
BUT the "Execution PIC" has only about 1.5 ms for receiving the Var and being ready for the next action.
And an 8cyl at 6000/min leaves only 0.8 ms.
thats why I need transmission speed
Hi Mugelpower,
.8ms, interesting number, how did you get that? 8cyl eng @ 6000 rpm fires 4 times per rev so 6000 * 4 = 24000 per minute 24000 % 60 seconds = 400 pulses per second so 1000 ms % 400 = 2.5 ms No?
If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
Bookmarks