Stepper motor control

Hi, @martinscribens
Welcome to the forum.

What PIR?

Can you please post your code in code tags as described in the instruction above?

Can we please have a circuit diagram?
An image of a hand drawn schematic will be fine, include ALL power supplies, component names and pin labels.

Can you please list ALL your hardware.

I know its a lot, but we need this information to give you good information.

Thanks.. Tom... :smiley: :+1: :coffee: :australia: