Subject: PICAXE to convert PWM signal to 0-5v
From: Rotary Engine
Date: 12/26/2007, 8:26 PM
To: AARotary Engine



Paul,

I installed Electronics Int'l capacitive fuel probes in my Lancair.
They output a PWM signal.  I wanted to use the Blue Mountain EFIS/One to
display fuel quantity in each wing tank.  BMA says this won't work.  I
tried using the two frequency channels on the EFIS/One and they seem
work great...on the ground.  The problem is that in flight, the fuel
readings gradually increase.  Once back on the ground, they will return
to normal.  Needless to say, this isn't good.  Others are using a
digital-to-analog converter for this task , connected to voltage
channels on the EFIS, and report that they work fine.   Although they
have reported some erratic readings when transmitting.

I was curious if I could use the PICAXE to read the pwm signals and
output a 0-5v signal to be read by the EFIS?   Or, is there a much
easier way to accomplish the task?  I would appreciate your thoughts as
my knowledge of electronics is a bit limited.


Thanks,
Mark S.
14 hrs

Well you need to find out why the readings are increasing.
I suspect the probes. Long aluminum coaxial probes contract when cold
and electronic devices can drift when the temperature changes. Where is
the electronic device that converts the capacitance change of the probes
to a PWM physically located. Best is in the cockpit where temperature changes
are a minimum. What brand probes are you using?

I read this stuff.

http://www.bluemountainavionics.com/talk/archive/index.php/t-291.html

Sounds like Greg wants a 0-to 5 volt signal.

No problem using a PicAXE to read, display or condition the PWM data
to a 0-5 volt signal but the D to A part would be the same as
a rectifier (diode) and capacitor. The capacitor and resisters involved
need to be temperature stable types. There is no direct digital to
voltage (D to A) output on the PicAXE.

It would be much better if Greg's (BMA) stuff took in a frequency or a PWM
as then the system would be totally digital. A PicAXE could translate
almost any frequency to almost any other frequency. It could also
translated a PWM to a frequency or vice versa. I would like to discuss it
with Greq but I don't want to "join his BBS" :) I don't require people to join
here so he should also not require people to "join his BBS" :)

Paul Lamar ...No rotor no motor.

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