I am currently working on a large model quadcopter and I was planning on using my arduino uno. I have only experience with brushed dc motors however I was looking at quadcopter motors and they are brushless meaning I need esc to control them. Is there any motorshields capable of controlling brushless motors or am I going to have to make one? Is it possible to use dc motors if they are fast enough? I am still working on the physics of it.
http://www.castlecreations.com/products.html
All RC 3-phase brushless motor controllers (Called ESCs in the RC world) (ESC = Electronic Speed Controller) take a standard RC
servo signal, the same signal you use with the arduino SERVO library. Your ESCs (as you already know) have a cable with a red wire , black wire and yellow (or white ) wire . The first two are +5V power for the ESC logic interface and the last is the signal. You can
connect an ESC with a motor (minus the prop of course) to your arduino. Plug your LIPO battery into the ESC motor power connector and run the MoodIndicator Example in the servo library using a pot.
like this"
// Controlling a servo position using a potentiometer (variable resistor)
// by Michal Rinott <http://people.interaction-ivrea.it/m.rinott>
#include <Servo.h>
Servo myservo; // create servo object to control a servo
int potpin = 0; // analog pin used to connect the potentiometer
int val; // variable to read the value from the analog pin
void setup()
{
myservo.attach(9); // attaches the servo on pin 9 to the servo object
}
void loop()
{
val = analogRead(potpin); // reads the value of the potentiometer (value between 0 and 1023)
val = map(val, 0, 1023, 0, 179); // scale it to use it with the servo (value between 0 and 180)
myservo.write(val); // sets the servo position according to the scaled value
delay(15); // waits for the servo to get there
}
You can see from the code the servo signal plugs into I/O D9.
The red & blk wires connect to +5V and GND on the arduino, and you already know what to do with the battery and motor.
Connect a poteniometer to +5v & GND , and connect the wiper of the pot to A0 analog input and your good to go.