Skip to content

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

@liyui1104

Description

@liyui1104

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions