I bought a kit /set which has a motor, ESC, propeller and battery all matched. I bought a Turnigy CCPM Servo Consistency Master servo tester and hooked it all up. Everything works great: as i turn the knob, the motor / prop speed up, as I turn it down it slows down.
I replace the Turnigy device with an Uno and wired it correctly to D9. I tried all kinds of sample sketches on the internet including the servo sample program with the IDE. None work. The Turnigy seems to be doing something "extra" the Arduino does not.
What do I need to do to make the Arduino talk directly to the ESC with nothing in the way?
Also in your connections you didn't mention the battery. You need that. The Arduino can't provide the power needed to run the motor/ESC. And you didn't say how the Arduino itself is powered.
It's likely that the ESC needs some basic initialisation. That's usually in startup() and something like after the attach(), write(0) then delay(2000) to let it settle. Then it should run if you have the power right.
Please post some of the code that you tried and preferably a diagram showing ALL the connections.
The motor is a A2212 and the esc is a 30A no name. Both were bought as a matched "kit" along with the prop. This is just for me to learn on, not for actual use (yet). the battery is a 2S lipo (7.4V) 2000mAH. The ESC has no name or markings on it, just "30A" and came in the package.
The wiring is fine: everything works with the Turnigy as expected.
#include <Servo.h>
Servo myMotor;
void setup()
{
myMotor.attach(9);
}
void loop()
{
myMotor.write(100); // can be any value 0 - 180
// nothing happens here!
// switch back to the Turnigy and it works like a charm as I twist the knob.
ESCs have an arming sequence to avoid people accidentally losing fingers when powering up RC model planes.
RC brushless motors are easily capable of grievous injury if they spin up without warning.
Typical arming involves pulling the throttle back to fully off, some are more complicated.