---
title: "Comment by Mohsin Zafar on \"DC Motor Control using the L298N Motor Driver Interfaced with the STM32F407 Discovery Kit\" | Hashnode"
description: "Hi there! I am a student of electrical engineering. Can you help me out with my project? I have to design a project in which I have to control the speed and dir"
url: "https://hashnode.com/posts/dc-motor-control-using-the-l298n-motor-driver-interfaced-with-the-stm32f407-discovery-kit/61ec3950a12088017fbea156/comment/63a3f85af7fa1fc0ce9ebda3"
---

[Discussion](https://hashnode.com/posts/dc-motor-control-using-the-l298n-motor-driver-interfaced-with-the-stm32f407-discovery-kit/61ec3950a12088017fbea156)

Comment [DC Motor Control using the L298N Motor Driver Interfaced with the STM32F407 Discovery Kit](https://hashnode.com/posts/dc-motor-control-using-the-l298n-motor-driver-interfaced-with-the-stm32f407-discovery-kit/61ec3950a12088017fbea156)

[Mohsin Zafar](https://hashnode.com/@mohsinzafar2000)

[Dec 22, 2022](https://hashnode.com/posts/dc-motor-control-using-the-l298n-motor-driver-interfaced-with-the-stm32f407-discovery-kit/61ec3950a12088017fbea156/comment/63a3f85af7fa1fc0ce9ebda3)

Hi there!

I am a student of electrical engineering. Can you help me out with my project? I have to design a project in which I have to control the speed and direction of a DC geared motor with the help of the STM32F407 discovery board. This blog covers all my queries regarding speed and control management.

\*\*But I also need to measure the RPM of that motor using an infrared sensor (like MOC7811) and display its RPM on an LCD interfaced with STM.

I need your help with the code with which we can configure the timers and other things to get this work done.\*\*

Please reply to me ASAP.

Regards, Mohsin Zafar

[Ruturaj A. Nanoti](https://hashnode.com/@RuturajN)

[Dec 22, 2022](https://hashnode.com/posts/dc-motor-control-using-the-l298n-motor-driver-interfaced-with-the-stm32f407-discovery-kit/61ec3950a12088017fbea156/comment/63a3f85af7fa1fc0ce9ebda3#reply-63a4ec893916c9c9a801e824)

Hi,

I am glad that my blog helped you with your project, and yeah, I could take a look at your code and help you figure something out.

Thank You

[Mohsin Zafar](https://hashnode.com/@mohsinzafar2000)

[Dec 23, 2022](https://hashnode.com/posts/dc-motor-control-using-the-l298n-motor-driver-interfaced-with-the-stm32f407-discovery-kit/61ec3950a12088017fbea156/comment/63a3f85af7fa1fc0ce9ebda3#reply-63a5d6cac39f50da11a5884f)

[Ruturaj A. Nanoti](https://hashnode.com/@RuturajN) Thanks for your response. It would be a great help. I need to submit my project by next week. Could you please take a look at this code ASAP?

And can you provide me with your email address for further correspondence?

Thanks.

Regards, Mohsin Zafar

[Ruturaj A. Nanoti](https://hashnode.com/@RuturajN)

[Jan 7, 2023](https://hashnode.com/posts/dc-motor-control-using-the-l298n-motor-driver-interfaced-with-the-stm32f407-discovery-kit/61ec3950a12088017fbea156/comment/63a3f85af7fa1fc0ce9ebda3#reply-63b8cd4c95025da0eecd0cc7)

Hi [Mohsin Zafar](https://hashnode.com/@mohsinzafar2000),

Sorry, I was actually busy with some college work, and couldn't respond. I hope you got your project working. Anyway, my email is _nanotiruturaj@gmail.com_, feel free to contact me anytime.

Happy New Year!

Thank You
