I am new to this forum, and I am new to Arduino world, I bought 2 brushless motor thrusters that came with Basic ESC. I have the set up connected and works fine but when power is cycled to turn the thrusters on and off, after off thrusters don't turn back on with same set speed that is on potentiometer. I was told to use Arduino and write sketch for the motor to turn on when power is turned on, is there sketch already that I can use and then tweak the sketch to my requirement?
@ [UKHeliBob] - Thank you for your reply, I am using everything from blue robotics, 2 t500 thrusters, 2 basic ESC's for thrusters and I am using Commander to control the speed of thruster via potentiometer. I am using timer outlet that is program to turn the power supply on and off - 8 am on and 10 pm off. I was told by Blue Robitics that I will have to use Arduirno to be able to use have it turned on at one set speed when power cycled, this is the sketch they provided for Arduino, this will have to be changed to turn on the thrusters when power is turned on,
Controller does not turn the thrusters on when power is cycled since It is designed to manually turn the potentiometer to 0 position and dial up to desired speed, Arduino have the capability to overcome this issue but sketch needs to be modified to turn the thruster on at one speed when power is cycled, I am not sure code they provided will have Arduino function as my requirement,
C:\Users\ravi1\AppData\Local\Temp.arduinoIDE-unsaved2023828-14072-1y4p916.b76d\sketch_sep28a\sketch_sep28a.ino: In function 'void loop()':
C:\Users\ravi1\AppData\Local\Temp.arduinoIDE-unsaved2023828-14072-1y4p916.b76d\sketch_sep28a\sketch_sep28a.ino:13:1: error: expected ')' before 'servo'
servo.writeMicroseconds(pwmVal);
^~~~~