I have a 350kv BLDC motor and a 150 amp ESC. I'm using them to run a boat prop. It spins with plenty of speed in the air but as soon as I put it in water the ESC shuts down. The battery has plenty of power, I am using an Arduino connected to the ESC instead of a remote controller, I was wondering if there is anything in the code that I could change to give it more torque instead of speed, or do I need a higher amp ESC? ////////////////////////////////////////
#include <Servo.h> //Using servo library to control ESC Servo esc;
//Creating a servo class with name as esc
void setup()
{
esc.attach(10); //Specify the esc signal pin,Here as D10
esc.writeMicroseconds(1000); //initialize the signal to 1000
Serial.begin(9600);
}
void loop()
{
int val; //Creating a variable val
val= analogRead(A0); //Read input from analog pin a0 and store in val
val= map(val, 0, 1023,1000,2000); //mapping val to minimum and maximum(Change if needed)
esc.writeMicroseconds(val); //using val as the signal to esc
}