Knowledge — ESC

Use Arduino to generate PWM signals and control ESC to realize the forward and backward of the motor.

Posted by Fengyukun on

Use Arduino to generate PWM signals and control ESC to realize the forward and backward of the motor.

Controlling a bidirectional Electronic Speed Controller (ESC) using PWM signals typically involves sending specific PWM values to control the motor's speed and direction. Below is a simple example control code using an Arduino to generate PWM signals and control a bidirectional ESC. Please make sure your bidirectional ESC is connected to the Arduino's PWM pins and powered correctly. #include <Servo.h>Servo esc; // Create a Servo objectvoid setup() { esc.attach(9); // Attach the ESC to pin 9 on the Arduino esc.writeMicroseconds(1500); // Initialize the motor to a neutral position delay(2000); // Wait for 2 seconds}void loop() { int throttle = 1500;...

Read more →

How can I use a Raspberry Pi 4B to send a PWM signal to an ESC to control an underwater thruster?

Posted by Fengyukun on

How can I use a Raspberry Pi 4B to send a PWM signal to an ESC to control an underwater thruster?
The neutral stop signal is its unlocking signal
Using a 50Hz signal, the signal period is 20ms.
The percentage in the instructions refers to the percentage of the PWM control pulse width, not the actual duty cycle of the PWM signal (it is easy to misunderstand here).

Read more →

【Underwater Thruster Control】 How to control ESC by PWM with STM32?

Posted by Fengyukun on

【Underwater Thruster Control】 How to control ESC by PWM with STM32?

A lot of researchers who want to control the operation of the thruster with a microcontroller to find a lot of information on the Internet, but found that a lot of them are not written very clearly, APISQUEEN roughly record how to solve.I hope you can exchange experience in the comments section, can help more people.We buy the ESC may be different, but the overall control idea is the same, so I believe you can certainly achieve your goal after reading this article. PWM signal:(1) PWM wave control (generally speaking ESCs are controlled by PWM wave at 50Hz, that is...

Read more →

Why can't a brushless motor/brushless thruster be connected directly to the power supply?

Posted by Fengyukun on

The brushless motor/thruster cannot be connected directly to the power supply. The phase sequence is controlled by the controller (ESC) in order to ensure the motor/propeller operates properly and can make the motor/propeller work more efficiently. If you need to use a brushless motor, please make sure to pay attention to the correct operation method to ensure the normal use and long life of the motor.

Read more →

Working principle of ESC

Posted by Fengyukun on

An electronic governor is an electronic device used to control the speed and torque of a brushless motor. The main principle is based on PWM (Pulse Width Modulation) technology and closed-loop control algorithms. In an electronic governor, PWM technology is used to control the current and speed of the motor. It controls a constant-value DC power supply through a switching tube (usually a MOSFET) to produce a square wave of a certain frequency, and controls the motor current and speed by adjusting the duty cycle of the square wave. A three-phase full-bridge circuit is usually used in electronic speed controllers...

Read more →