Hello all,
I am attempting to set up a motor system to set the angle of frequency-doubling crystals in a laser setup. The output of the crystal depends on the angle it is situated at relative to the laser beam, ideally down to a 0.1° range. My lab has in the past used MICROMO (Faulhaber) AM1524 motors to accomplish this with serial communicators. I am trying to replicate this using an Arduino board.
I have been struggling to figure out the best way to communicate a specific number of steps to the motor and have it be a consistent value.
I currently have my Arduino connected to an L298N driver board through pins 8-11. The driver is connected to the motor through 4 pins, the 4 output pins of the driver. I have tried a variety of sample code I found on the internet, but have not gotten consistent results that could tell me the steps I need per angle or fraction of angle.
Does anyone have any feedback on this? This is my first post, please let me know if any other information is required.
(I am also having a secondary issue where the motor is not responding to any code at all, I suspect that I have it wired incorrectly at the moment)