Hi, at first please have a look for the correct wiring here.
At least I was using a KY-040 Encoder insteat of a STEC11B03.