Site icon Visser I/O

Connecting external LED’s to Arducopter

Before I shelled out for the dedicated Aircraft Navigation Lamp Set (install guide here) from HobbyKing I wanted to add some basic LED lighting to the motor arms of my X525 build, I still use these LED’s as one displays the Motor Arm status, the other the GPS Lock, that and the dedicated navigation lights don’t talk to Arducopter.

Update: The voltage of the LED strip has to be 5V. Too low, your strip will burn. Too high and it might not turn on (thanks Wei).

Here’s what you need and how to install it.

What you need

Connecting the LED’s to the APM board

If you went out and bought the 3 LED strip’s mentioned above you can connect the LED servo cable’s directly to the APM board’s analog input’s after a quick change of one of the leads to the JR connector.

We can connect these particular LED strip’s directly to the APM board as the LED’s draw less than the maximum permissible current of the AVR chip on the APM of 40mA per input, the LED strips we’re looking at draw 33mA per input.

Update: The current limit is 40mA per pin or 200mA total. Any higher and you risk damage to the APM (thanks Wei).

By moving the positive lead (red cable) over one spot to occupy the signal line APM can power the LED lights on/off when it chooses, left unchanged the LED strip will be connected to the +5V rail and be always on; which looks cool but is useless.

  1. Using a small sharp knife lift up the tab on the positive lead (aka red cable) of the JR connector that holds the pin in place
  2. Pull on the positive lead while the tab is lifted to remove it from the JR connector
  3. Re-insert the positive lead into the space typically used for the signal line (the next available space) of the JR connector
  4. Make sure the tab is down and the positive lead is secured by giving it a pull

 

 

We’re not looking at adding buzzer support today but here you can see where the analog input’s go on the APM 1.6 board.

If you’re using the current release of APM then you’re on AC 3.1.5 (Arducopter 3.1.5) and the following will apply, read further for the AC 3.2 changes which will apply when AC 3.2 is officially released.

AC 3.1.5 (today)

AC 3.2 (future)

Note: Need to confirm A8 through A11 for AC 3.2 and above as this is not currently documented on External LEDs from Arducopter Wiki.

Connect your LiPo battery and power up your APM board, lights on, enjoy night flying! When you’re ready consider upgrading to the Aircraft Navigation Lamp Set (install guide here) mentioned earlier as you can then add real-world lighting sequences to your build.

Exit mobile version