Your help is greatly appreciated.
I am trying to read the rpm of a brushless DC motor, with a dedicated driver datasheet of which is linked below.
I have a Nextion display attached and I want to display motor RPM on screen but I am new to Arduino and failed to do so, using simple analogRead code. Could you please guide me how to?
On datasheet it says as following, but I can’t figure out what to do.
Motor Speed Signal Output:
Connecting SPEED and COM to get pulse output F=N*P/60
F—Pulse output frequency
P—Pole number of BLDC motor ( has 4 poles)
I’ve tried the code attached to no avail. Please take it as simple as possible as I’ve been on Arduino for two weeks only
sketch_feb13a.ino (821 Bytes)