Subject: Arduino EFI status
From: rotaryeng
Date: 7/30/2013, 4:29 PM
To: AAA-rotaryeng



How is it coming Kevin?


Paul Lamar

Kevin,
I am new to the group but been interested in rotary engines for a long
time, just have not done anything about it yet. I live out in Estacada
and would love to talk to you, since I am in your area, and learn what I
can. I am getting ready to start building a Bearhawk Patrol.
Thanks
Doug




OK, first the EFI:

Many of you know I have been talking with a race car builder/ computer
programmer that decided to write his own EFI. After many conversations
and emails with him (Fred) I have what I need to complete the
system (I
think. The adage "you don't know what you don't know bites me
regularly). The main board is, currently, the Technological Arts board
with XGate. XGate is important because it takes many of the basic
interrupt driven calculations off of the main processor. Such as
reading
the input from a sensor and converting that to a useable digital input
for the main program. I have almost completed the hardware
portion, and
have written a couple of header files to define parameters specific to
the rotary. The only really important thing I have to do to the
program
now is to add an input for the pot for manual mixture control.

I think if I can isolate the XGate part and re-introduce this section
back into the main code or at least a header file, I can get the
system
to run on an Arduino Mega. Plenty of speed, plenty of IO and ADC
ports.

While I am building and coding, the interior goodies in both
planes are
going to be controlled by an Arduino Mega- LED lights, strobes,
climate
control, etc. That is fodder for another thread though :)

http://technologicalarts.ca/__shop/ <http://technologicalarts.ca/shop/>


Second, Doug feel free to call, email or drop by. I am building 2
Wheeler Express planes. One is at my house in Tavernier just below Key
Largo, and the other is at the Homestead General Aviation airport-
X51.
The one at my house is being built with a Mazda 13b P port that
will be
an EFI turbo intercooled plane. The other I bought partially built
with
a Lyc IO360. I went from building one plane to building 2 at one time.
Unfortunately I like the challenge.


Kevin Alderman

==============================__==============================__==
The MC9S12XDP512 introduces the XGATE processor into the S12 line.
XGATE is a Reduced Instruction Set Computer (RISC) processor that is
designed specifically to handle certain types of Input/Output (I/O)
requirements that an application might have.It is not just
another CPU
made for running programs.

Most user applications can use the standard S12X CPU by itself to
handle
their I/O needs.It is for that reason that many development
environments concentrate on the S12X, without providing XGATE support.
The only time one has to start thinking about the XGATE processor
is if
there is a need for it.

For example, if an application has a requirement to handle an
interrupt
source that occurs very often, then this could be a situation that
requires the use of the XGATE processor.Otherwise the S12X processor
ends up using most of its processing power handling just this one
interrupt.Of course, if using XGATE still isn't fast enough, one may
end up having to resort to a hardware solution, such as GAL, FPGA, or
ASIC circuitry.XGATE bridges that gap.

So if you have the need for speed with one or two I/O types, then
XGATE
is for you.Don't use XGATE for a lot of different I/O requirements
though.It's not designed with that in mind.The reason for this is
because of the way it works.Most of the time the XGATE processor
actually just sits there doing nothing.It only starts running
when an
interrupt destined for it gets triggered.At that point, XGATE will
begin execution of the routine to process that interrupt.
--
==============================__==============================__=====


Sounds a little like my old interrupt drivenroad test system.

Paul Lamar


Hi Kevin,

Keep us posted on your progress.I have a 13b P Port on the back of a
modified Long EZ.I am looking for a good fuel injection/ ignition
controller.I have Tracy's EC 4, a simple version of the EC3 just to
get it running.I started playing with Arduino and would like to build
an engine monitor with it. It seems that the Arduino is user friendly
and there is a lot of activity so one can learn form others on line.I
hae a MAF sensor in the intake tract and could record data and maybe
incorporate it into the injection code.

Joe Berki
Limo EZ


Joe,

I have an Arduino Mega ADK- which means it has lots of I/O ports, and
most importantly has an included chip to talk to android devices. In
fact, the android can control devices connected to the Mega as well as
display what the Arduino is seeing.I started with an Uno, but it only
has 6 analog input ports. Not enough.

The plan is simple- use the Mega to monitor and/or control certain items
in the plane- LED lights, engine sensors, fuel sensors, etc. Use a 7
inch android tablet to display/ control the stuff. A slide for lighting,
buttons for on or off, etc. all on a touch screen. With a built in GPS,
it can monitor speed and fuel burn to give an approximate distance
before you need to be looking really hard for a landing spot :).

For plane 2, the lighting will be modified after the system reads the
LDR- i.e. when it is dark outside, the interior lighting will be
primarily blue (or red if you want). At dusk if you want lights there
would be more white, etc. There are also lights under the wings that
come on when the door is open, if it is dark enough outside. I connected
2 servos to the air ducting, and a temp sensor to the board. Not very
difficult to control the temperature of the cabin this way.


As I get it done, I will let you guys know. Right now I have to get
plane 2 out of the hangar which requires me to finish the paint job. One
pic is what it will look like next week, one is what it looks like as of
today, and the wing tips I painted this weekend.

Kevin Alderman



--The Rotary Engine News Letter. Powered by Linux.
 ACRE NL web site. http://www.rotaryeng.net
 You Tube http://tinyurl.com/beqqxas
 Copyright 1998-2013 All world wide rights reserved.