3 pwm dc brushless with potentionmeter Hall effect

Hi,

I am new to this site and I am a student with a project to programme the ESC of a 3 Phase DS brushless motor, using an Arduino Mega 2560.

I have a three phase dc brushless motor with Hall effect, and I need to know how to use the PWM (with a potentiometer) to change the speed of the motor, and also, the signals are NOT ON SIN.

I need some exemples or the library of arduino.

I hope you can help me and I will be glad to receive your repeat.

Google come up with ...

?

Do you actually have an ESC to change the program on? Or do you not have an ESC and you want to program a Mega 2560 to act like an ESC for a sensored brushless motor. Which of those?

What motor? What ESC, if any? Links please.

I have no idea what "NOT ON SIN" means.

Steve

no esc
and the signal should be squared not Sinusoid

Please post full details of the hardware (that means a datasheet or link to the product page).

Are you trying to build a 3-phase motor driver from scratch? What experience do you have?

I have two code, one is generate the signals on 3 phases(squared) and the other is the pwm by using a potentiometer, and I want to combine the two part.

But are you trying to build a 3-phase motor driver from scratch?

What experience do you have?