I want to get RPM using ESC called JHEMCU EM-40A

Hello.
I would like to get the RPM as described in this post, but I am not sure if I am getting the data.

The ESC I am using is JHEMCU EM-40A and the FC is Navio2.
I connected the CURR wire of the ESC to pin 5 of the servo rail and set
echo 504 > /sys/class/gpio/export
echo “in” > /sys/class/gpio/gpio504/direction
I then entered
cat /sys/class/gpio/gpio504/value
but it displayed 0.
Does this mean that I am not getting any data?
I would appreciate your advice as I would like to eventually view the data in Mission Planner.
Thank you in advance.

Hi @gh24526,

We haven’t tested JHEMCU EM-40A, so it’s difficult to suggest something for the code. Hopefully, someone from our users who’s experienced with it can advise you on something.

Thanks for the reply.
If you have not tested the JHEMCU EM-40A, does that mean you have tested other esc?
If so, were you able to measure the RPM?
Also, could you please tell us as much detail as possible about the esc and the wiring and cords you used at that time?
Thank you in advance.

We have some information about ESCs’ wiring in our documentation.. I’ve also found some threads on our forum about RPM:

I suggest you can start there.

Thanks for your reply.
I did my own research and saw an article that it is not possible with the existing firmware of JHEMCU EM40-A.
I will look into another way to get RPM without using ESC.
Thank you very much.

1 Like