loading
2Comments

Tell us about yourself!

Complete Your Profile
  • ESC Programming on Arduino (Hobbyking ESC)

    Hello Everyone, I have been trying to bet my ESC running but no luck and no sound whatsoever :( I am powering my Red Brick 60A ESC with a laptop battery (is this ok?). Also my ESC appears to not have a BEC (no where does it say BEC). so I connected the arduino to the ESC like so:white - pin9 arduinored - 5Vblack - GNDthis is the last code I tested. Again, no sound. Very strange. I tested the voltage from the battery and from the arduino, and it is working..Can anyone please point me in the right direction?Thank you and have a great assemblable 2017 :P#include <Servo.h>int value = 0; // set values you need to zeroServo firstESC;const int ESC=9; // void setup() { firstESC.attach(9); // attached to pin 9 I just do this with 1 Servo pinMode(ESC,OUTPUT); Serial.begin(9600); /...see more »Hello Everyone, I have been trying to bet my ESC running but no luck and no sound whatsoever :( I am powering my Red Brick 60A ESC with a laptop battery (is this ok?). Also my ESC appears to not have a BEC (no where does it say BEC). so I connected the arduino to the ESC like so:white - pin9 arduinored - 5Vblack - GNDthis is the last code I tested. Again, no sound. Very strange. I tested the voltage from the battery and from the arduino, and it is working..Can anyone please point me in the right direction?Thank you and have a great assemblable 2017 :P#include <Servo.h>int value = 0; // set values you need to zeroServo firstESC;const int ESC=9; // void setup() { firstESC.attach(9); // attached to pin 9 I just do this with 1 Servo pinMode(ESC,OUTPUT); Serial.begin(9600); // start serial at 9600 baud Serial.println("starting arm...."); firstESC.writeMicroseconds(0); delay(1000); firstESC.writeMicroseconds(2000); delay(1000); firstESC.writeMicroseconds(700); delay(1000); Serial.println("fimarm...");}void loop() { firstESC.writeMicroseconds(value); if(Serial.available()){ value = Serial.parseInt(); // Parse an Integer from Serial Serial.print("typed>"+value); }}

    View Instructable »