I'm trying to activate a stepper motor using easydriver from here https://www.schmalzhaus.com/EasyDriver/Examples/EasyDriverExamples.html using sysfs and C, but it doesn't move.

enter image description here

I connected my circuit like that but with a raspberry pi, code is here https://pastebin.com/xWPZ31Ju someone can please have a look and tell me if there's something obviously wrong or if my code seems correct?

I wired gpio23 to dir and gpio24 to step and connected an external power source to my motor.

  • 2
    Have you tried that with an LED or something so you can rule out wiring etc. with the motor?
    – goldilocks
    Commented Dec 23, 2019 at 14:35
  • 2
    Photo of your setup plus a listing of the software you are using.
    – joan
    Commented Dec 23, 2019 at 15:28


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.