How to control stepper motor with encoder using arduino

I am using the Nema 17 stepper for the simple movement clockwise and counterclockwise. how to make an address in an encoder circuit board using Arduino coding.

this is my AMT10 encoder and circuit board fixed with a stepper motor. how can be the program of simple rotation of the stepper motor?


it is my feedback circuit board of the encoder which is fixed with the motor and controller

I'm confused, the second picture shows something completely different to the first. It is not clear what you are trying to do, or what kit you are using.

I can give you a link to the datasheet for the encoder, but I can't identify what is in the second picture, It appears to be a closed loop stepper controller board.

I moved your topic to an appropriate forum category @halari.

In the future, please take some time to pick the forum category that best suits the subject of your topic. There is an "About the _____ category" topic at the top of each category that explains its purpose.

This is an important part of responsible forum usage, as explained in the "How to get the best out of this forum" guide. The guide contains a lot of other useful information. Please read it.

Thanks in advance for your cooperation.

in second picture i have merged to stepper encoder circuit and top side circuit board is microcontroller board arduino

just i need to code movement clockwise and counterclockwise i have experience with simple stepper motor coding but I don't know about stepper coding with an encoder increamental.

Ok, it sounds like you need to decode quadrature signals, Arduino libraries exist for that, here is one:

i am using this driver




to program with arduino to just rotate in a degree i upload some examples of arduino software some code but motor is not giving me any response and also specification of this driver any schematic i can not find. give me any suggestion to me. do you have any solution?