Arduino with brushles dc motor

hi, i just bought a rc airplane brushless motor 12 volt, it has 3 wires now i want to run that motor without controler with my arduino is that possible?

thanks tom

(deleted)

not someting like this? i want to program my own scp i thought this could work:

//have a good one



int sensorPin = A0;    // select the input pin for the potentiometer
int sensorValue = 0;  // variable to store the value coming from the sensor


int ledPin = 7;      // LED connected to digital pin 9
int ledPin1 = 8;
int ledPin2 = 9;
int ledPin5 = 5;
int val = 0;         // variable to store the read value



void setup()

{

  pinMode(ledPin, OUTPUT);// sets the pin as output
  
  pinMode(ledPin1, OUTPUT);// sets the pin as output
  
  pinMode(ledPin2, OUTPUT);// sets the pin as output
TCCR2B = TCCR2B & 0b11111000 | 0x01;


}

void loop()

{


 analogWrite(ledPin, 255);  
    delayMicroseconds(1000); 

 analogWrite(ledPin2, 0);  
    delayMicroseconds(1000); 
    
 analogWrite(ledPin1, 255);  
    delayMicroseconds(1000); 

       analogWrite(ledPin, 0); 
     delayMicroseconds(1000); 
     
 analogWrite(ledPin2, 255);  
    delayMicroseconds(1000); 

       analogWrite(ledPin1, 0); 
     delayMicroseconds(1000); 

     

}

The only reasonable way to run a brushless 3-phase RC motor is to use an ESC and control it using PWM from the Arduino. An ESC is a rather complex device and not worth trying to duplicate in an Arduino.

whell i stil want to build one i think i got it you need to pulse minus to to make it work

:slight_smile:

you need 6 irf's 3 connected to ground and 3 connect to dc plus then pulsse in right combination and i think that will work, i'll let you know when i have all component and tested it

You also need to sense when to switch windings and PWM at 8KHz to maintain the desired speed via the input PWM.

thanks, i think i go without the sencor in and let it run at 1 speed thats all i want but i want to control the pulses to make them more energy effective