I need code esp32 H Bridge BTS7960 home Assistant
Thank you for your wonderful response. I am sorry that I asked for help, but you must know that not all people have a high level of experience in the field of development, and everyone faces problems, and some see these problems as small and trivial, and others see them as very large. Thank you.
Don’t be an ass. Surely pointing out what info we need in order to help you IS in fact helping you.
Wiring diagram, yaml, logs.
The diagram, do it with pen and paper and photo it with your phone if you don’t have circuit software.
Thank you my friend, the problem has been solved
It was helpful, because if you read and follow that link you will get more and higher quality help.
For the benefit of others post how you fixed it.
As per #19…
I entered this code and connected the H Bridge BTS7960 and it worked great, and measured my fan speed.
- platform: pulse_counter
name: PWM Fan RPM
- multiply: 0.5
- platform: ledc
- platform: speed
name: "PWM Fan"
You still didn’t read it did you.
EDIT thanks for fixing the quoting
I read it and it was useful, but I needed to control my fan speed with the ability to measure the fan rotation speed.
#11 explains how to format the code you post.