TLDR: How can I use the MikroE Stepper 10 Click steppermotor controller with a arduino/esp32
Hi, I recently bought a MikroE Stepper 10 Click stepper motor controller to use with a 2 amp Nema 23 stepper motor. The problem im facing is how I would go about interfacing the controller with a arduino or esp32. There is very little information on the MikroE page about how to use the controller. It also seems that the provided library is written in C, and that you are supposed to use their compiler, but the controller uses I2C so I cant see why you wouldnt be able to use arduino IDE and a UNO/esp32.
Any help regarding solving the problem would be much appreciated!
@StefanL38
The main problem is that there is almost no explanation in documentation. As far as I can understand the TB67S128FTG driver chip doesnt have integrated I2C, so MikroE uses another chip for communication. Im not able to find anything on this I2C chip or what bytes to send to the controller.
I did however find a github repository from MikroE which I assume contains the correct library, and example code. Unfortunatly im not able to understand how I would apply this into my own code.
Here is the link to the repo: https://github.com/MikroElektronika/STEPPER_click
Im also going to run two stepper motors on the same arduino, so using two I2C-adresses is another road i've never been down. I have found out that I can easily change the I2C-adress of one of the drivers just by resoldering a jumper, so that shouldnt be that bad.