PDA

View Full Version : Landing Gear Light Relay



Rex Flyer
09-30-2009, 12:56 PM
I'm building a glass panel Baron G58 cockpit.

Anyone have or know where to get a schematic for a relay that will affect the landing gear lights as you transition the gear up or down? For my purposes, when the gear is switched to the down position, the relay would allows immediately the lighting of the red "in transit" light, then after 3 seconds the red light would go out and the green "gear down and locked" lights would come on. Ideally, the three green lights would come on in a staggered fashion within split moments of each other. When the landing gear is switched to the "up" position, then it would be opposite (and therefore a different relay I suppose). The green lights would go off immediately, and the red "transition" light would stay lit for 3 seconds, then go out. Placing switches for two relays doing this would be tricky - I imagine.

Alternatively, and perhaps cleaner: Is it possible to tap into FSX and have FSX turn the lights on my cockpit panel landing gear on and off?

Kerbo
09-30-2009, 02:36 PM
The short answer to both of these is, yes that should be possible. ;)

I don't know of any off the shelf circuit that will do what you want, but this would be a pretty simple circuit. If you want to go that route I'm sure I (or one of the real wizards on here) could produce a schematic.

FSX exposes just about everything through the SimConnect API or you can use FSUIPC (http://www.schiratti.com/dowson.html). I don't have the SimConnect docs handy but I think you could have a program that monitored the gear state (IIRC it is a float with 0.00 being up and 1.00 being down) and set the lights appropriately. There is some sample code here (http://workbench.freetcp.com/archives/178) from my early tests of using SimConnect for switch panel inputs. That and the various SimConnect tutorials on the net should get you started if you are interested in programming.

I am not at this stage yet but plan to have a gear lever on my panel. Keep us posted on your progress.

Ronson2k9
09-30-2009, 03:02 PM
Sounds a bit like a timer would be used to activate each section of the gear movement. The switch as far as FS is concerned is just one click. So a timer circuit 1 for up and one for down. If your using multi colored LED then a voltage change I believe is in order for the 'lights' to change color.

I would be interested in this as well as I want to build a similar set up for my wipline gauge.
http://i416.photobucket.com/albums/pp244/Ronson2k3/Cessna%20T206H/Wipline3450GearControl_colored.jpg

Sequence I'm thinking..

Gear knob up.
- Nose and main 'GREEN' go out
- Gear Advisory light comes on
- Main 'BLUE' comes on
- NOSE 'BLUE' comes on

Blue = Ready to land on WATER
Green = Ready to land on LAND (Asphalt)

Dim I'm thinking so the LED's don't blind you when flying at night.. :)

Any help would be great though as to a timer circuit to accomplish that. Something adjustable in time so the sequence can be made to fit the actual landing gear transit times of various aircraft.

Rex Flyer
09-30-2009, 04:30 PM
Thanks WRILEY! That is helpful. I'm still in the research, drafting and parts buying mode. As soon as the garage is cleared out (ughhh!) I will be able to start puting things together. I'll keep you and all others who have shown interest and helped posted. It looks like late November at this point.

Rex Flyer
09-30-2009, 04:35 PM
See WRILEY's response. I think it is very helpful in that I believe it best, and maybe even easier to do the sequencing through FS. Of course, it is not just about programming, but integrating with some hardward. As for programming - I know next to nothing. Luckily the guy across the street's a brain. His name is Craig and someone in the neighborhood told me he is the "Craig" from "Craig's List". Might be. I need to ask him one day.

Kerbo
09-30-2009, 04:41 PM
It sounds like one generic circuit might fulfill both of these needs. I'm thinking of a module that has an input for gear handle position and outputs for up, down and transit. I'll post a schematic in a day or two.

Rex Flyer
09-30-2009, 05:14 PM
That would be awesome! I searched a lot and saw some relays that looked like they might work, but my knowledge is unfortunately to limited to know one way or the other. Your schematic would certainly become a bit hit in this forum.

Rex Flyer
09-30-2009, 05:55 PM
Thinking on this a bit more, it seems that if through programming a gear light could be cut off so as to demonstrare a "failure" programmed into the FS, that would help with realism.

Rex Flyer
09-30-2009, 06:02 PM
:-|
Thinking on this a bit more, it seems that if through programming a gear light could be cut off so as to demonstrare a "failure" programmed into the FS, that would help with realism.

I'm still thinking. If the lights were hooked up in parallel, then one lead to each gerar light could be tapped to open if that particular gear were to fail in the FS program. That seems doable, while still using a relay board to otherwise govern the lights.

Kerbo
10-01-2009, 12:49 AM
Here is a schematic of the prototype gear indicator module that I breadboarded tonight. It needs more work, such as output transistors to drive more than one led, dimming, etc, but does basic functionality. This design uses 3 common chips, a 555 timer, AND gate (7408) and an inverter (7404) along with a handful of resistors and capacitors. A small micro-controller would be more versatile but not everyone has a chip programmer.

The operation is as follows:
1) switch is open (Up position)
The Up LED is lit and others are dark

2) switch is closed (Down position)
The Down LED is lit and others are dark

When the switch is thrown from one position to the other the transition LED is lit for a short time and the others are dark. The time delay for transition time is adjustable from around 1.5 seconds to 15 seconds by trim pot R2.

I'll clean this up into the "real thing" as time permits.

http://winchester.homelinux.net/images/gear_indicator_v1_0.png

Ronson2k9
10-01-2009, 08:07 AM
Very cool and thanks loads..

Rex Flyer
10-01-2009, 04:33 PM
I can't wait to see the final. I'm learning a lot of new skills lately, but it would have taken me weeks to MAYBE figure out some relay. I hope I can return the favor one day. Since I've been part hunting, maybe I could help you there.

Kerbo
10-01-2009, 04:40 PM
Here is the final schematic. This version has open collector outputs, which lets you drive any kind of load for the Up, Down and Transition outputs (up to 500ma each).

If you have questions about building this or hooking it up let me know. If you know electronics and see mistakes or have suggestions for improvement please let me know.

This circuit is pretty easy to build on perf or proto board but if there is enough interest I could do a run of printed circuit boards. These would cost $10US plus postage to your location. PM me if you are interested.

RV Fan
08-12-2010, 01:43 AM
I am interested in your landing gear light relay board. How do I go about buying one ?
travelair@comcast.net or 253-858-6658
RV Fan

Kerbo
08-12-2010, 05:49 PM
I am interested in your landing gear light relay board. How do I go about buying one ?
travelair@comcast.net or 253-858-6658
RV Fan

This is the first request so I have never had any PCBs made (it costs around $60 per run of 10-20 boards). I could possibly do a one-off build for you on protoboard, check your email.

Flyboyandre
12-06-2010, 02:37 AM
This is the first request so I have never had any PCBs made (it costs around $60 per run of 10-20 boards). I could possibly do a one-off build for you on protoboard, check your email.

I would be very interested as well. Andre.nordheim@hotmail.com

Kerbo
01-18-2012, 10:51 AM
This is an ancient thread but a user contacted me with problems he was having with the schematic and I wanted to post an updated version. After a little more testing I will also be ordering some PCBs if anyone is interested (PM me). Once they are ordered I will have an idea on cost, but something like $10 (USD). Attached is an updated schematic as well as some renderings I made of the proposed PCB (shown populated but only the bare PCB will be available for purchase).

Happy landings

Jim NZ
01-18-2012, 02:25 PM
Have a look at ,,
http://www.jimspage.co.nz/uno1_interface.htm
The gear indication is "true" as it monitors each wheel position so the "stagger" is what is actually taking place.
The gear commands are a true "up" and "down" and not a toggle.
There is no need to wire up what you don't want.
The card it'self is only about $25 and available at lots of good hobby / robotics / electronic shops

Kerbo
01-18-2012, 05:32 PM
Have a look at ,,
http://www.jimspage.co.nz/uno1_interface.htm
The gear indication is "true" as it monitors each wheel position so the "stagger" is what is actually taking place.
The gear commands are a true "up" and "down" and not a toggle.
There is no need to wire up what you don't want.
The card it'self is only about $25 and available at lots of good hobby / robotics / electronic shops

Cool project, thanks for sharing.

Jim NZ
01-19-2012, 05:23 AM
Thanks William but also thanks to you for your great website.
It's on my bookmark list from months and months ago. :)
Lots of info there and your site is one of the very few that supplies source code for other people to use. VERY rare now-a-days. Well done . !! :)

A lot of people haven't heard of the Arduino cards and being so cheap and versatile (and available world-wide) I just though I would fire that in. It may help.(or not ?)

Thanks again William ,,, Jim

Kerbo
07-06-2013, 12:02 PM
Sorry to resurrect this old thread but I'm attaching the Eagle files.

No Longer Active
07-06-2013, 05:04 PM
Wriley, where you been hiding? Lol, not seen you about in a long time.....

Ecosta
07-06-2013, 07:55 PM
Sorry to resurrect this old thread but I'm attaching the Eagle files.
Thanks very much Riley!!
One queston: What programs open The files with extension *.sch and *.brd ?
[]`s
Ecosta

Kerbo
05-08-2014, 02:24 PM
I occasionally get requests for these files so have uploaded them to GitHub: https://github.com/wriley/Gear_Indicator

/relurk

geneb
05-08-2014, 05:57 PM
If those boards are 5cm x 5cm or less, you can get 10 made for $10 at Seeedstudio. g.