ArduCopter needs life. it needs to be able to communicate with is pilot. Live information can be displayed to the pilot using colors and patterns through 1 RGB_LED. 7 easy made colors can be used to identify the state of the quadcopter. RGB_LED's can also be used as the navigational lights as well. Although this is a good idea their is a main drawback.
It is hard to see far away or in bright light, but still it would be a useful tool for the pilot and spectators.

What information and how.

Battery:
The most vital information while flying is battery life. How much time is left. The APM's battery protection could be linked to the RGB_LED to display real time voltage through color. The RGB_LED starts out solid GREEN. Battery is fully charged. As the battery drains the color of the LED will fade from GREEN to YELLOW to RED, and LAST flashing rapid RED. 

Battery:
GREEN = Battery FULL
YELLOW = Bat. half way
RED = Bat. LOW
Blinking RED = Bat DEAD

GPS LOCK:

This would through in a YELLOW Blink if not locked.
If GPS is locked no Blink
If GPS in not locked Blink YELLOW

PPM signal: 

This would add in a rapid, rapid BLUE blink.
If PPM signal is good no blink
if PPM no signal rapid, rapid BLUE blink.

Motor not armed:
Battery, GPS, and PPM status displayed

Motors Armed:
RAPID BLINKING RED / WHT while under 40% throttle

If above 40% throttle Battery, GPS, PPM, and flight mode is displayed.

Flight Modes:

Each flight mode can be assigned a color and/or pattern to identify while flying.

The Health Beacon would also make it easier to test Tx setups on the ground.

Operation:

Before flight motors not armed.

 
 As soon as the battery is connected the Health Beacon displays battery status in solid color.  If GPS lock is not detected the Beacon will blink GREEN with YELLOW.
If no GPS lock and no PPM signal then LED will blink GREEN, YELLOW AND BLUE.
If the battery is full, GPS and PPM are good then Solid GREEN.
Solid GREEN = ready to fly
 
   While in flight.
Once motors are armed the beacon rapidly flashes RED / WHT to indicate that it's armed and is about to take flight.  STAY AWAY......  This is a good safety indicator for bench testing too. Once the throttle is over 40% Beacon changes back to Live status mode.  If either GPS or PPM signal is lost Beacon with flash.  If pilot changes flight mode beacon will flash assigned color to indicate what flight mode is in use.  During the flight the pilot can observe the color of the Beacon to determine when is a good time to land. when the Beacon color is RED its time to land.  If beacon is blinking RED Land ASAP.
connection to APM:
The RGB_LED uses 4 wires ( 3 for color) 1 for power.  The RGB_LED can connect to the existing NAV light connection anlong with the nav lights.
 

Please feel free to shoot this to peaces.

 

Views: 365

Reply to This

Replies to This Discussion

The system has three LEDs already to tell you how it is (if the code initialisation goes through the same as APM).

During the APM startup procedure we know when different things are initialising because of the pattern produced by the LEDs (and when everything is ready to fly). Whilst it does not give the wealth of information you want it does indicate the necessary parts. Does the ACM code not have this startup indicator?

 

As for using an RGB LED to do what you wish, do you really believe something 5mm in size will be easily visible on a moving craft during the daylight at speed? I certainly don't however if you wish to pursue this idea it would be relatively easy given the wealth of connections free on the top of the APM IMU board.

There are two PWM outputs spare (analogue write will allow variable control) so thats two colours with lots of variants not sure you will be able to have a third variable output but on and off should produce twice as many colours as without that colour. The only thing left is for you to do the coding, I'd suggest doing the mode colours first as that is easy.

I agree daytime is a killer @ more than 30-40 feet,  still it is pretty bright and it would be nice for the tactical flying.  If you just want to go out and fly around for the hell of it then no it's not real useful.  I'm more aimed at the battery status.  It should work fine with just 2 analogs and a digital.  RED & GREEN to analog and BLUE to digital.  I'm not real sure where to start with the code.  I would like to make an LED lib. that i could add in to the AC2 code.

 

Very interesting.

 

Hope to see this as a addon pack, for those having the newer 2560 board with more memory.

 

I'm afraid that it will not be possible to add all those options to the older boards, because the actual code is near memory limit (128 Ko).

 

It should be better to keep the small available amount of memory on older boards for stabilization or auto modes enhancements, so that users with older hardware can still upgrade to get better flight capabilities.

 

 

You do not need a library for an LED (even a RGB version). At worst you would need a few variables as the "light" level for each colour to produce the colour you actually want.

 

The code for what you want means you will have edit the main ACM code not create an addition like my camera tracking code. Your best way to find the code you are after is to start looking through the startup procedure and what it calls.

 

As for building it for the 2560 that rules out at least 75% of the community given the boards havent been shipping that long. After you have something functional check your available memory and if you are getting tight (<200 bytes) then you need to look for another way to deal with it. I2C is used by the IMU for most sensors so you could use that to add your LED with a uC to read the messages you send from the ACM shortening the code as the uC will have the complete control.

I think that a LED mounted on the bottom of the multicopter would be a very good idea. This is what I intended to do anyway, but status functionality would be awesome.

 

Does anyone know where to find a very bright LED or light to mount to the bottom?

bright LEDs require more amps (or milliamps in this case). Check the maximum per output of the board then find the brightest with that current rating otherwise you'll waste you money.

 

1 watt LEDs are common, but you are right, they would need a small buffer circuit so that they don't overload the AVR outputs.

 

40 mA max for one output pin (200 mW).

 

And the following rules needs to be respected for output current sourcing :

1)The sum of all IOH, for ports J0-J7, G2, A0-A7 should not exceed 200mA.
2)The sum of all IOH, for ports C0-C7, G0-G1, D0-D7, L0-L7 should not exceed 200mA.
3)The sum of all IOH, for ports G3-G4, B0-B7, H0-H7 should not exceed 200mA.
4)The sum of all IOH, for ports E0-E7, G5 should not exceed 100mA.

5)The sum of all IOH, for ports F0-F7, K0-K7 should not exceed 100mA.

 

 

The max VCC power supply current of the AVR chip himself should not be higher than 200 mA.

 

 

http://www.sparkfun.com/products/9264

This is the LED I'm using.

I looked at the ACM.pde found a few things, but pretty much lost as how to add in a fuction and an output to the loops.  I have a demo sketch that i use with my Arduino.  That i might be able to use?

 

Reply to Discussion

RSS

Groups

Season Two of the Trust Time Trial (T3) Contest 
A list of all T3 contests is here. The current round, the Vertical Horizontal one, is here

© 2019   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service