IR encoder pyboard V1,1
Posted: Tue May 28, 2019 1:15 am
I have been googling most of the day attempting to understand the IR encoder and disk with pyboard
https://images.app.goo.gl/aTNkSUFWzMHfjQeR8
The red wire + on the encoder is connected to a 5v power source and black wire - to ground. The disk is freely spinning between the encoder sensors.
output1 on the encoder is connected pin X6 on the pyboard and output2 on the encoder is connected to X7.
I have looked at one encoder library by SpotlightKid and it is beyond my current skill level to implement. I also see the encoder Class by peterhinch, I don't understand how to use it.
Can someone help me with write code that reads this sensor when I turn the encoder wheel? Thank you!
https://images.app.goo.gl/aTNkSUFWzMHfjQeR8
The red wire + on the encoder is connected to a 5v power source and black wire - to ground. The disk is freely spinning between the encoder sensors.
output1 on the encoder is connected pin X6 on the pyboard and output2 on the encoder is connected to X7.
I have looked at one encoder library by SpotlightKid and it is beyond my current skill level to implement. I also see the encoder Class by peterhinch, I don't understand how to use it.
Can someone help me with write code that reads this sensor when I turn the encoder wheel? Thank you!