Thread Tools
Mar 18, 2011, 04:52 PM
Registered User
Thread OP

Arduino Nav Light Controller

I had an Arduino Mini Pro laying around and I needed some navigational lights.

I wrote and debugged the attached in a few hours.
Its easy to change.

The Arduino maybe a little pricy at $24. But it is flexible.

Put a resistor inline with whatever type of LED you're using and connect it directly to the pins.


Sign up now
to remove ads between posts
Mar 20, 2011, 01:58 PM
Dave the Rave
dmccormick001's Avatar
What kind of file is that? .pde?
Mar 20, 2011, 05:39 PM
400' + is where fun starts.
Martin Y's Avatar
it opens with Arduino software.
Mar 20, 2011, 07:21 PM
Registered User
i think if you rename *.pde to *.c you can use Winavr or AVRStudio but you'll need to add 'make' file for winavr.

Still i could have missed read another thread
Mar 20, 2011, 07:45 PM
400' + is where fun starts.
Martin Y's Avatar
Here you can open with notepad.
Last edited by Martin Y; Feb 25, 2014 at 08:52 AM.
Mar 20, 2011, 11:25 PM
Suspended Account
Thanks Chuck
Mar 21, 2011, 01:40 AM
Registered User
Thread OP
Sorry, I thought Arduino's were more popular.

Here is the one I used, but there are several sizes.

Here is the GUI to program it. Though you can use text editors, etc, as outlined above.
May 13, 2011, 01:36 PM
Night Flyer
phil007's Avatar

Do have a video of your aircraft running your Arduino programming? Thanks for sharing you code.

May 16, 2011, 01:39 PM
Registered User
Thread OP
No, sorry. Not right now. Next time I have one running I'll post it, but it may be a few weeks.
But the code is pretty self explanatory.
Some stead light pins.
two flashing pins which flash at slightly different rates so they are not synced like a real aircraft.
And a LED revolving light simulator, which ramps up the brightness from zero to 70%, jumps to 100%, jumps back to 70% then ramps back down to 0. Looks like a revolving

May 18, 2011, 02:26 PM
Registered User
Rendy's Avatar

May 19, 2011, 01:44 AM
Registered User
Thread OP
Wow, thats running much faster than on the Arduino I used.
I guess there is different timing per Arduino.
Looks twice as fast.

You can adjust it if you look at the code.
May 19, 2011, 11:32 AM
Registered User
Rendy's Avatar
I ran your code on Arduino Uno (16Mhz). The input signal is the PWM of channel 1 servo.

Originally Posted by chuck99z28
Wow, thats running much faster than on the Arduino I used.
I guess there is different timing per Arduino.
Looks twice as fast.

You can adjust it if you look at the code.
May 20, 2011, 09:17 AM
Closed Account
I love my BoArduino. Basically the same thing, just for a breadboard. I've been toying with the idea of using it for a light controller. Code looks great!
Jun 01, 2011, 10:25 PM
Registered User
If i need to drive 1-watt LED, i can't just add resistor to this 50mA pins directly.

Does anyone know of a driver circuit to drive a constant current to a 1-Watt LED (say 300~350mA)?


Is it necessary to have constant current driving the LED as the driving from the pin is PWM? Just use FET to turn the LED ON-OFF? Got circuit i can use?
Jun 02, 2011, 01:53 AM
Registered User
Thread OP
For the big leds, I use a transistor circuit.

Drive the transistor's base with the Arduino pin (nneeds a resistor).
Switch the current for the LED with the collector/emitter. This also still needs the proper resistor for the LED current.

The good thing about this, is it still works with the rotating light simulator.

Quick Reply

Thread Tools

Similar Threads
Category Thread Thread Starter Forum Replies Last Post
Discussion Brushless Motor+ Speed Controller+ Arduino Uno= Problems d4n1s Power Systems 3 Nov 26, 2010 02:03 PM
Discussion arduino and 3in1 controller unit from lamav3 heli sk8tom Coaxial Helicopters 0 Nov 01, 2010 06:28 PM
Sold SOLD Light G3 W/controller and Add on. -S- Aircraft - General - Miscellaneous (FS/W) 2 Sep 12, 2010 09:46 AM
Discussion iPad-controlled blimp - Arduino controller flitelab Multirotor Drone Talk 0 May 19, 2010 11:52 AM
scale nav light placement cathode Scale Kit/Scratch Built 2 Nov 22, 2002 12:54 PM