Knowledge — ESC
Use Arduino to generate PWM signals and control ESC to realize the forward and backward of the motor.
Posted by Fengyukun on
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;...
- 0 comments
- Tags: ESC
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
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).
- 0 comments
- Tags: ESC
【Underwater Thruster Control】 How to control ESC by PWM with STM32?
Posted by Fengyukun on
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...
- 0 comments
- Tags: ESC
Why can't a brushless motor/brushless thruster be connected directly to the power supply?
Posted by Fengyukun on
- 0 comments
- Tags: ESC, motor, Thruster
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...
- 0 comments
- Tags: ESC