element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Electronic Toys
  • Challenges & Projects
  • Project14
  • Electronic Toys
  • More
  • Cancel
Electronic Toys
Blog Adding LEDs to a flying wing
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Electronic Toys to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: carmelito
  • Date Created: 25 Aug 2019 6:57 AM Date Created
  • Views 1832 views
  • Likes 10 likes
  • Comments 6 comments
  • flying wing
  • apa102
  • wing
  • arduino
  • electronictoych
Related
Recommended

Adding LEDs to a flying wing

carmelito
carmelito
25 Aug 2019
image

Electronic Toys

Enter Your Electronics & Design Project for a chance to win a Grand Prize of a SNES Classic and $200 Shopping Cart of Product!

Back to The Project14 homepage image

Project14 Home
Monthly Themes
Monthly Theme Poll

 

So, my friend who you see in the video below loves flying his quadcopter in the night, motivated me to get into night flying, which meant I had to remove the FPV system which stands for first person view, which includes a camera and video transmitter, and put lights on my wing.  So this meant I had to check my parts bin to see what LED strip I had available to hook to an Arduino Nano. I had two led strips available a Neopixel strip and apa102 strip. I went with the apa102 just because it weighed less because it dint have a plastic waterproof wrap around it, and it had a 3M sticky back.

 

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 


Here is the picture of the LED strip hooked up with the Arduino Nano


- apa102 led strip Data  connected to Arduino pin# 11
- apa102 clk  connected to Arduino pin# 12

- battery JST connected to  Vin , the battery is a Turnigy 2S lipo - 8.4v max (2 cell lipo)

image


And here is a very simple Arduino sketch that I used for the setup-

 

//Simple sketch for LED flying wing
#include <APA102.h>

// Define which pins to use.
const uint8_t dataPin = 11;
const uint8_t clockPin = 12;

// Create an object for writing to the LED strip.
APA102<dataPin, clockPin> ledStrip;

// Set the number of LEDs to control.
const uint16_t ledCount = 10;
// Create a buffer for holding the colors (3 bytes per color).
rgb_color colors[ledCount];
// Set the brightness to use (the maximum is 31).
const uint8_t brightness = 20;

void setup()
{
}

void loop()
{

colors[0] = rgb_color(255, 0, 0);//red
colors[1] = rgb_color(255, 0, 0);
colors[2] = rgb_color(255, 255, 255);//white
colors[3] = rgb_color(255, 255, 255);
colors[4] = rgb_color(0, 255, 0);//blue
colors[5] = rgb_color(0, 255, 0);
colors[6] = rgb_color(0, 255, 0);
colors[7] = rgb_color(0, 0, 255);//green
colors[8] = rgb_color(0, 0, 255);
colors[9] = rgb_color(0, 0, 255);

ledStrip.write(colors, ledCount, brightness);

delay(500);
colors[0] = rgb_color(0, 0, 0);//red led off
colors[1] = rgb_color(0, 0, 0);
//colors[6] = rgb_color(0, 0, 0);
//colors[9] = rgb_color(0, 0, 0);
ledStrip.write(colors, ledCount, brightness);
  delay(500);
}

image

Now for the most important part is to stick the LEDs on the flying wing without impacting the center of gravity of the wing (CG), I used some hot glue and tape.



And here are a some lesson learnt on adding LEDS to things that fly at night, and most of these suggestion are from my friend, who has been night flying for more than 5 years..image


- Check the weight of LEDs - lighter the better- Positioning the LEDs equally on both side of the wing, so that the center of gravity. but for quadcopter this really does not make a big difference with modern flight controller(FCs) and electronic speed controllers (ESCs).
- To many blinking LEDs do not help, I found this out the hard way, after a couple of crashes. So, if you see my wing I now have only one blinking red light at the back, when initially as you see in the video above I had LEDS blinking on both the wing side
- If you are using foam board, use a couple of LEDs on the reverse, so that they diffuse in the foam, this gives a larger surface area for light diffusion, and the craft is more visible when it gets dark.
- Using an Arduino helps, as you can change the LED colors easily, or if you want to control LEDs using your phone in the field you can us an ESP32/ESP8266 based board.

If you any suggestion for night flying, leave them in the comment below..

image

  • Sign in to reply

Top Comments

  • jw0752
    jw0752 over 6 years ago +2
    It looks like a lot of fun. John
  • clem57
    clem57 over 6 years ago +1
    Nice toy! Thanks for the project.
  • clem57
    clem57 over 6 years ago +1
    What was the drone(?) used to film the wing from>
Parents
  • jw0752
    jw0752 over 6 years ago

    It looks like a lot of fun.

     

    John

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • jw0752
    jw0752 over 6 years ago

    It looks like a lot of fun.

     

    John

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube