Have Arduino connected to motor, but motor is barely moving

I am attempting to exactly follow this tutorial: How to run brushless motor using arduino - YouTube

And I used the code provided, uploaded it to my Arduino: https://borocade.com/brushlessmotor.html

But when I connect it to the power source, the Arduino beeps but only slightly moves -- nothing like the spinning in the example.

I've attached some pictures for context. Obviously in the pictures I have disconnected the motor from the rest (have been playing with matching wires to each other.

I really don't know what to try next. Would appreciate any ideas on how to troubleshoot this.

Please post details of (or links to ) the motor, motor driver, motor power supply and a wiring diagram.

Please follow directions in the "How to use this forum" post, at the head of every topic.

Motor: Amazon.com : a2212 1000kv brushless motor

ESC: ESC 30A datasheet - Diy quadcopter

Power: https://www.digikey.com/product-detail/en/phihong-usa/PSAC24A-120L6/993-1342-ND/5418494

Here are pictures: Imgur: The magic of the Internet

I'm not sure how to make a wiring diagram.

The video shows a large Lipo battery and sensible connectors between motor and ESC, not bare wires. It does not show a 12V wall wart anywhere.

Your pictures don't show how either the Arduino or the ESC/motor are powered. If that 12V 2A supply is all you have then you don't have nearly enough power to run that motor. And if you've been trying to power it from the Arduino 5V pin you might also have killed the Arduino.

Steve

reallymemorable:
I am attempting to exactly follow this tutorial: How to run brushless motor using arduino - YouTube

And I used the code provided, uploaded it to my Arduino: https://borocade.com/brushlessmotor.html

But when I connect it to the power source, the Arduino beeps but only slightly moves -- nothing like the spinning in the example.

You mean the motor beeps? Do you know the arming sequence for your ESC? Do you have a servo-tester so you can manually experiment with the thing?

ESCs need extremely high current supplies, 20 to 50A is normal, ie use the appropriate LiPo pack only, not a mains power supply, because the supply voltage must not drop out when the ESC pulls large currents (these brushless RC motors are extremely low resistance, a few milliohms).

I've attached some pictures for context. Obviously in the pictures I have disconnected the motor from the rest (have been playing with matching wires to each other.

You must attach the motor wires securely to the ESC, if you just wind them together you can easily blow the ESC. Solder or screw-terminals should be used, and check they are properly tight, very high currents flow.

And never connect/disconnect the motor if the ESC is powered, this may destroy it immediately.

I really don't know what to try next. Would appreciate any ideas on how to troubleshoot this.

Imgur: The magic of the Internet

Hi,
Welcome to the forum.

Please read the first post in any forum entitled how to use this forum.
http://forum.arduino.cc/index.php/topic,148850.0.html .
Then look down to item #7 about how to post your code.
It will be formatted in a scrolling window that makes it easier to read.

Can you please post a copy of your circuit, in CAD or a picture of a hand drawn circuit in jpg, png?

Thanks.. Tom... :slight_smile: