Subject: RPM counter and temperature
From: Rotary Engine
Date: 7/21/2010, 7:37 PM
To: AAA Put this in the To box


Hey Paul,

Check out this part:

http://www2.electronicproducts.com/High-frequency_VCXO_reduces_phase_jitter_by_80_-Article-hlcn01_sep2010.html.aspx

They claim improved frequency stability.  The low end might be too high
for your planned use.

Mark

Yes that is true we are looking for some around 1 cycle per second.


BTW I am getting high speed performance out of the ZBasic the
creator did not dream of. Here is a 100 ns pulse. Pulses
can take a significant amount of time
using the traditional BASIC bit set instructions.
On the order of 10 micro seconds. That can add up when you
only have 8 milli seconds to run the entire EFI program.
Lots of pulses are needed when you are doing real time
machine control.

Here is the test program that does it. It uses the ZBasic psuedo
asm language Register Dot commands.

For some strange reason one must use several in a row.
Perhaps my $5000 dollar scope is just not fast enough
to see them:)

I am very pleased to say the least. ZBASIC has
exceeded my wildest expectations.


public x as long
public val as byte
public val0 as byte

Sub Main()
Register.DDRK = &HFF  ' set the direction out
Register.PORTK = &H00 ' turn off pullups
val = 1
val0 = 0
for x = 1 to 500000000000
debug.print x
  Register.PinK = val
Register.PinK = val
Register.PinK = val
 Register.PinK = val0
Register.PinK = val0
 next x
end sub

Don, how about a implementing a binary
data type such as 00010011 ? It will help
greatly with bit set register dot.
Some assemblers have that feature.

Paul Lamar

-- 
The Rotary Engine NewsLetter. Powered by Linux.
ACRE NL web site. http://www.rotaryeng.net
Youtube key word PaulLamar2
Copyright 1998-2010 All world wide rights reserved.