yvesmorele
Published © CC BY-NC

Simple Afterburner Effect For RC Plane with EDF

i'm making a simple after burner effect for rc plane motorized with electric ducted fan (EDF) with arduino and leds strip

BeginnerFull instructions provided3,114
Simple Afterburner Effect For RC Plane with EDF

Things used in this project

Hardware components

Arduino Nano R3
Arduino Nano R3
×1
LED Strip, 1 m
LED Strip, 1 m
×1

Hand tools and fabrication machines

Soldering iron (generic)
Soldering iron (generic)
PCB Holder, Soldering Iron
PCB Holder, Soldering Iron
Solder Wire, Lead Free
Solder Wire, Lead Free

Story

Read more

Schematics

wiring arduino

Code

double led strip

Arduino
int changethrottle;
int voltageledrouge;
int voltageledbleue;


void setup() {
  pinMode(5, INPUT); 
  pinMode(3, OUTPUT); 
  pinMode(4, OUTPUT);
  Serial.begin(9600);
}

void loop() {
  changethrottle = pulseIn(5, HIGH, 25000); 
  voltageledrouge=map(changethrottle, 1000, 2000, 0, 255);
  voltageledbleue=map(changethrottle, 2000, 1000, 0,255);
  if (changethrottle<1250)  voltageledrouge=0; 
  if (changethrottle>1500)  voltageledbleue=0;
  analogWrite(3,voltageledrouge);
  analogWrite(4,voltageledbleue);
  
   delay(10);
  
  } 
  

Credits

yvesmorele
9 projects • 47 followers
chemical scientist
Contact

Comments

Please log in or sign up to comment.