Go Back  RCU Forums > Electric Aircraft Universe > Electric RC Jets
Reload this Page >

EDF AFTERBURNER EFFECT with ARDUINO

Notices
Electric RC Jets Discuss rc electric ducted fan or radio control prop jets here.

EDF AFTERBURNER EFFECT with ARDUINO

Old 10-03-2020, 11:12 PM
  #1  
momo5400
Thread Starter
 
Join Date: May 2016
Posts: 350
Received 2 Likes on 2 Posts
Default EDF AFTERBURNER EFFECT with ARDUINO

only one color for the moment (I no longer have rgb led)

the connections:

D5 connected with a Y to the throttle signal (channel 3 normally)
D3 led control output (0-5 volts)
the ground and + 5V of the arduino taken on the Y of the throttle

the simple code

int changethrottle;
int voltageled;


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

void loop() {
changethrottle = pulseIn(5, HIGH, 25000);
voltageled=map(changethrottle, 1000, 2000, 0, 255);
analogWrite(3,voltageled);


delay(10);

}

And the result

Old 10-04-2020, 02:18 AM
  #2  
momo5400
Thread Starter
 
Join Date: May 2016
Posts: 350
Received 2 Likes on 2 Posts
Default

with two colors


and the code
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);

}
Old 10-05-2020, 09:04 AM
  #3  
momo5400
Thread Starter
 
Join Date: May 2016
Posts: 350
Received 2 Likes on 2 Posts
Default twin edf

Old 10-10-2020, 04:49 AM
  #4  
momo5400
Thread Starter
 
Join Date: May 2016
Posts: 350
Received 2 Likes on 2 Posts
Default


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Thread Tools
Search this Thread

Contact Us - Archive - Advertising - Cookie Policy - Privacy Statement - Terms of Service - Do Not Sell My Personal Information -

Copyright 2018 MH Sub I, LLC dba Internet Brands. All rights reserved. Use of this site indicates your consent to the Terms of Use.