Home        Store        Docs        Blog

T-100 Motor not working

Hi, I’m working on a project in which I need to control a T-100 brushed motor with an Arduino Uno. I’m attempting to get the motor to spin, but it only gives a few starting beeps and then a consistent beep every few seconds. The code used is shown below, and a video of the problem is included via a [https://youtu.be/X_IHPzzpjmY] (https://youtu.be/X_IHPzzpjmY) hyperlink. I would appreciate help in getting it working, thanks!

#include <Servo.h>
byte servoPin = 5;
Servo servo;

void setup() {
// put your setup code here, to run once:
servo.attach(5);

servo.writeMicroseconds(1500);

delay(7000);
}

void loop() {
// put your main code here, to run repeatedly:
int signal = 1700;

servo.writeMicroseconds(1700);
}

Here is a photo of the setup.

![Robotics|375x500](upload://1g

kpwsJa1u8EUp3eIjuyMAoa6o2.jpeg)

The esc that you have is single direction, the ones in our store (and the example code you posted) are bi-directional.

You need to give the esc 0-throttle command to get it to ‘arm’ and spin. On bidirectional esc 0-throttle is 1500, 1100 is full-throttle reverse and 1900 is full-throttle forward. On your esc 0-throttle is 1100 and full-throttle forward is 1900.

Try using 1100 in setup().