RCU Forums - View Single Post - How to Connecting RCreceiver to the Electronic Speed Controller BLDC 15V-36V 15A 500W
Old 04-01-2025 | 12:10 AM
  #2  
giritime
Junior Member
 
Joined: Mar 2025
Posts: 2
Likes: 0
Received 0 Likes on 0 Posts
Default

Originally Posted by giritime

How to Connecting RC receiver to the Electronic Speed Controller BLDC 15V-36V 15A 500W board

Hello All,
I'm new here, I'm trying to connect an FS-iA10B receiver (from FLYSKY) to the Electronic Speed Controller BLDC 15V-36V 15A 500W board. Instead of potentiometer I need to use RC receiver to control the speed. Kindly help me with the wiring.

Hello All,

I was able to solve this by using a Arduino Nano to convert the PWM signals to Analog and then filtering the signal by passing through Low Pass RC Filter. Below is the code I used for DAC

const int pwmInputPin = 2; // FS-iA10B PWM input (CH3)
const int analogOutPin = 9; // PWM output to ESC (D9)

void setup() {
pinMode(pwmInputPin, INPUT);
// Set PWM frequency on D9 to 31.25kHz (reduces ripple)
TCCR1B = (TCCR1B & 0b11111000) | 0b00000001;
}

void loop() {
// Read PWM pulse width (1000–2000µs)
int pulseWidth = pulseIn(pwmInputPin, HIGH, 25000);

// Map pulse width to analog output (0.1–5V)
// ESC analog input: 0.1V (min) ↔ 5V (max)
// Arduino PWM output: 0 (0V) ↔ 255 (5V)
int pwmOutput = map(pulseWidth, 1000, 2000, 5, 255); // 0.1V ≈ 5/255 * 5V ≈ 0.1V
analogWrite(analogOutPin, pwmOutput);
}

Thank you all for your inputs.
giritime is offline