Magnetic Encoder Pair Kit for Micro Metal Gearmotors, 12 CPR, 2.7-18V (old version)

Hi, I am using this magnetic encoder with the Metal Gear motor connecting it to the Baby Orangutan B328 microcontroller. I am using atmel studio7 and the serial monitor in arduino to read the encoder, but it does’t seem to be working. It only gives 1 0 1 0 1 0 1 0, while the motor is running in only 1 direction. Any reason why ?

Thanks,

Hello.

What do you expect the output to the serial monitor to be, and in what way is it not working? Could you post more details about your setup along with pictures that show all of your connections? Also, can you post the program your Baby Orangutan is running?

Brandon