Anybody able to help with coding a pressure sensor

k.gregory

New Member
Joined
Oct 5, 2010
Messages
10
I’d like to install a pressure sensor downstream of my electric fuel transfer pump, and set up the EMS page to display it’s output pressure only when the transfer pump switch is energized. When the pump switch is off, the pressure readout should read “off”. That way a low pressure warning will flash if the pump fails or the tank I’m transferring from goes dry, and it will not be a nuisance message when the pump switch is off.
Undoubtedly there is a way to code this into the EMS sensor file. Anybody have an idea how, or where I can get information to figure it out?
 

dynonsupport

Dynon Technical Support
Staff member
Joined
Mar 23, 2005
Messages
13,226
It is not possible in SkyView to base one sensor on the state of another. So we can't disable an alarm on a pressure sender when another input is in a specific state. You also can't have a sensor normally read in PSI but sometimes have a text state like "OFF".

The best hack I can think of is this: Your switch switches both the fuel pump on and off, as well as switching the signal from the pressure sender.

When the pump is on, have the normal pressure sender signal go to the EMS.

When the pump is off, have a "fake" pressure signal go to the EMS. Have this be 100 PSI or something obviously abnormally high.

Now, with the pump off, you see 100 PSI and no alarm. With the pump on, you see actual pressure.

You could actually set this up as a contact input, and give it names. In that case you could have OFF, NORMAL, and LOW. But you wouldn't be able to see the actual pressure, just one of 3-5 states.

Let us know if any of this sounds interesting and if you need more help implementing it.
 

k.gregory

New Member
Joined
Oct 5, 2010
Messages
10
The idea of switching the pressure signal sounds workable. It certainly beats having a low pressure caution at all times the pump is not in use. How do I get the "fake" pressure to read out when the sensor is off?
 
Top