mohammadsohail0008
Published © GPL3+

RC Airplane Navigation Lights

RC plane NAV lights

IntermediateFull instructions provided1,806
RC Airplane Navigation Lights

Things used in this project

Hardware components

Arduino Nano R3
Arduino Nano R3
×1
5 mm LED: Red
5 mm LED: Red
×2
5 mm LED: Green
5 mm LED: Green
×1
High Brightness LED, White
High Brightness LED, White
×2
Jumper wires (generic)
Jumper wires (generic)
×1

Software apps and online services

Arduino IDE
Arduino IDE

Hand tools and fabrication machines

Hot glue gun (generic)
Hot glue gun (generic)

Story

Read more

Schematics

Circuit Diagram

Code

RC plane

Arduino
// https://www.youtube.com/channel/UCaXI2PcsTlH5g0et67kdD6g  //
// DIY RC Airplane Navigation Lights //
// By MOHD SOHAIL //


int strobe2 = 9;
int strobe1 = 7;
int red = 6;
int green1 = 8;
int green2 = 5; 
void setup()
{
  
pinMode(strobe1, OUTPUT);  
pinMode(strobe2, OUTPUT); 
pinMode(green1, OUTPUT);  
pinMode(green2, OUTPUT); 
pinMode(red, OUTPUT);  
}


void loop() {

    //--------------------------------------
  digitalWrite(green1, HIGH); 
  digitalWrite(green2, HIGH); 
  //--------------------------------------
  
   //--------------------------------------
  digitalWrite(strobe1, HIGH);
  digitalWrite(strobe2, HIGH);  
  delay(70);                      
  digitalWrite(strobe1, LOW);  
  digitalWrite(strobe2, LOW);   
  delay(70);                       
    digitalWrite(strobe1, HIGH); 
    digitalWrite(strobe2, HIGH);    
  delay(70);                      
  digitalWrite(strobe1, LOW);
  digitalWrite(strobe2, LOW);   
  delay(200);                       
  //--------------------------------------
  
 
  for(int fading = 1 ; fading <= 10; fading+=1) { 
       analogWrite(red, fading);         
        delay(50);                            
  } 
  
  analogWrite(red, 255);  
  delay (50);

    for(int fading = 10 ; fading >=1;fading -=1) { 
   analogWrite(red, fading);         
        delay(100);
  }
   delay(100);
  }

Credits

mohammadsohail0008

mohammadsohail0008

42 projects • 31 followers

Comments