cancel
Showing results for 
Search instead for 
Did you mean: 

DC-Motor Control Library for STM32 (VNH5019)

DBaum.3
Associate

Hello,

I would like to drive a simple DC motor with a STM32F446RE.

I use the VNH5019 as motor driver.

Everything works so far.

My only question now would be, is there a ready-to-use library or perhaps a way to embed the component into the software via STM32CubeMX?

Thank you very much

2 REPLIES 2

What, exactly, do you mean by "drive" here?

  • simple on/off?
  • speed control?
  • other ... ?

Have you looked on the Product Page for the VNH5019:

0693W00000QLsdSQAT.png 

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.
DBaum.3
Associate

Hello Andrew, first of all thanks for your answer.

To describe it in more detail:

There is an EVAL board (STEVAL-VNH5019A) for the driver, which can be operated/tested with a Windows program.

The program offers various functions:

- Basic motor control (direction, start/stop, brake)

- PWM control

- Diagnostics

- ...

(see image)

I would now like to know if there is appropriate code or a library somewhere to do all of this on my processor

0693W00000QLtIQQA1.png