RC Aircraft Navigation Lights

by Nick DiVitto March 26, 2018

RC Aircraft Navigation Lights

Wanting to light up the night sky with your RC Plane, but scared of losing track of it? Well you are in luck! TinyCircuits is back with a full on tutorial on installing RC Aircraft Navigation Lights!


DESCRIPTION

This project uses the TinyLily Mini or TinyDuino platform to add functional navigation lights to your flying radio control model.

The red and green LEDs (A) on the left and right wingtips respectively remain constantly on. The white LEDS (D) at the backs of the wingtips blink quickly, while the white LED (E) at the tail blinks at a slower rate. The red LEDS (B) on the top rear and bottom front of the fuselage pulse slowly to mimic a rotating beacon. Finally, the two white LEDs (C) at the front center of each wing can be controlled by an RC channel from your receiver, or set to be constantly on or off in the Arduino code.


 (Photo Credit: http://pages.suddenlink.net/billwhite/RCNavLights.htm)

The board will be powered by your RC receiver through a servo connector. The switchable Landing Lights will also  be controlled through the same connector.

In this tutorial I am using a TinyLily Mini Processor and USB adapter, however you could alternatively use a TinyDuino Processor, USB Board, and Proto Board.

To learn more about the TinyDuino Platform, click here

To learn more about the TinyLily Mini Platform, click here


TECHNICAL DETAILS

    Power Requirements

    • Voltage: 5V

    Pins Used: LED letters correspond to illustration above.

    • GND - Ground for servo connector and LEDs.
    • VCC - +5V power from servo connector, and to red and green wingtip LEDs.
    • Digital 0 - Positive connection for Landing Lights (C)
    • Digital 1 - Positive connection for white Wingtip Strobe Lights (D)
    • Digital 2 - Senses any change from the servo signal wire.
    • Digital 3 - Positive connection for red pulsing beacons (B)
    • Analog 0 - Positive connection for Tail Strobe Light (E)

    Dimensions

    • TinyDuino: 20mm x 20mm (0.79 inches x 0.79 inches)
    • TinyLily Mini: 14mm (0.55 inches) diameter
    • TinyDuino Total Weight: 2g (0.018oz.)
    • TinyLily Mini Total Weight: 0.5g (0.07oz.)

    Materials


    • 5x White LEDs (3 or 5mm)
    • 3x Red LEDs (3 or 5mm)
    • 1x Green LED (3 or 5mm)
    • Thin Heat Shrink Tube
    • 9x 150 Ohm Resistors
    • Thin Wire
    • 1x Servo Connector
    • Micro USB cable
    • TinyLily Mini Processor and USB Boards

    or

    • TinyDuino Procesor, USB, and Proto Boards

    Tutorial

    If you're using a servo wire that is yellow, red and brown, yellow is signal, red is +5V, and brown is ground. If your servo wire is white, red and black, white is signal, red is +5V, and black is ground.

    1. Setup: If you haven't already, download the Arduino IDE from here, and download the RC Navigation Light Code below and unzip the folder. Connect your processor board to the USB TinyShield and connect them to your computer with a micro USB cable. Open the RC Navigation Code in the Arduino IDE and, under the "Tools" tab, select "Arduino Pro or Pro Mini" for Board, and "Atmega 328 (3.3, 8MHz)" for Processor. For Port, select whichever com port your board is plugged into. If you are unsure, you can check Device Manager. 

    2. Program: Once everything is connected as outlined in the above step, press the upload button near the top left of the Arduino window. The code should compile and program onto your processor board. This may take a few seconds.

    3. Solder Servo Connector: Once the processor is programmed, it is time to start soldering! First, solder the servo connector wires. If you're using a TinyLily Mini, you will be soldering on the processor  board itself. If you are using a TinyDuino, you will be soldering to the proto shield. In either case, the power wire will be soldered to VCC, the ground wire will be soldered to GND, and the signal wire will be soldered to Digital pin 2. 

    3A. If you're using a servo wire that is yellow, red, and brown: yellow is signal, red is +5V, and brown is ground. If your servo wire is white, red, and black: white is signal, red is +5V, and black is ground.

    5. Solder Resistors to LEDs: LEDs require a resistor soldered to them in series to prevent damage to the LED (i.e. current limiting resistor). You can buy LEDs that are pre-wired with a current limiting resistor already added, but if you have normal LEDs, you will need to add resistors yourself.

    5A. To Add Resistors Yourself: Trim one lead on the resistor to be about 5mm long, and trim the long leg on the LED to be about the same length. The long LED leg is the positive lead. Solder the trimmed leads together. Do this to all of the LEDs and put heat shrink tubing over the other lead to prevent it from toughing the solder joint.

    6. Attach Wires to LEDs: Trim the leads on the LEDs and resistors so that there is about 5mm exposed, and solder some thin wire to each lead. It would be best to use two different colors of wire, one for the positive wire, and one for ground. Measure the wire against the aircraft wings and fuselage and give yourself a little extra to work with. you can trim excess wire later. Use the illustration above to plan out where all of the LEDs should be mounted on the aircraft. cover all solder joints and exposed leads with heat shrink tubing. 

    7. Route Wires and Mount LEDs: Once all LEDs have resistors, and wires that are roughly the correct length for their position, you can begin to mount them and route the wires through the wing and fuselage. It helps to use a stick or a stiff rod to fish the wires through tight spaces. You may need to poke holes for LEDs to stick out of. Fasten them with hot glue. Route all of the wires to the location where you want to mount your processor board. This should be close to your RC receiver so that it can be connected by the servo cable.

    8. Solder LED Connections: Now, solder the wires to the processor board. Group all of the ground wires together and solder them to the GND terminals on the processor (TinyLily Mini) or Proto Board (TinyDuino). Next, solder both positive wires for the red and green wingtip LEDs to the VCC terminal. Solder both positive wires for the white wingtip LEDs to digital pin 1, the positive wire for the white tail LED to analog pin 0, both positive wires for the red LEDs on the top and bottom of the fuselage to digital pin 3, and both positive LEDs for the white LEDs in the middle of the wing can be attached to digital Pin 0. Pins used are listed about for reference.

    9. Fly! Once everything is soldered and the servo connector is plugged into a spare channel on your receiver, you're done! When power is supplied to the receiver, the lights will begin to operate. Flipping the switch on your transmitter that corresponds to the receiver channel that the processor is plugged into will turn the Landing Lights on and off. 

    Want to know more? You know you do, so click the pic above and it'll send you on your way to the shop link!

     


    Downloads



    Nick DiVitto
    Nick DiVitto

    Author



    Also in Learn

    SRAM TinyShield Tutorial
    SRAM TinyShield Tutorial

    by Nick DiVitto July 02, 2018

    The SRAM Tinyshield allows you to add memory to your TinyDuino projects that can read and write at a virtually instant rate. Here's...

    View full article →

    Servo Controller TinyShield Tutorial
    Servo Controller TinyShield Tutorial

    by Nick DiVitto June 26, 2018

    Learn how to control servos with TinyDuino using the Servo Controller TinyShield!

    View full article →

    Battery Voltage Reading Using the TinyScreen+
    Battery Voltage Reading Using the TinyScreen+

    by TinyCircuits Staff June 15, 2018

    View full article →