Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Dual Motor Control with Hall Sensors and Potentiometer Input #67

Open
liyui1104 opened this issue Aug 14, 2024 · 0 comments

Comments

@liyui1104
Copy link

Hi,
First of all, thank you for your incredible work on the MESC_Firmware project. Your contributions to the motor control community are highly appreciated!
I have a motor control board based on the STM32F405RGTx (project link: MP2-DFN). I am using two brushless DC motors (24V, interfaces W V U) with Hall encoders (5V, interfaces HW HV HU) and would like to control them using two potentiometers to adjust their speeds via PWM signals.

Could you please guide me on how to adapt the MESC_Firmware for this setup? Specifically, I need assistance with:

  1. Modifying the firmware to support dual motor control with Hall sensors.
  2. Wiring the motors and potentiometers correctly to the STM32F405RGTx.
  3. Configuring the firmware to interpret the potentiometer inputs as PWM control signals.

Any advice on the necessary code changes and wiring setup would be immensely helpful.
Thank you again for your amazing work and support!
Best regards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant