Controlling a brushless motor with esc and a servo motor

Hi all

So the things I wanna run are a servo motor ( used for steering a car ) and a brushless motor ( for propulsion). The brushless motor is to be connected to the ESC ( as well as the battery ). I need to use the same battery to power up the aurduino ( which will be used to control both motors ) and the servo motor.

i'm trying to control a brushless motor with esc and a servo motor at the same time using arduino and a battery

These are the links to the servo, battery, and esc + brushless motor

http://www.castlecreations.com/en/sidewinder-3-nc1406-5700kv-combo-010-0115-02

https://www.servocity.com/hs-311-servo

( Voltage Range 4.8V - 6.0V )

https://www.amazon.com/Turnigy-2200mAh-20C-Lipo-Pack/dp/B0072AEY5I/ref=sr_1_1?s=electronics&ie=UTF8&qid=1490641477&sr=8-1&keywords=turnigy+2.2

and I'm gonna me using Arduino Uno 3

So is this possible ? and how to build this circut ? Any recommendations?

No idea, you haven't given any details. "a servo motor", "a brushless motor" - not enough info

Are you talking about using a brushless motor and ESC from the radio control hobby? If so, you talk to those the same way that you talk to the servo. Have you tried any of the servo examples? If not, go try out your google-foo and search for Arduino and servo.

I bought a brushless motor and it came with an ESC unit. I also bought a servo motor (needs 6 V to opreate) and a battery and I would like to operate both motors from an aurduino ( no radio controller ).

The thing I need is how im gonna build this circuit?

I bought a brushless motor and it came with an ESC unit. I also bought a servo motor (needs 6 V to opreate) and a battery and I would like to operate both motors from an aurduino ( no radio controller ).

Here is the link to the burhless motor and the esc http://www.castlecreations.com/en/sidewinder-3-nc1406-5700kv-combo-010-0115-02

How I should go about building this circuit?

Give the ESC appropriate power, such as a direct connection to a battery (not a 9V battery; they are weak.)

Connect the ground to the Arduino ground. Connect the signal input to any Arduino pin (usually you don't want to use 0 and 1 as they're for serial communication). Load up a servo test example and start playing.

Most ESCs will require a specific set of inputs to authorise them to start spinning. You will need to duplicate that with the Arduino to get it working.

I forgot to say that I need to power up the Aurduino from the same battery.

Good. Just don't run the ESC or servo from the Arduino's 5V pin. It can't handle the current.

I think you misunderstood me. I'll illustrate again. So the things I wanna run are a servo motor ( used for steering a car ) and a brushless motor ( for propulsion). The brushless motor is to be connected to the ESC ( as well as the battery ). I need to use the same battery to power up the aurduino ( which will be used to control both motors ) and the servo motor.

It would help if you said what battery and servo and what Arduino you are intending to use and how you intend to connect them all together.

For example you say the servo needs 6V but you have an ESC with a 5V BEC. Why ?

Steve

slipstick: It would help if you said what battery and servo and what Arduino you are intending to use and how you intend to connect them all together.

For example you say the servo needs 6V but you have an ESC with a 5V BEC. Why ?

Steve

These are the links to the servo, battery

https://www.servocity.com/hs-311-servo

( Voltage Range 4.8V - 6.0V )

https://www.amazon.com/Turnigy-2200mAh-20C-Lipo-Pack/dp/B0072AEY5I/ref=sr_1_1?s=electronics&ie=UTF8&qid=1490641477&sr=8-1&keywords=turnigy+2.2

by the way I'm not sure about the 6 V for the servo

and I'm gonna me using Arduino Uno 3

So the battery and the brushless motor must be connected to the ESC. Plus, I want to use that same battery to power up the Arduino and the servo motor ( I'm gonna use the arduino to control everything )

So is this possible ? and how ? Any recommendations?

The BEC from the ESC can certainly run the servo.

vinceherman: The BEC from the ESC can certainly run the servo.

Can it also be used to run the Arduino ? It says that the BEC gives 5 volts fixed and 2 amps

I would think that the BEC would handle this. If it were me, I would think about cutting up an old USB plug and connecting it to the BEC 5v. Then you could plug it in to the Arduino's USB.

But wait for others to comment. IF I let the smoke out by trying things first and asking questions later, it is my own fault. Some times I am cavalier that way. ;-) You should err on the side of caution and have someone with more digits in their post count confirm that this is doable.

Yes you should be able to run the Arduino and single HS311 servo from a 5V 2A BEC.

And the signal to drive an ESC is the same as that for driving a servo. So have a look at the Servo Knob and Sweep examples that come with the IDE and that should get you started on the code.

Steve

@inabhani, do not cross-post. Threads merged.

I think I got the circuit working. Is it possible to calibrate the esc without a transmitter? ( like using aurduino codes ?)

Yes.