I have googled this problem quite a bit, found a bunch of example code, and nothing seems to work for me. I purchased 4 Hobbymate 15A Oneshot125 ESCs and 920kv brushless motors. I connected the red and black ESC wires to the battery, along with the Arduino Mega, and connected the three black wires to the three motor wires in order. I grounded the black wire from the three pin connector and wired the white one to the servo control pin.
I used several example codes, ranging from user created ones to the Servo Sweep example code, and nothing seems to work. At most, the motors make a kind of jittering noise, just rotating a tiny bit in random directions like the signals are just noisy and not providing any useful direction to the ESC.
Some users have suggested an arming sequence, some say the motor has to beep a certain number of times. The motor beeps occasionally, but I can’t seem to figure out exactly what makes it beep and what the beeps mean.
I am fairly new to this, but most people seem to have luck with the servo sweep example sketch when I am not. Has anyone used a Oneshot125 ESC with Arduino before, or have any advice on what to do next? Thanks in advance.