Hi community.
Im a newbie to node red and after google a lot, still unable to get a solution or direction.
I have a incremental encoder with 2048ppr (AMT-103) attached to a moving table that i want to use to make measurements using a Raspberry Pi W.
The encoder is attached to a leadscrew and when i rotate it (doing it by hand, later on will add a motor) i can move it to the position i want.
The main goal is to implement a flow that allows me to calculate the distance between 2 points, and therefore getting the distance.
There will be a factor to define the distance per encoder step in order to get the distance.
The main doubt is if this can be done in node-red, or if i also need to add encoder coding in phyton?
If i use a code to get the encoder counts how to get them in node red?
Your expertise is very welcome.
Hope you guys can help me.
Stay safe