I'm wondering if the code you have for the stepper controlled by a potentiometer will work if I am using an "l298n" controller instead of the one that you have listed in your tutorial. I have a bunch of the l298n boards laying around and need to get a project working today.

Thanks in advance.

Quote 0 0
I do not have an Arduino UNO but an Arduino DUE.  I suppose pins 8 to 11 are compatible with the same pins in Arduino UNO.  The same for pin 2, 3 and 4.  So I did not change anything in your sketch.  I connected everything as in video, but the the leds in motor drive are off and motor does not react to encoder.  I checked the motor, drive and encoder.  They are OK.
Do you have any idea, what is going wrong?
Best regards
Quote 0 0

Add a Website Forum to your website.