loading
2Comments

Tell us about yourself!

Complete Your Profile
  • CarlD6 commented on molé3's instructable ESC Programming on Arduino (Hobbyking ESC)7 months ago
    ESC Programming on Arduino (Hobbyking ESC)

    Question 2 first. You are looking at analogWrite which is set at a specific PWM frequency - about 500 HZ. With analogWrite you use an 8 bit scale (0 - 255) as input.The (700 - 2000) argument I was referring to in my post was talking about the Servo lib function writeMicroseconds.It runs at about 50 Hz and takes a microsecond parameter.Servo example#include .Servo ESC;ESC.attach(Pin you are sending data thru);ESC.writeMicroseconds(700);ESC.writeMicroseconds(1000); //Increase speedServo is not usually used to run a BLDC so I see the confusion. It was a concoction I tried, using someones posting, as I was try to understand BLDC motors. In my post I was questioning why use the Servo lib, which is where the arguments of 700 to 2000 I talked about were used.To answer question 1. that is the l...see more »Question 2 first. You are looking at analogWrite which is set at a specific PWM frequency - about 500 HZ. With analogWrite you use an 8 bit scale (0 - 255) as input.The (700 - 2000) argument I was referring to in my post was talking about the Servo lib function writeMicroseconds.It runs at about 50 Hz and takes a microsecond parameter.Servo example#include .Servo ESC;ESC.attach(Pin you are sending data thru);ESC.writeMicroseconds(700);ESC.writeMicroseconds(1000); //Increase speedServo is not usually used to run a BLDC so I see the confusion. It was a concoction I tried, using someones posting, as I was try to understand BLDC motors. In my post I was questioning why use the Servo lib, which is where the arguments of 700 to 2000 I talked about were used.To answer question 1. that is the limitation of Servo.h lib not ESCs. Sorry if I implied that. I am working on another lib to try and find out the top and bottom end of a PWM signal to ESC and figure out what is the best frequency to use. This is taking me down the road of ESC and motor control design. I am no where near finished as I do this in spare time.

    View Instructable »